Hi Michael, I can confirm that the issue is valid and i have raised a JIRA issue for the same. Thanks for reporting the issue. You can find the link to the issue below.
https://issues.apache.org/jira/browse/CARBONDATA-1596 Thanks Kunal Kapoor -- Regards *Kunal Kapoor* Software Consultant *Knoldus Software LLP <http://www.knoldus.com/home.knol>* Twitter <http://twitter/kunal642> | LinkedIn <https://in.linkedin.com/in/kunal642> | FB <https://www.facebook.com/kunalkapoor642> Mobile: +91-9711013430 On Thu, Oct 19, 2017 at 1:13 AM, Michael Shtelma <[email protected]> wrote: > Hi all, > > I have tried to save some table with decimal fields to CarbonData. > > I have got the following exception: > > java.lang.ClassCastException: java.math.BigDecimal cannot be cast to [B > > at org.apache.carbondata.processing.sortandgroupby.sortdata. > IntermediateFileMerger.writeDataTofile(IntermediateFileMerger.java:355) > > at org.apache.carbondata.processing.sortandgroupby.sortdata. > IntermediateFileMerger.run(IntermediateFileMerger.java:112) > > at java.util.concurrent.ThreadPoolExecutor.runWorker( > ThreadPoolExecutor.java:1142) > > at java.util.concurrent.ThreadPoolExecutor$Worker.run( > ThreadPoolExecutor.java:617) > > at java.lang.Thread.run(Thread.java:748) > > > Are decimals supported at the moment ? > I am using CarbonData 1.2 with Spark 2.1. > > > Best, > Michael >
