Hi, did you create the dataframe through SparkSession? If it is so, you do better to create that with CarbonSession, which extends the SparkSession.
You may need to refer to https://github.com/apache/carbondata/blob/master/docs/quick-start-guide.md -- Sent from: http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/