[GitHub] incubator-carbondata pull request #621: [CARBONDATA-738] resolved bug for Ab...

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata pull request #621: [CARBONDATA-738] resolved bug for Ab...

qiuchenjian-2
GitHub user anubhav100 opened a pull request:

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

    [CARBONDATA-738] resolved bug for Able to load dataframe with boolean type in a carbon…

    i created a dataframe with boolean type as follows
    case class People(name: String, occupation: String, consultant: Boolean)
    val people = List(People("sangeeta", "engineer", true), People("pallavi", "consultant", true))
    val peopleRDD: RDD[People] = cc.sc.parallelize(people)
    val peopleDF: DataFrame = peopleRDD.toDF("name", "occupation", "id")
    peopleDF.write
    .format("carbondata")
    .option("tableName", "carbon2")
    .option("compress", "true")
    .mode(SaveMode.Overwrite)
    .save()
    cc.sql("SELECT * FROM carbon2").show()
    currently boolean type is not supported in carbon data but table gets created
    but it shows me null values
    ------------------
    name occupation id
    ------------------
    pallavi consultant null
    sangeeta engineer null
    ------------------
    for boolean type it should throw unsupported type exception it is not supported in carbon data
   
    there is problem with carbondataframe writer
   


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

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

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

    https://github.com/apache/incubator-carbondata/pull/621.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 #621
   
----
commit b4a6d27dff062f6fecc1b542d684efa5317e2da5
Author: anubhav100 <[hidden email]>
Date:   2017-03-02T10:09:38Z

    resolved bug for Able to load dataframe with boolean type in a carbon table but with null values

----


---
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 [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata issue #621: [CARBONDATA-738] resolved bug for Able to l...

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/621
 
    Build Success with Spark 1.6.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/992/



---
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 [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata issue #621: [CARBONDATA-738] resolved bug for Able to l...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/621
 
    LGTM


---
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 [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata pull request #621: [CARBONDATA-738] resolved bug for Ab...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user asfgit closed the pull request at:

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


---
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 [hidden email] or file a JIRA ticket
with INFRA.
---