christian-schlichtherle opened a new issue, #16356:
URL: https://github.com/apache/druid/issues/16356
### Affected Version
Druid 29.0.1
### Description
Running the following query
```
select JSON_OBJECT('name': COLUMN_NAME, 'type': DATA_TYPE)
from INFORMATION_SCHEMA.COLUMNS
```
produces
```
Error: RUNTIME_FAILURE (OPERATOR)
cannot translate call json_object($t17, $t18, $t3, $t19, $t7)
java.lang.RuntimeException
```
Note that the error message quotes the json_object call to receive five
parameters, but maybe that's an unrelated internal detail.
For comparison, the following works (but is useless):
```
select JSON_OBJECT('name': 'foo', 'type': 'VARCHAR')
```
--
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]