[teiid-issues] [JBoss JIRA] (TEIID-3772) HBase - Phoenix returns more than one result for subquery which should return only one row
Steven Hawkins (JIRA)
issues at jboss.org
Thu Aug 11 08:18:00 EDT 2016
[ https://issues.jboss.org/browse/TEIID-3772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Hawkins updated TEIID-3772:
----------------------------------
Component/s: Misc. Connectors
> HBase - Phoenix returns more than one result for subquery which should return only one row
> -------------------------------------------------------------------------------------------
>
> Key: TEIID-3772
> URL: https://issues.jboss.org/browse/TEIID-3772
> Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 8.7.1.6_2
> Reporter: Juraj Duráni
> Assignee: Steven Hawkins
> Priority: Minor
>
> Query:
> SELECT intkey FROM BQT1.SmallA AS A WHERE stringkey = (SELECT stringkey FROM BQT1.SmallA AS B WHERE b.intnum = a.intnum) ORDER BY intkey
> Source-specific query:
> SELECT g_0.intkey AS c_0 FROM smalla AS g_0 WHERE g_0.stringkey = (SELECT g_1.stringkey FROM smalla AS g_1 WHERE g_1.intnum = g_0.intnum) ORDER BY c_0
> Subquery returns more than one row. Every value in IntNum is unique except 3 NULL values.
> Changing where clause to: WHERE b.intnum is not null and b.intnum = a.intnum returns correct result.
> It seems like Phoenix bug. A note in the documentation could be sufficient.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the teiid-issues
mailing list