Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1167875

Summary: MongoDB: IndexOutOfBoundsException when using GROUP BY
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Filip Elias <felias>
Component: TeiidAssignee: Van Halbert <vhalbert>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: dlesage, felias, vhalbert
Target Milestone: ER5Keywords: QA-Closed
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
DV 6.1 ER4
Last Closed: 2016-02-10 08:55:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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