-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I'm trying to run a query like
select count(*) from records where json_data_colum ? 'foo' and trueWith datafusion and getting an error:
type_coercion caused by Error during planning: Cannot infer common argument type for logical boolean operation Dictionary(UInt32, Boolean) AND Boolean
(note in our case json_data_colum is a dictionary column containing JSON strings, so json_data_colum ? 'foo' returns a Dictionary(UInt32, Boolean))
This is related to #12382 where @adriangb fixed the case of filtering on a dictionary column.
I'll fix this specific case in https://github.com/datafusion-contrib/datafusion-functions-json, but I guess this should work.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request