Skip to content
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

[FEATURE] Return value of regexp function should be boolean instead of integer in V3 #3453

Open
LantaoJin opened this issue Mar 20, 2025 · 0 comments
Labels

Comments

@LantaoJin
Copy link
Member

LantaoJin commented Mar 20, 2025

Is your feature request related to a problem?
Spark (and Postgre):

spark-sql (default)> select name regexp '.*' from employees;
true
true
true
true
true
true
true

MySQL and OpenSearch SQL v2:

+------------------+
| name regexp '.*' |
+------------------+
|                1 |
|                1 |
|                1 |
|                1 |
|                1 |
|                1 |
|                1 |
+------------------+

What solution would you like?
In V3 (With Calcite), the behaviour will align with SparkSQL.

What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.

Do you have any additional context?
Add any other context or screenshots about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant