Bug 1272969 - HBase - GROUP BY clause returns duplicates results
Summary: HBase - GROUP BY clause returns duplicates results
Keywords:
Status: CLOSED DUPLICATE of bug 1265298
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Teiid
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Van Halbert
QA Contact: Juraj Duráni
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-19 10:21 UTC by Juraj Duráni
Modified: 2016-01-26 15:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-09 14:47:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIID-3775 0 Major Closed HBase - GROUP BY clause returns duplicates results 2016-01-26 16:19:06 UTC

Description Juraj Duráni 2015-10-19 10:21:57 UTC
Description of problem:

I have a view defined as follows:
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;

Query *SELECT StringNum FROM VQT.U8 GROUP BY StringNum* returns duplicate results (multiple null).

Comment 1 JBoss JIRA Server 2015-10-20 13:00:31 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-3775 to Resolved

Comment 2 Van Halbert 2015-11-09 14:47:46 UTC

*** This bug has been marked as a duplicate of bug 1265298 ***

Comment 4 JBoss JIRA Server 2016-01-26 15:47:33 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-3775 to Closed


Note You need to log in before you can comment on or make changes to this bug.