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] Updated: (DERBY-2599) Set correct collation type and derivation on DataTypeDescriptor(DTD).
Date Tue, 22 May 2007 18:07:16 GMT

     [ https://issues.apache.org/jira/browse/DERBY-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mamta A. Satoor updated DERBY-2599:
-----------------------------------

    Attachment: DERBY2599_getNull_should_set_collation_info_v1_stat.txt
                DERBY2599_getNull_should_set_collation_info_v1_diff.txt

Committing attached patch DERBY2599_getNull_should_set_collation_info_v1_diff.txt using revision
540667. 

This address the correct collation setting for ConstantNode created through QueryTreeNode's
 getNullNode method. This method currently creates a ConstantNode using the passed typeId.
We need to set the correct collation type and derivation on this ConstantNode. This is accomplished
by having the caller of this method pass the correct collation type and derivation. The junit
tests have run fine with no problems. derbyall is almost finished with no new failures.

In addition to the above change, this patch also fixes some comments in DataTypeDescriptor.java
and TypeDescriptorImpl.java

> Set correct collation type and derivation on DataTypeDescriptor(DTD).
> ---------------------------------------------------------------------
>
>                 Key: DERBY-2599
>                 URL: https://issues.apache.org/jira/browse/DERBY-2599
>             Project: Derby
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 10.3.0.0
>            Reporter: Mamta A. Satoor
>         Assigned To: Mamta A. Satoor
>         Attachments: DERBY2599_collationType_default_UCS_BASIC_v1_diff.txt, DERBY2599_collationType_default_UCS_BASIC_v1_stat.txt,
DERBY2599_correct_collation_for_cast_v1_diff.txt, DERBY2599_correct_collation_for_cast_v1_stat.txt,
DERBY2599_getNull_should_set_collation_info_v1_diff.txt, DERBY2599_getNull_should_set_collation_info_v1_stat.txt,
DERBY2599_IntermediatePatch_v1_diff.txt, DERBY2599_IntermediatePatch_v1_stat.txt, DERBY2599_Set_collation_for_aggregates_v1_diff.txt,
DERBY2599_Set_collation_for_aggregates_v1_stat.txt, DERBY2599_Set_collation_for_aggregates_v1_stat.txt,
DERBY2599_Set_collation_for_Max_Min_v1_diff.txt
>
>
> DTD has TypeDescriptorImpl in it which has 2 new fields, namely, collationType and collationDerivation.
These 2 fields are available for all different types of DTDs but only apply to character types.
The other datatypes should ignore these 2 fields.
> This Jira is a placeholder for loading the correct values into collationType and collationDerivation.

-- 
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