Github user sounakr commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2209#discussion_r185217366
--- Diff:
integration/spark2/src/main/scala/org/apache/spark/util/SparkTypeConverter.scala
---
@@ -97,16 +97,30 @@ private[spark] object SparkTypeConverter {
def getStructChildren(table: CarbonTable, dimName: String): String = {
table.getChildren(dimName).asScala.map(childDim => {
childDim.getDataType.getName.toLowerCase match {
- case "array" => s"${
+ case "array" => if (table.isTransactionalTable) {s"${
--- End diff --
Written the comment of why transactional and no transactional behaviour
will be different.
---