Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1774

Optimize DISTINCT-ORDERBY

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 3.13.1
    • Jena 3.14.0
    • ARQ
    • None

    Description

      TransformOrderByDistinctApplication is missing the chance to rewrite the form:

      SELECT DISTINCT * { ...} ORDER BY ...
      

      which is

          (distinct
              (order ...
      

      and could be

          (order ...
              (distinct
      

      TransformOrderByDistinctApplication does already rewrite when there is a projection.

      SELECT DISTINCT ?x { ...} ORDER BY ?x
      
          (order (?x)
              (distinct
                  (project (?x)
      

      Attachments

        Activity

          People

            andy Andy Seaborne
            andy Andy Seaborne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h