Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.38.0
Description
The validator rejects this comparison (taken from SqlValidatorTest):
expr("^x'a4'=1^") .fails("(?s).*Cannot apply '=' to arguments of type '<BINARY.1.> = <INTEGER>'.*");
But happily accepts this comparison:
expr("array[x'e4'] <> array[1]")
.ok();
The validator should reject comparisons between arrays whose element types are not comparable.
Attachments
Issue Links
- links to