carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anubhav100 <>
Subject [GitHub] incubator-carbondata pull request #630: [CARBONDATA-730]added decimal type i...
Date Tue, 07 Mar 2017 11:25:44 GMT
GitHub user anubhav100 opened a pull request:

    [CARBONDATA-730]added decimal type in carbon data frame writer

    Below exception is thrown while trying to save dataframe with a decimal column type.
    scala> df.printSchema
    – account: integer (nullable = true)
    – currency: integer (nullable = true)
    – branch: integer (nullable = true)
    – country: integer (nullable = true)
    – date: date (nullable = true)
    – fcbalance: decimal(16,3) (nullable = true)
    – lcbalance: decimal(16,3) (nullable = true)
    scala> df.write.format("carbondata").option("tableName", "accBal").option("compress",
    java.lang.RuntimeException: unsupported type: DecimalType(16,3)
    at scala.sys.package$.error(package.scala:27)

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

    $ git pull CARBONDATA-730

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 #630
commit acd67332af60ad78dd93c1897ad31af4621c237e
Author: anubhav100 <>
Date:   2017-03-06T12:39:55Z

    added decimal type in carbon data frame writer


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