python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
GroupBy based on condition Pyspark
I have a peculiar problem to which I don't see an easy solution (and efficient one). I have a list of addresses (more than 10M) with different user_time_active. I also have count per user_time_active ...
Martin Walczyński
Votes: 0
Answers: 1
Elasticsearch aggregation over several fields and push to an index
I'm having the following document in ElasticSearch, of the index data-ip
"ipAddress": "ip-A", "timestamp": "Day 1, Month A", "value": 1
"ipAddres...
hoangtuansu
Votes: 0
Answers: 1
Merging column with array from multiple rows
I'm trying to merge the data from a dataset as follow:
id
sms
longDescription
OtherFields
123
contentSms
ContentDesc
xxx
123
contentSms2
ContentDesc2
xxx
123
contentSms3
ContentDesc3
xxx
...
DueSouth
Votes: 0
Answers: 1
While doing aggregation in MongoDB in lookup pipeline the id field is not available to perform match
As mentioned I want to match tenant id while looking in the logs collection and I am aggregating over Tenants collection.
But this gives logs as an empty array.
But when I did hardcoded the tenant_id...
shubham
Votes: 0
Answers: 1