[
https://issues.apache.org/jira/browse/DERBY-3310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578498#action_12578498
]
Daniel John Debrunner commented on DERBY-3310:
----------------------------------------------
The commit log is not the correct place.
I don't know where the correct place is, but it seems to be explaining how
various nodes work together etc.,
so appropriate comments in the javadoc for nodes and/or their methods seems the
best. I'm sure it's not just
a matter of taking the text and placing it in one location. It just seems a
shame for the information Army worked hard
to produce not to be in the most useful place.
If anyone gains understanding of any piece of code during development or
bug-fixing then it's best for the community
if that knowledge is kept, typically by adding comments to the code.
Another option is the language how-it-works section on the wiki, there it
probably could be as a single document.
> ASSERT in MergeSort.checkColumnTypes() disallow legal type conversions
> ----------------------------------------------------------------------
>
> Key: DERBY-3310
> URL: https://issues.apache.org/jira/browse/DERBY-3310
> Project: Derby
> Issue Type: Bug
> Components: SQL
> Affects Versions: 10.4.0.0
> Reporter: Dyre Tjeldvoll
> Priority: Minor
> Attachments: cast-repro.sql, d3310_writeup_1.html,
> derby-3310_diff.txt, derby-3310_diff.txt,
> derby-3310_remove_genNormalizeResultSetNode_diff.txt,
> derby-3310_try1_diff.txt, derby3310_rsn_cleanup_1.txt
>
>
> 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'.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.