-
Notifications
You must be signed in to change notification settings - Fork 4.1k
sql: comparison of float and int #3266
Copy link
Copy link
Closed
Description
The following sqllogictest fails with the error:
unsupported comparison operator: <float> < <int>
Which makes sense because c is an INTEGER, and the call to avg returns a float. This test is currently disabled for other reasons, but when enabled will fail here. We could decide to either
- Disable this test. This would involve coming up with a way to selectively disable portions of sqllogic tests, instead of just disabling entire files. It would also mean we are choosing to be more strict than other SQL implementations.
- Implement float and int comparisons.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels