Github user kumarvishal09 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1433#discussion_r147234581
--- 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 --
Moved this method to commonutils and updated all the callers---
