You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Abhishek Girish (JIRA)" <ji...@apache.org> on 2015/12/03 03:22:11 UTC

[jira] [Created] (DRILL-4155) Query with two-way join and flatten fails with "IllegalArgumentException: maxCapacity"

Abhishek Girish created DRILL-4155:
--------------------------------------

             Summary: Query with two-way join and flatten fails with "IllegalArgumentException: maxCapacity"
                 Key: DRILL-4155
                 URL: https://issues.apache.org/jira/browse/DRILL-4155
             Project: Apache Drill
          Issue Type: Bug
          Components: Execution - Flow, Storage - JSON
            Reporter: Abhishek Girish
         Attachments: drillbit.log.txt

The following query on the Yelp Academic dataset fails to execute:

{code}
select u.name, b.name , flatten(b.categories) from maprfs.yelp_tutorial.`yelp_academic_dataset_user.json` u, maprfs.yelp_tutorial.`yelp_academic_dataset_business.json` b where u.average_stars = b.stars limit 10

Query Failed: An Error Occurred
org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR: IllegalArgumentException: maxCapacity: -104845 (expected: >= 0) Fragment 1:0 [Error Id: b0d99a6c-3434-49ce-8aa6-181993cdd853 on atsqa6c62.qa.lab:31010]
{code}

Tried on multiple setups in distributed mode - consistently fails. 

Dataset can be accessed from : https://s3.amazonaws.com/apache-drill/files/yelp.tgz (uncompressed tar archive)
Log attached. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)