Menu

#1 wrong multi column sorting

open
None
5
2011-06-15
2011-06-09
gennff
No

an index being set up to provide multi column sort functionality failed to provide a consistent sort result with the second sort criteria. see the attached file 01.sql.

Discussion

  • gennff

    gennff - 2011-06-09

    repro example

     
  • gennff

    gennff - 2011-06-10
    • milestone: --> ldi 3.1.0 @ 11.2.0.1 / Win7 x64
     
  • gennff

    gennff - 2011-06-15
    • assigned_to: nobody --> mochoa
     
  • gennff

    gennff - 2011-06-17

    hi,

    removing all the unecessary whitespace characters from the parameter list of the index create statement (see bug 3317784) as well as from the lcontains sort directive changed the select result to:

    OWNER |NAME
    ------------------------------|------------------------------
    CTXSYS |CTX_DDL
    CTXSYS |DRIG
    CTXSYS |DRIG
    CTXSYS |DRVDDL
    DBSNMP |DM_FMTLIB
    HUGO |DBA_UTL_SPFILE
    HUGO |FPBENUTZ
    HUGO |FPBENUTZ
    HUGO |FPBROOM
    HUGO |FPBUTL

    will is probably the correct and expected result.

    however, this finding does in fact endorces my request to rework the parser code of ldi, for the parameters of a create or alter or the directives of lcontains (and whatever else will be parsed also. this parsing behaviour traps the developer in a very poor and unattractive way and does not promote an enployment of ldi.

    p

     

Log in to post a comment.

MongoDB Logo MongoDB