Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-237 Run Jackrabbit query tests
  3. OAK-323

Column names aren't reported properly for "select * from [nodeType]" queries

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7
    • jcr
    • None

    Description

      Test class: SQL2QueryResultTest, query:

      select * from [test:RTypeTest]
      

      It appears that the query.getColumns only has one entry [[test:RTypeTest].*] which outputs null on #getColumnName instead of unfolding the 3 properties that the node has.

      Trace:

      junit.framework.AssertionFailedError: Got more columns than expected: [null] expected:<3> but was:<1>
      

      Attachments

        Issue Links

          Activity

            People

              jukkaz Jukka Zitting
              stillalex Alex Deparvu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: