Github user akashrn5 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2375#discussion_r196310318
  
    --- Diff: 
integration/spark-common/src/main/scala/org/apache/spark/sql/catalyst/CarbonDDLSqlParser.scala
 ---
    @@ -1044,13 +1177,13 @@ abstract class CarbonDDLSqlParser extends 
AbstractCarbonSparkSQLParser {
        * Matching the decimal(10,0) data type and returning the same.
        */
       private lazy val decimalType =
    -  DECIMAL ~ (("(" ~> numericLit <~ ",") ~ (numericLit <~ ")")).? ^^ {
    -    case decimal ~ precisionAndScale => if (precisionAndScale.isDefined) {
    -      s"decimal(${ precisionAndScale.get._1 }, ${ precisionAndScale.get._2 
})"
    -    } else {
    -      s"decimal(10,0)"
    +    DECIMAL ~ (("(" ~> numericLit <~ ",") ~ (numericLit <~ ")")).? ^^ {
    --- End diff --
    
    these changes are done by mistake while formatting, i will revert these 
unwanted changes


---

Reply via email to