Details
Description
The following code
CREATE TABLE U (SNAME VARCHAR(32000), TNAME VARCHAR(32000), C1 BIGINT);
– This triggers an ASSERT (because 2 is INTEGER and not BIGINT)
INSERT INTO U(SNAME, TNAME, C1) SELECT DISTINCT SCHEMANAME, TABLENAME, 2
FROM SYS.SYSTABLES T JOIN SYS.SYSSCHEMAS S ON T.SCHEMAID = S.SCHEMAID;
gives
ERROR XJ001: Java exception: 'ASSERT FAILED col1.getClass() (class org.apache.derby.iapi.types.SQLInteger) expected to be the same as col2.getClass() (class org.apache.derby.iapi.types.SQLLongint): org.apache.derby.shared.common.sanity.AssertFailure'.
Attachments
Attachments
Issue Links
- is related to
-
DERBY-3221 "java.sql.SQLException: The conglomerate (-5) requested does not exist." from Derby 10.3.1.4 embedded within Eclipse 3.3 and RAD 7.0
- Closed
- relates to
-
DERBY-3395 'An ON clause associated with a JOIN operator is not valid.' failure with 10.3.2.1 passes with 10.2
- Closed
-
DERBY-2775 DataTypeDescriptor should be immutable so that multiple ValueNode referring to the same DTD do not have unexpected state changes.
- Open
-
DERBY-3494 Move the setup of NormalizeResultSetNode into the NormalizeResultSetNode
- Closed