[GitHub] carbondata pull request #2988: [CARBONDATA-3174] Fix trailing space issue wi...

classic Classic list List threaded Threaded
32 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2988: [CARBONDATA-3174] Fix trailing space issue with varc...

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2988
 
    Build Success with Spark 2.2.1, Please check CI http://95.216.28.178:8080/job/ApacheCarbonPRBuilder1/2013/



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

[GitHub] carbondata issue #2988: [CARBONDATA-3174] Fix trailing space issue with varc...

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

    https://github.com/apache/carbondata/pull/2988
 
    Build Success with Spark 2.3.2, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/10062/



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

[GitHub] carbondata pull request #2988: [CARBONDATA-3174] Fix trailing space issue wi...

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

    https://github.com/apache/carbondata/pull/2988#discussion_r242377558
 
    --- Diff: integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/createTable/TestNonTransactionalCarbonTable.scala ---
    @@ -2490,6 +2490,54 @@ class TestNonTransactionalCarbonTable extends QueryTest with BeforeAndAfterAll {
         FileUtils.deleteDirectory(new File(writerPath))
       }
     
    +  test("check varchar with trailing space") {
    --- End diff --
   
    besides, this is for varchar columns, why not update the code there?


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

[GitHub] carbondata issue #2988: [CARBONDATA-3174] Fix trailing space issue with varc...

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

    https://github.com/apache/carbondata/pull/2988
 
    @Shubh18s : I have checked the code,
    all the column names are stored without trim in SDK. But long_string_columns table properties is having trim. column name has string without trim  but properties have string with trim. Hence the schema mismatch.
   
    After this change, sort_columns and invertedIndexFor are affected.
    As CarbonWriterBuilder.sortBy() is exposed to user, here also trim is not there as per previous code. so add trim() here also. similar changes in CarbonWriterBuilder.invertedIndexFor()
   



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

[GitHub] carbondata pull request #2988: [CARBONDATA-3174] Fix trailing space issue wi...

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

    https://github.com/apache/carbondata/pull/2988#discussion_r242421926
 
    --- Diff: store/sdk/src/main/java/org/apache/carbondata/sdk/file/CarbonWriterBuilder.java ---
    @@ -747,7 +747,7 @@ private Schema updateSchemaFields(Schema schema, Set<String> longStringColumns)
         Field[] fields =  schema.getFields();
         for (int i = 0; i < fields.length; i++) {
           if (fields[i] != null) {
    -        fields[i].updateNameToLowerCase();
    +        //fields[i].updateName();
    --- End diff --
   
    remove this


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

[GitHub] carbondata issue #2988: [CARBONDATA-3174] Fix trailing space issue with varc...

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

    https://github.com/apache/carbondata/pull/2988
 
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.1/1814/



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

[GitHub] carbondata issue #2988: [CARBONDATA-3174] Fix trailing space issue with varc...

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

    https://github.com/apache/carbondata/pull/2988
 
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder2.1/1815/



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

[GitHub] carbondata issue #2988: [CARBONDATA-3174] Fix trailing space issue with varc...

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

    https://github.com/apache/carbondata/pull/2988
 
    Build Success with Spark 2.2.1, Please check CI http://95.216.28.178:8080/job/ApacheCarbonPRBuilder1/2025/



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

[GitHub] carbondata issue #2988: [CARBONDATA-3174] Fix trailing space issue with varc...

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

    https://github.com/apache/carbondata/pull/2988
 
    Build Success with Spark 2.3.2, Please check CI http://136.243.101.176:8080/job/carbondataprbuilder2.3/10074/



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

[GitHub] carbondata issue #2988: [CARBONDATA-3174] Fix trailing space issue with varc...

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

    https://github.com/apache/carbondata/pull/2988
 
    LGTM


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

[GitHub] carbondata issue #2988: [CARBONDATA-3174] Fix trailing space issue with varc...

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

    https://github.com/apache/carbondata/pull/2988
 
    LGTM


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

[GitHub] carbondata pull request #2988: [CARBONDATA-3174] Fix trailing space issue wi...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user asfgit closed the pull request at:

    https://github.com/apache/carbondata/pull/2988


---
12