dojiong commented on issue #7845:
URL: 
https://github.com/apache/arrow-datafusion/issues/7845#issuecomment-1767459328

   > DataFusion supports reading JSON in and some basic things like field 
access (like json['field_name']
   
   Indexed field access is only valid for `List` or `Struct` types.
   
   DataFusion/Arrow does not have JSON/JSONB datatype, nor the related json 
functions.
   
   ----------
   
   We could solve it in two ways:
   1. add Json/Jsonb type to Arrow, then support it in DataFusion natively
   2. only add json functions to DataFusion, treat utf8/binary as json/jsonb
   
   The first one is more naturely, the type is more precise, and could seamless 
integrate with Parquet's JSON/BSON type.
   
   The second one could be more faster to land, but there would be some type 
issues.
   


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

Reply via email to