[GitHub] carbondata pull request #1417: [WIP] Add precision and scale to DecimalType

classic Classic list List threaded Threaded
79 messages Options
1234
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1417: [CARBONDATA-1594] Add precision and scale to Decimal...

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1417
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/499/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1417: [CARBONDATA-1594] Add precision and scale to Decimal...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1417
 
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1123/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1417: [CARBONDATA-1594] Add precision and scale to Decimal...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1417
 
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1127/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1417: [CARBONDATA-1594] Add precision and scale to Decimal...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1417
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/522/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1417: [CARBONDATA-1594] Add precision and scale to Decimal...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1417
 
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1152/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1417: [CARBONDATA-1594] Add precision and scale to Decimal...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1417
 
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1156/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1417: [CARBONDATA-1594] Add precision and scale to Decimal...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1417
 
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/526/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1417: [CARBONDATA-1594] Add precision and scale to Decimal...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1417
 
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1174/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1417: [CARBONDATA-1594] Add precision and scale to Decimal...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1417
 
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/543/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1417: [CARBONDATA-1594] Add precision and scale to Decimal...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1417
 
    retest this please


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1417: [CARBONDATA-1594] Add precision and scale to Decimal...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1417
 
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/671/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1417: [CARBONDATA-1594] Add precision and scale to Decimal...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1417
 
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1308/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1417: [CARBONDATA-1594] Add precision and scale to Decimal...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1417
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/698/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1417: [CARBONDATA-1594] Add precision and scale to Decimal...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1417
 
    SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1333/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1417: [CARBONDATA-1594] Add precision and scale to Decimal...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1417
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/700/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1417: [CARBONDATA-1594] Add precision and scale to Decimal...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1417
 
    SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1336/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1417: [CARBONDATA-1594] Add precision and scale to Decimal...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1417
 
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/703/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1417: [CARBONDATA-1594] Add precision and scale to Decimal...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1417
 
    SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/1339/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #1417: [CARBONDATA-1594] Add precision and scale to ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1417#discussion_r147632046
 
    --- Diff: core/src/main/java/org/apache/carbondata/core/datastore/page/UnsafeVarLengthColumnPage.java ---
    @@ -42,6 +42,16 @@
         baseOffset = memoryBlock.getBaseOffset();
       }
     
    +  UnsafeVarLengthColumnPage(TableSpec.ColumnSpec columnSpec, DataType dataType, int pageSize,
    --- End diff --
   
    It is not used anywhere, please remove it if not required


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #1417: [CARBONDATA-1594] Add precision and scale to ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1417#discussion_r147638842
 
    --- Diff: core/src/main/java/org/apache/carbondata/core/util/CarbonUtil.java ---
    @@ -1862,9 +1863,31 @@ public static TableInfo convertGsonToTableInfo(Map<String, String> properties) {
           builder.append(part);
         }
         TableInfo tableInfo = gson.fromJson(builder.toString(), TableInfo.class);
    +    updateDecimalType(tableInfo);
         return tableInfo;
       }
     
    +  // update decimal type inside `tableInfo` to set scale and precision, if there are any decimal
    +  private static void updateDecimalType(TableInfo tableInfo) {
    +    List<ColumnSchema> deserializedColumns = tableInfo.getFactTable().getListOfColumns();
    +    for (ColumnSchema column : deserializedColumns) {
    +      DataType dataType = column.getDataType();
    +      if (DataTypes.isDecimal(dataType)) {
    +        column.setDataType(DataTypes.createDefaultDecimalType());
    --- End diff --
   
    why we should create default? Already scale and precision must be available inside columnschema.I guess It would be an issue  if we create with default


---
1234