Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Range expressions like <ts> = 'literal' AND <ts> < 'literal' trigger ClassCastException as literal are implicitly casted differently between =/<> operators and other comparison operators. Apply the same casting rules for comparison to =/<> calls when processing ranges, so that all the terms have the same type for literals.
Attachments
Issue Links
- Is contained by
-
CALCITE-2302 Implicit type cast support
- Closed
- links to
Hi siddteotia, it seems you are describing a bug. Can you change the summary /description to better explain how and when it appears. If you have an SQL statement that fails it would be nice to include it also.