sanel commented on issue #14339:
URL: https://github.com/apache/druid/issues/14339#issuecomment-1706163935
Thanks @abhishekagarwal87 for your fast response. Here is how to replicate
the issue (I started druid with `start-micro-quickstart` script):
1. Load data down below, using `Load Data > Batch - SQL > Paste data`.
Leave `trouble` field as `COMPLEX<json>` type, which was correctly recognized
by Druid.
2. After data was loaded, try running `select * from inline_data`, it will
show:
```
Error: INVALID_INPUT
Cannot coerce field [trouble] from type [java.util.LinkedHashMap] to type
[VARCHAR]
```
Sample data:
```
{"field": "data1", "field2": "data2", "trouble": {}}
{"field": "data1", "field2": "data2", "trouble": {}}
```
--
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]