[teiid-issues] [JBoss JIRA] (TEIID-3817) HANA FLOOR and CELING functions not applicable to boolean

Jan Stastny (JIRA) issues at jboss.org
Tue Nov 10 01:53:00 EST 2015


Jan Stastny created TEIID-3817:
----------------------------------

             Summary: HANA FLOOR and CELING functions not applicable to boolean
                 Key: TEIID-3817
                 URL: https://issues.jboss.org/browse/TEIID-3817
             Project: Teiid
          Issue Type: Bug
          Components: Misc. Connectors
    Affects Versions: 8.7.1.6_2
            Reporter: Jan Stastny
            Assignee: Steven Hawkins


SAP HANA doesn't support FLOOR and CEILING functions for BOOLEAN type.
Compared to postgresql, which also has BOOLEAN data type, it seems inconsistent.
When querying postgres directly:
{code:sql}
SELECT CEILING(BooleanValue) FROM BQT1.SmallA
{code}
is not valid query.
But through Teiid, it returns double values corresponding to the boolean value provided:
0.0 for CEILING(false)
1.0 for CELING(true)



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the teiid-issues mailing list