[teiid-issues] [JBoss JIRA] (TEIID-3775) HBase - GROUP BY clause returns duplicates results

RH Bugzilla Integration (JIRA) issues at jboss.org
Mon Oct 19 06:22:00 EDT 2015


     [ https://issues.jboss.org/browse/TEIID-3775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

RH Bugzilla Integration updated TEIID-3775:
-------------------------------------------
    Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1272969
        Bugzilla Update: Perform


> HBase - GROUP BY clause returns duplicates results
> --------------------------------------------------
>
>                 Key: TEIID-3775
>                 URL: https://issues.jboss.org/browse/TEIID-3775
>             Project: Teiid
>          Issue Type: Bug
>    Affects Versions: 8.7.1.6_2
>            Reporter: Juraj Duráni
>            Assignee: Steven Hawkins
>
> I have a view defined as follows:
> {code:sql}
> CREATE VIEW U8 (IntKey integer,
>     StringKey string,
>     IntNum integer,
>     StringNum string,
>     FloatNum float,
>     LongNum long,
>     DoubleNum double,
>     ByteNum byte,
>     DateValue date,
>     TimeValue time,
>     TimestampValue timestamp,
>     BooleanValue boolean,
>     CharValue char,
>     ShortValue short,
>     BigIntegerValue biginteger,
>     BigDecimalValue bigdecimal)
>   AS
>     SELECT BQT1.SmallA.IntKey, BQT1.SmallA.StringKey, BQT1.SmallA.IntNum, BQT1.SmallA.StringNum,
>         BQT1.SmallA.FloatNum, BQT1.SmallA.LongNum, BQT1.SmallA.DoubleNum, BQT1.SmallA.ByteNum,
>         BQT1.SmallA.DateValue, BQT1.SmallA.TimeValue, BQT1.SmallA.TimestampValue, BQT1.SmallA.BooleanValue,
>         BQT1.SmallA.CharValue, BQT1.SmallA.ShortValue, BQT1.SmallA.BigIntegerValue, BQT1.SmallA.BigDecimalValue
>     FROM BQT1.SmallA
>     UNION
>     SELECT BQT1.SmallB.IntKey, BQT1.SmallB.StringKey, BQT1.SmallB.IntNum, BQT1.SmallB.StringNum,
>         BQT1.SmallB.FloatNum, BQT1.SmallB.LongNum, BQT1.SmallB.DoubleNum, BQT1.SmallB.ByteNum,
>         BQT1.SmallB.DateValue, BQT1.SmallB.TimeValue, BQT1.SmallB.TimestampValue, BQT1.SmallB.BooleanValue,
>         BQT1.SmallB.CharValue, BQT1.SmallB.ShortValue, BQT1.SmallB.BigIntegerValue, BQT1.SmallB.BigDecimalValue
>     FROM BQT1.SmallB ORDER BY IntKey;
> {code}
> Query *SELECT StringNum FROM VQT.U8 GROUP BY StringNum* returns duplicate results (multiple null).



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the teiid-issues mailing list