Summary
Now, infer_schema only support parquer file format: https://docs.databend.com/sql/sql-functions/table-functions/infer-schema
It's better to support more file types like: csv, json.
For reference, arrow-rs already has infer_schema funtions for them.