renatocron commented on issue #12986:
URL: https://github.com/apache/druid/issues/12986#issuecomment-1292770795

   Update with druid 24.0.0
   I've created another query, having similar issue:
   
![image](https://user-images.githubusercontent.com/1919076/198156963-9f559fa9-6171-4613-888e-bdb36b3836db.png)
   
   I tried running the query using the MSQE just to check if the results would 
match, but I got a exception during the execution
   
   java.lang.RuntimeException: java.lang.ClassCastException: java.lang.Long 
cannot be cast to org.apache.druid.collections.SerializablePair
   
   I can send the query over #slack if anyone want
   
   ```
   select SUBSTR(replace(dim4, ' ', ''), 13, 2) as channel , dim1, LATEST(dim4, 
20) as last_dim4, 
   TIMESTAMP_TO_MILLIS(  max(__time)) as last_time,
   latest(same_values_as_time_but_in_a_col, 100) as lastest_time
   
   from GL_ALL_MSG_SERVER_TIME
   where __time > CURRENT_TIMESTAMP - interval '24' hour  
   and dim1 in (about 30 ids)
   and dim1 not in ('587928651', '686772016', '580255048')
   AND NOT (dim2 like 'yes%')
   AND NOT (dim3 != 32 and dim4 like '% 01')
   group by 1,2 
   ``` 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to