dojiong commented on issue #7845: URL: https://github.com/apache/arrow-datafusion/issues/7845#issuecomment-1770236289
> have JSON and BSON be [extension types](https://arrow.apache.org/docs/format/Columnar.html#extension-types), so DataFusion could recognize them via field metadata. I didn't find ways to use extension type in datafusion, do you means add extension types support to DataFusion? But DataFusion use DataType in arrow, maybe it's more hard to add JSON type to Arrow. ---- > I wonder if json_extract_path could return a [sparse union type](https://arrow.apache.org/docs/format/Columnar.html#sparse-union) of [Utf8, Int64, Float64, Boolean, List, JSON]. That a way to archive, then `json_extract_path` should accepts union type as input (`json_extract_path` may accept the result of another `json_extract_path` in subquery) -- 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]
