db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mamta A. Satoor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2725) If all the operands involved in collation operation have a collation derivation of NONE, then Derby should throw an exception for that as per the SQL standards.
Date Fri, 06 Jul 2007 11:10:04 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510652
] 

Mamta A. Satoor commented on DERBY-2725:
----------------------------------------

Fixed this bug with checkin 553834 into main with following commit comments ( will merge this
soon into Derby 10.3.1.1 codeline)

DERBY-2725

If both the character string operands involved in DataTypeDescriptor.comparable() have collation
derivation of NONE, then
such 2 DTDs can't be compared. I am adding code to implement that behavior and added a test
case for this.


> If all the operands involved in collation operation have a collation derivation of NONE,
then Derby should throw an exception for that as per the SQL standards.
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2725
>                 URL: https://issues.apache.org/jira/browse/DERBY-2725
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.3.0.0, 10.3.1.1, 10.4.0.0
>            Reporter: Mamta A. Satoor
>            Assignee: Mamta A. Satoor
>
> The collation methods in Derby should follow the rules defined by SQL spec in Section
9.13 Collation determination Syntax Rules 2 and 3e. 
> According to those rules, 
> 1)****at least one operand**** shall have a declared type collation (that means if the
comparison is sysChar1|userChar1 > sysChar2|userChar2, then such a comparison will fail
because both sides of > operator have collation derivation of NONE. 
> Derby doesn't yet enforce this rule of having atleast one operand with non-NONE collation
derivation when working with collation operation. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message