Bug 1167875 - MongoDB: IndexOutOfBoundsException when using GROUP BY
Summary: MongoDB: IndexOutOfBoundsException when using GROUP BY
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Teiid
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER5
: 6.1.0
Assignee: Van Halbert
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-25 14:47 UTC by Filip Elias
Modified: 2016-02-10 08:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The MongoDB translator would thrown a java.lang.IndexOutOfBoundsException when GROUP BY was used in a SELECT query. This has been fixed by a code change so users will no longer encounter an exception when running this kind of statement.
Clone Of:
Environment:
DV 6.1 ER4
Last Closed: 2016-02-10 08:55:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIID-2890 0 Major Closed IndexOutOfBoundsException when using GROUP BY 2015-10-30 00:04:00 UTC
Red Hat Issue Tracker TEIID-3235 0 Major Closed IndexOutOfBoundsException when using GROUP BY 2015-10-30 00:04:00 UTC

Description Filip Elias 2014-11-25 14:47:11 UTC
MongoDB translator throws java.lang.IndexOutOfBoundsException when GROUP BY is used in SELECT. This bug is fixed in community, but probably it is not back ported.

Comment 1 Van Halbert 2014-11-25 19:48:20 UTC
Filip,

Can you attach the VDB and the query that you ran?

Comment 4 Filip Elias 2014-11-26 09:12:37 UTC
Van,

VDB and server log are in the attachment.

Queries: 
SELECT IntKey, SUM(IntNum) FROM BQT1.SmallA GROUP BY intKey
SELECT IntKey, IntNum FROM BQT1.SmallA GROUP BY IntKey, IntNum


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