[
https://issues.jboss.org/browse/TEIID-1876?page=com.atlassian.jira.plugin...
]
Paul Nittel updated TEIID-1876:
-------------------------------
Description:
This was found during query testing. The query in question is
RDBMS_Test_Queries_5700_TestQuery153.
With Netezza as the source, this query:
SELECT IntKey, BITNOT(IntKey) as BitPart FROM BQT1.SmallA ORDER BY IntKey
Produces:
Caught SQLException:
Error Code:1100 Message:Remote org.teiid.core.TeiidProcessingException: Error Code:1100
Message:Source: Error Code:1100 Message:'ERROR: Function 'INTNNOT(INT4)' does
not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts
' error executing statement(s): [Prepared Values: [] SQL: SELECT
g_0."INTKEY" AS c_0, intNnot(g_0."INTKEY") AS c_1 FROM
"SMALLA" AS g_0 ORDER BY c_0]
Dev responded with:
[It appears] this should be calling INT4NOT. The Netezza users guide is a little
unclear.
More queries failing in a similar fashion:
SELECT IntKey, BITXOR(IntKey, 1010) as BitPart FROM BQT1.SmallA ORDER BY IntKey
Caught SQLException:
Error Code:1100 Message:Remote org.teiid.core.TeiidProcessingException: Error Code:1100
Message:Source: Error Code:1100 Message:'ERROR: Function 'INTNXOR(INT4,
INT4)' does not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts
' error executing statement(s): [Prepared Values: [] SQL: SELECT
g_0."INTKEY" AS c_0, intNxor(g_0."INTKEY", 1010) AS c_1 FROM
"SMALLA" AS g_0 ORDER BY c_0]
SELECT IntKey, BITOR(IntKey, 1010) as BitPart FROM BQT1.SmallA ORDER BY IntKey
Caught SQLException:
Error Code:1100 Message:Remote org.teiid.core.TeiidProcessingException: Error Code:1100
Message:Source: Error Code:1100 Message:'ERROR: Function 'INTNOR(INT4, INT4)'
does not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts
' error executing statement(s): [Prepared Values: [] SQL: SELECT
g_0."INTKEY" AS c_0, intNor(g_0."INTKEY", 1010) AS c_1 FROM
"SMALLA" AS g_0 ORDER BY c_0]
SELECT IntKey, BITAND(IntKey, 1010) as BitPart FROM BQT1.SmallA ORDER BY IntKey
Caught SQLException:
Error Code:1100 Message:Remote org.teiid.core.TeiidProcessingException: Error Code:1100
Message:Source: Error Code:1100 Message:'ERROR: Function 'INTNAND(INT4,
INT4)' does not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts
' error executing statement(s): [Prepared Values: [] SQL: SELECT
g_0."INTKEY" AS c_0, intNand(g_0."INTKEY", 1010) AS c_1 FROM
"SMALLA" AS g_0 ORDER BY c_0]
was:
This was found during query testing. The query in question is
RDBMS_Test_Queries_5700_TestQuery153.
With Netezza as the source, this query:
SELECT IntKey, BITNOT(IntKey) as BitPart FROM BQT1.SmallA ORDER BY IntKey
Produces:
Caught SQLException:
Error Code:1100 Message:Remote org.teiid.core.TeiidProcessingException: Error Code:1100
Message:Source: Error Code:1100 Message:'ERROR: Function 'INTNNOT(INT4)' does
not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts
' error executing statement(s): [Prepared Values: [] SQL: SELECT
g_0."INTKEY" AS c_0, intNnot(g_0."INTKEY") AS c_1 FROM
"SMALLA" AS g_0 ORDER BY c_0]
Dev responded with:
[It appears] this should be calling INT4NOT. The Netezza users guide is a little
unclear.
Netezza translator using INTNNOT when it should use INT4NOT
-----------------------------------------------------------
Key: TEIID-1876
URL:
https://issues.jboss.org/browse/TEIID-1876
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.6
Reporter: Paul Nittel
Assignee: Steven Hawkins
This was found during query testing. The query in question is
RDBMS_Test_Queries_5700_TestQuery153.
With Netezza as the source, this query:
SELECT IntKey, BITNOT(IntKey) as BitPart FROM BQT1.SmallA ORDER BY IntKey
Produces:
Caught SQLException:
Error Code:1100 Message:Remote org.teiid.core.TeiidProcessingException: Error Code:1100
Message:Source: Error Code:1100 Message:'ERROR: Function 'INTNNOT(INT4)' does
not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts
' error executing statement(s): [Prepared Values: [] SQL: SELECT
g_0."INTKEY" AS c_0, intNnot(g_0."INTKEY") AS c_1 FROM
"SMALLA" AS g_0 ORDER BY c_0]
Dev responded with:
[It appears] this should be calling INT4NOT. The Netezza users guide is a little
unclear.
More queries failing in a similar fashion:
SELECT IntKey, BITXOR(IntKey, 1010) as BitPart FROM BQT1.SmallA ORDER BY IntKey
Caught SQLException:
Error Code:1100 Message:Remote org.teiid.core.TeiidProcessingException: Error Code:1100
Message:Source: Error Code:1100 Message:'ERROR: Function 'INTNXOR(INT4,
INT4)' does not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts
' error executing statement(s): [Prepared Values: [] SQL: SELECT
g_0."INTKEY" AS c_0, intNxor(g_0."INTKEY", 1010) AS c_1 FROM
"SMALLA" AS g_0 ORDER BY c_0]
SELECT IntKey, BITOR(IntKey, 1010) as BitPart FROM BQT1.SmallA ORDER BY IntKey
Caught SQLException:
Error Code:1100 Message:Remote org.teiid.core.TeiidProcessingException: Error Code:1100
Message:Source: Error Code:1100 Message:'ERROR: Function 'INTNOR(INT4, INT4)'
does not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts
' error executing statement(s): [Prepared Values: [] SQL: SELECT
g_0."INTKEY" AS c_0, intNor(g_0."INTKEY", 1010) AS c_1 FROM
"SMALLA" AS g_0 ORDER BY c_0]
SELECT IntKey, BITAND(IntKey, 1010) as BitPart FROM BQT1.SmallA ORDER BY IntKey
Caught SQLException:
Error Code:1100 Message:Remote org.teiid.core.TeiidProcessingException: Error Code:1100
Message:Source: Error Code:1100 Message:'ERROR: Function 'INTNAND(INT4,
INT4)' does not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts
' error executing statement(s): [Prepared Values: [] SQL: SELECT
g_0."INTKEY" AS c_0, intNand(g_0."INTKEY", 1010) AS c_1 FROM
"SMALLA" AS g_0 ORDER BY c_0]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira