cgivre commented on PR #2731: URL: https://github.com/apache/drill/pull/2731#issuecomment-1367677557
@unical1988 You actually don't have to modify the code to get this data to read properly. As I mentioned on the user group, the easiest way would probably be to provide a schema. The good news is that you can do this at query time. Take a look here: https://drill.apache.org/docs/plugin-configuration-basics/#specifying-the-schema-as-table-function-parameter An example query might be: ```sql select * from table(dfs.tmp.`file.json`( schema => 'inline=(col0 varchar, col1 date properties {`drill.format` = `yyyy-MM-dd`}) properties {`drill.strict` = `false`}')) ``` -- 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