sanel commented on issue #14339:
URL: https://github.com/apache/druid/issues/14339#issuecomment-1706473833

   Thanks @clintropolis! Maybe I'm missing something, but how to set `auto` in 
this ingestion query:
   
   ```sql
   REPLACE INTO "inline_data" OVERWRITE ALL
   WITH "ext" AS (SELECT *
   FROM TABLE(
     EXTERN(
       '{"type":"inline","data":"{\"field\": \"data1\", \"field2\": \"data2\", 
\"trouble\": {}}\n{\"field\": \"data1\", \"field2\": \"data2\", \"trouble\": 
{}}"}',
       '{"type":"json"}'
     )
   ) EXTEND ("field" VARCHAR, "field2" VARCHAR, "trouble" 
TYPE('COMPLEX<json>')))
   SELECT
     "field",
     "field2",
     "trouble"
   FROM "ext"
   PARTITIONED BY ALL
   ```
   Setting "trouble" TYPE('auto'), AUTO or `TYPE('COMPLEX<auto>')` does not 
work.


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