-
Bug
-
Resolution: Done
-
Major
-
8.7.1.6_2
-
None
-
-
- Explicitly cast the boolean values to TINYINT
SAP HANA doesn't support MIN and MAX functions for BOOLEAN type.
Compared to postgresql, which also has BOOLEAN data type, it seems inconsistent, as postgresql translator mimics MIN and MAX functions by translating them using PostgreSQL specific constructs:
min(BooleanValue) as bool_and(BooleanValue)
max(BooleanValue) as bool_or(BooleanValue)
Similar issue is with CEILING and FLOOR functions.
- relates to
-
TEIID-3974 MIN and MAX on boolean not supported in Vertica
- Closed