alamb commented on issue #11746: URL: https://github.com/apache/datafusion/issues/11746#issuecomment-2656489040
I think this is woring wekk now ``` > create table t as values ( [ {'name': 'n1', 'info': {'color': 'r', 'size': 1}}, {'name': 'n2', 'info': {'color': 'b', 'size': 2}} ] ); 0 row(s) fetched. Elapsed 0.002 seconds. > select * from t; +--------------------------------------------------------------------------------+ | column1 | +--------------------------------------------------------------------------------+ | [{name: n1, info: {color: r, size: 1}}, {name: n2, info: {color: b, size: 2}}] | +--------------------------------------------------------------------------------+ 1 row(s) fetched. Elapsed 0.001 seconds. ``` ```sql > create table t (s struct<name varchar, info struct<color varchar, size int>>[]); 0 row(s) fetched. Elapsed 0.001 seconds. > select * from t; +---+ | s | +---+ +---+ 0 row(s) fetched. Elapsed 0.001 seconds. ``` -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org