carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anubhav100 <>
Subject [GitHub] incubator-carbondata pull request #621: [CARBONDATA-738] resolved bug for Ab...
Date Thu, 02 Mar 2017 11:58:27 GMT
GitHub user anubhav100 opened a pull request:

    [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",
    val peopleRDD: RDD[People] =
    val peopleDF: DataFrame = peopleRDD.toDF("name", "occupation", "id")
    .option("tableName", "carbon2")
    .option("compress", "true")
    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
    there is problem with carbondataframe writer

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

    $ git pull CARBONDATA-738

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

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 <>
Date:   2017-03-02T10:09:38Z

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


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

View raw message