Github user sounakr commented on a diff in the pull request: https://github.com/apache/carbondata/pull/2131#discussion_r179098290 --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/CarbonCountStar.scala --- @@ -76,6 +76,11 @@ case class CarbonCountStar( SparkHadoopUtil.get.addCredentials(jobConf) val job = new Job(jobConf) FileInputFormat.addInputPath(job, new Path(absoluteTableIdentifier.getTablePath)) + if (carbonTable.getTableInfo.isUnManagedTable) { + CarbonInputFormat.setCarbonUnmanagedTable(job.getConfiguration, "true") --- End diff -- Done
---