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 #630: [CARBONDATA-730]added decimal type i...
Date Tue, 07 Mar 2017 11:25:44 GMT
GitHub user anubhav100 opened a pull request:

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

    [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",
"true").mode(SaveMode.Overwrite).save()
    
    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 https://github.com/anubhav100/incubator-carbondata CARBONDATA-730

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

    https://github.com/apache/incubator-carbondata/pull/630.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 #630
    
----
commit acd67332af60ad78dd93c1897ad31af4621c237e
Author: anubhav100 <anubhav.tarar@knoldus.in>
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message