Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-1478 Add built in language based ordering and like processing to Derby
  3. DERBY-2876

Ensure the DataTypeDescriptor.comparable() implements the correct rules for determing the collation to use.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 10.3.1.4, 10.4.1.3
    • None
    • SQL
    • None

    Description

      The current implementation of comparable requires that collation type and derivation must match for the types to be comparable.
      This is not correct according to SQL Standard 9.13, e.g. with non-matching types and one derivation of implicit and one of none, then the types are comparable.

      Possibly this method is not the correct location for this functionality, as no indication can be given of the correct collation to use, just if they are comparable or not.

      Would be fixed by a correct implementation of the 9.13 rules under DERBY-2875, but that's marked as an improvement.
      This issue is to record the fact that the comparision logic is currently incorrect and so DERBY-1478 is not yet complete.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              djd Daniel John Debrunner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: