[jira] [Commented] (CARBONDATA-147) Describe formatted command failing

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CARBONDATA-147) Describe formatted command failing

Akash R Nilugal (Jira)

    [ https://issues.apache.org/jira/browse/CARBONDATA-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15410639#comment-15410639 ]

ASF GitHub Bot commented on CARBONDATA-147:
-------------------------------------------

GitHub user ravipesala opened a pull request:

    https://github.com/apache/incubator-carbondata/pull/64

    [CARBONDATA-147]Fixed describe formatted issue

    describe formatted command is failing from thrift server. This PR fixes it.
    https://issues.apache.org/jira/browse/CARBONDATA-147

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ravipesala/incubator-carbondata describe-format

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-carbondata/pull/64.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #64
   
----
commit 0f552b39573ff63b2f77318915edb668cf4d1798
Author: ravipesala <[hidden email]>
Date:   2016-08-06T15:41:15Z

    Fixed describe formatted issue

----


> Describe formatted command failing
> ----------------------------------
>
>                 Key: CARBONDATA-147
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-147
>             Project: CarbonData
>          Issue Type: Bug
>          Components: data-query
>    Affects Versions: 0.1.0-incubating
>         Environment: SUSE11SP3, standalone application with Spark 1.5.2 and Hadoop 2.7.2 version
>            Reporter: Krishna Reddy
>            Priority: Minor
>
> Describe formatted command failing with below error
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>         at java.util.ArrayList.rangeCheck(ArrayList.java:653)
>         at java.util.ArrayList.get(ArrayList.java:429)
>         at org.apache.hive.service.cli.Column.get(Column.java:281)
>         at org.apache.hive.service.cli.ColumnBasedSet$1.next(ColumnBasedSet.java:130)
>         at org.apache.hive.service.cli.ColumnBasedSet$1.next(ColumnBasedSet.java:117)
>         at org.apache.hive.jdbc.HiveQueryResultSet.next(HiveQueryResultSet.java:374)
>         at org.apache.hive.beeline.BufferedRows.<init>(BufferedRows.java:42)
>         at org.apache.hive.beeline.BeeLine.print(BeeLine.java:1794)
>         at org.apache.hive.beeline.Commands.execute(Commands.java:860)
>         at org.apache.hive.beeline.Commands.sql(Commands.java:713)
>         at org.apache.hive.beeline.BeeLine.dispatch(BeeLine.java:973)
>         at org.apache.hive.beeline.BeeLine.execute(BeeLine.java:813)
>         at org.apache.hive.beeline.BeeLine.begin(BeeLine.java:771)
>         at org.apache.hive.beeline.BeeLine.mainWithInputRedirection(BeeLine.java:484)
>         at org.apache.hive.beeline.BeeLine.main(BeeLine.java:467)
> Error: Error retrieving next row (state=,code=0)



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