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

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

The discussion in 
http://www.nabble.com/more-on-system-schema-vs.-user-schema-and-character-constants.-p10885286.html
 is exposing a bug in my approach of what schema should be picked up for 
collation when a character string type in Derby is supposed to pick up it's 
collation from the schema it is getting compiled in. I was picking up the 
collation of connection's current schema but it should really be the collation 
of the compilation schema. I will start looking into it.

> 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
>            Assignee: 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, 
> DERBY2599_set_correct_collation_for_params_and_string_functions_v1_diff.txt, 
> DERBY2599_set_correct_collation_for_params_and_string_functions_v1_stat.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.

Reply via email to