Github user ravipesala commented on a diff in the pull request: https://github.com/apache/carbondata/pull/1565#discussion_r154095462 --- Diff: integration/spark-common/src/main/scala/org/apache/spark/sql/execution/command/carbonTableSchemaCommon.scala --- @@ -465,13 +472,22 @@ class TableNewProcessor(cm: TableModel) { encoders.add(Encoding.DICTIONARY) encoders } + val timeSeriesFunction = if (cm.parentTable.isDefined && cm.timSeriesColumn.isDefined && + null != cm.parentTable.get.getColumnByName( + cm.parentTable.get.getFactTableName, + cm.timSeriesColumn.get)) { --- End diff -- Format it properly
---