egor-ryashin opened a new issue, #16315:
URL: https://github.com/apache/druid/issues/16315
MSQ exporting fails to output headers with column types (array/json)
### Affected Version
29.0.0
### Description
This query produces a file with incorrect headers and complex object aren't
properly converted to strings:
```
INSERT INTO
EXTERN(
local(exportPath => '/tmp/test_export11')
)
AS csv
SELECT
1 m1, 'a' d1, array[1,2] array1, json_object('a':1) json1
```
CSV contents:
```
v0,v1,v2,v3
1,a,[Ljava.lang.Number;@9553825,StructuredData{value={a=1}}
```
Expected something like:
```
m1,d1,array1,json1
1,a,"[1,2]","{""a"":1}"
```
--
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]