jayzhan211 commented on issue #15872:
URL: https://github.com/apache/datafusion/issues/15872#issuecomment-2833729992
It seems like the syntax you mentioned is not supported yet
```
statement count 0
create table t(a varchar) as values ('a'), ('b');
query error DataFusion error: Error during planning: Cannot create filter
with non\-boolean predicate 'regexp_match\(t\.a, Utf8\("a"\)\)' returning
List\(Field \{ name: "item", data_type: Utf8, nullable: true, dict_id: 0,
dict_is_ordered: false, metadata: \{\} \}\)
select * from t where regexp_match(a, 'a');
query ?
select regexp_match(a, 'a') from t;
----
[a]
NULL
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]