[
https://issues.apache.org/jira/browse/OAK-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Mueller updated OAK-323:
-------------------------------
Description:
Test class: SQL2QueryResultTest, query:
{code}
select * from [test:RTypeTest]
{code}
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:
{noformat}
junit.framework.AssertionFailedError: Got more columns than expected: [null]
expected:<3> but was:<1>
{noformat}
was:
Test class: SQL2QueryResultTest
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:
{noformat}
junit.framework.AssertionFailedError: Got more columns than expected: [null]
expected:<3> but was:<1>
{noformat}
Summary: Column names aren't reported properly for "select * from
[nodeType]" queries (was: Column names aren't reported properly)
> Column names aren't reported properly for "select * from [nodeType]" queries
> ----------------------------------------------------------------------------
>
> Key: OAK-323
> URL: https://issues.apache.org/jira/browse/OAK-323
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: jcr
> Reporter: Alex Parvulescu
>
> Test class: SQL2QueryResultTest, query:
> {code}
> select * from [test:RTypeTest]
> {code}
> 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:
> {noformat}
> junit.framework.AssertionFailedError: Got more columns than expected: [null]
> expected:<3> but was:<1>
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira