mbeckerle commented on issue #2834: URL: https://github.com/apache/drill/issues/2834#issuecomment-1752019294
I found this works, but I don't know why the "['properties']" notation is needed vs. just "." ``` select t.feature['properties']['MAPBLKLOT'] as MAPBLKLOT from (SELECT flatten(features) as feature FROM dfs.`/tmp/citydata.json`) t; select t.feature['properties']['MAPBLKLOT'] as MAPBLKLOT from (SELECT flatten(features) as feature FROM dfs.`/tmp/citydata.json`) t; +-----------+ | MAPBLKLOT | +-----------+ | 0001001 | | 0002001 | | 0004002 | +-----------+ 3 rows selected (0.128 seconds) apache drill> ``` -- 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: dev-unsubscr...@drill.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org