Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3437

Regression in org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR5 when enabling OAK-1617

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • solr
    • None

    Description

      When enabling OAK-1617 (still to be committed) there's a regression in the oak-solr-core unit tests

      • org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR3
      • org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR4
      • org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR5

      The WIP of the feature can be found in https://github.com/davidegiannella/jackrabbit-oak/tree/OAK-1617 and a full patch will be attached shortly for review in OAK-1617 itself.

      The feature is currently disabled, in order to enable it for unit testing an approach like this can be taken https://github.com/davidegiannella/jackrabbit-oak/blob/177df1a8073b1237857267e23d12a433e3d890a4/oak-core/src/test/java/org/apache/jackrabbit/oak/query/SQL2OptimiseQueryTest.java#L142 or setting the system property -Doak.query.sql2optimisation.

      Attachments

        Issue Links

          Activity

            People

              teofili Tommaso Teofili
              edivad Davide Giannella
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: