carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anubhav100 <...@git.apache.org>
Subject [GitHub] incubator-carbondata pull request #488: [CARBONDATA-582] bugfix of negative ...
Date Sat, 31 Dec 2016 19:36:00 GMT
GitHub user anubhav100 opened a pull request:

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

    [CARBONDATA-582] bugfix of negative number in bucketnumber

    jira issue [CARBONDATA-582]
    In carbon data i create a table with number of buckets specified as a negative number
    here are the logs
    jdbc:hive2://localhost:10000> 
    CREATE TABLE BucketTest1111352983(name int,ID string)USING org.apache.spark.sql.CarbonSource
OPTIONS("bucketnumber"="-1", "bucketcolumns"="name1");
    ---------+
    Result
    ---------+
    ---------+
    No rows selected (0.277 seconds)
    this is because there is no check whether the bucket number given is positive or not
    in hive it gives a error
    here are the logs in hive
    hive> CREATE TABLE BucketTest1111352983(name int,ID string)USING org.apache.spark.sql.CarbonSource
OPTIONS("bucketnumber"="-1", "bucketcolumns"="name1");
    ---------+
    Result
    ---------+
    ---------+
    No rows selected (0.277 seconds)
    in carbon data as well it should not allow this

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

    $ git pull https://github.com/anubhav100/incubator-carbondata CARBONDATA-582

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

    https://github.com/apache/incubator-carbondata/pull/488.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 #488
    
----
commit 7a29993f260c49fb01573cded867bf75e4e2fdaa
Author: anubhav100 <anubhav.tarar@knoldus.in>
Date:   2016-12-31T19:13:13Z

    bugfix of negative number in bucketnumber

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message