Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When an AggregateCall is created either by SqlToRelConverter or RelBuilder, make sure that it has type BOOLEAN and that it is NOT NULL.
- If it is not BOOLEAN, RelBuilder should throw.
- If it is nullable, wrap the expression in IS TRUE.