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

Unexpected type mismatch when raising null to an exponent #626

Open
DominicWuest opened this issue Apr 11, 2024 · 0 comments
Open

Unexpected type mismatch when raising null to an exponent #626

DominicWuest opened this issue Apr 11, 2024 · 0 comments

Comments

@DominicWuest
Copy link

When running the following query:

RETURN null^1 IS NULL

I encountered the following error:

Type mismatch: expected Integer, Float, or Null but was Boolean

I believe the query mentioned above is semantically and syntactically correct and thus no error should be thrown here.

I encountered this issue when testing queries on the FalkorDB master branch in a Docker container running redis:7.2.3-bookworm.

Steps to reproduce

Run the following query and observe it throws an error:

RETURN null^1 IS NULL

Expected behavior

The query should run successfully

Actual behavior

The query fails with the error message Type mismatch: expected Integer, Float, or Null but was Boolean.

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

No branches or pull requests

1 participant