Github user ravipesala commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1433#discussion_r146761652
--- Diff:
integration/spark-common/src/main/scala/org/apache/carbondata/spark/util/CommonUtil.scala
---
@@ -831,4 +832,12 @@ object CommonUtil {
LOGGER.error(s)
}
}
+
+ def getScaleAndPrecision(dataType: String): (Int, Int) = {
--- End diff --
This method is duplicated. Please reuse it---
