aaronm-bi opened a new issue, #17440:
URL: https://github.com/apache/druid/issues/17440

   Please provide a detailed title (e.g. "Broker crashes when using TopN query 
with Bound filter" instead of just "Broker crashes").
   
   ### Affected Version
   Druid 30.0.0
   
   
   ### Description
   
   There is a task wherein we need to upgrade Druid from 29.0.0 to 30.0.0 and 
some SQL queries started to break. 
   Before the upgrade, the following SQL query worked. However, in Druid 
30.0.0, this throws an NullPointerException.
   
   To verify this, we tested using the sample data from Druid docs and used the 
function and error still persisted.
   
   **v29.0.0** - the query/function still works
   
![image](https://github.com/user-attachments/assets/8c55a9b6-570b-4e98-bd8c-7fcdde6b8aa2)
   
   
   **v30.0.0** - query fails (throws NullPointerException)
   
![image](https://github.com/user-attachments/assets/5987ec70-0418-475b-bf1f-bd36e48b10af)
   
   
   Source data used: 
   `curl -O 
https://static.imply.io/example-data/kttm-nested-v2/kttm-nested-v2-2019-08-25.json.gz`
   
   Query used:
   ```
   SELECT
     MV_CONTAINS(JSON_QUERY_ARRAY(agent, '$.type'), 'Browser'),
     agent,
     session
   FROM "kttm" 
   ```
   


-- 
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