-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
regexp_match
does not appear to return matches
#5479
Labels
bug
Something isn't working
Comments
1 task
Upstream arrow-rs issue has been raised |
Upstream issue fixed by apache/arrow-rs#3807 This issue now depends on next arrow-rs version update |
Issue resolved as of latest main by arrow-rs update: #5685 DataFusion CLI v21.0.0
❯ create table foo as values ('foo'), ('bar'), ('foobar');
0 rows in set. Query took 0.009 seconds.
❯ select regexp_match(column1, 'foo') from foo;
+--------------------------------------+
| regexpmatch(foo.column1,Utf8("foo")) |
+--------------------------------------+
| [foo] |
| |
| [foo] |
+--------------------------------------+
3 rows in set. Query took 0.004 seconds.
❯ |
Thanks @Jefffrey -- closing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
regexp_match
appears to return an empty list rather than the part of the string matched.To Reproduce
Using datafusion-cli
Expected behavior
I expect the result to be two lists of
foo
, like postgres:Additional context
Found by @sanderson on influxdata/docs-v2#4774
The text was updated successfully, but these errors were encountered: