[GitHub] carbondata pull request #3006: [CARBONDATA-3187] Supported Global Dictionary...

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

[GitHub] carbondata pull request #3006: [CARBONDATA-3187] Supported Global Dictionary...

qiuchenjian-2
GitHub user manishnalla1994 opened a pull request:

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

    [CARBONDATA-3187] Supported Global Dictionary For Map

    Added the case for Global Dictionary to be created in case the datatype is Complex Map.
   
    Be sure to do all of the following checklist to help us incorporate
    your contribution quickly and easily:
   
     - [ ] Any interfaces changed?
     
     - [ ] Any backward compatibility impacted?
     
     - [ ] Document update required?
   
     - [x] Testing done
            Please provide details on
            - Whether new unit test cases have been added or why no new tests are required?
            - How it is tested? Please attach test report.
            - Is it a performance related change? Please attach the performance test report.
            - Any additional information to help reviewers in testing this change.
           
     - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
   


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/manishnalla1994/carbondata GlobalDictForMap

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/carbondata/pull/3006.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3006
   
----
commit ecac0c6621a7afb219fbc577f0e69f7e65609520
Author: manishnalla1994 <manish.nalla1994@...>
Date:   2018-12-20T05:53:46Z

    Supported Global Dictionary For Map

----


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

[GitHub] carbondata issue #3006: [CARBONDATA-3187] Supported Global Dictionary For Ma...

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



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

[GitHub] carbondata issue #3006: [CARBONDATA-3187] Supported Global Dictionary For Ma...

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

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



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

[GitHub] carbondata issue #3006: [CARBONDATA-3187] Supported Global Dictionary For Ma...

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

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



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

[GitHub] carbondata pull request #3006: [CARBONDATA-3187] Supported Global Dictionary...

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

    https://github.com/apache/carbondata/pull/3006#discussion_r243177823
 
    --- Diff: integration/spark-common/src/main/scala/org/apache/carbondata/spark/util/GlobalDictionaryUtil.scala ---
    @@ -182,7 +182,7 @@ object GlobalDictionaryUtil {
           case None =>
             None
           case Some(dim) =>
    -        if (DataTypes.isArrayType(dim.getDataType)) {
    +        if (DataTypes.isArrayType(dim.getDataType) || DataTypes.isMapType(dim.getDataType)) {
    --- End diff --
   
    Does mapType also use ArrayParser ?


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

[GitHub] carbondata pull request #3006: [CARBONDATA-3187] Supported Global Dictionary...

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

    https://github.com/apache/carbondata/pull/3006#discussion_r243187905
 
    --- Diff: integration/spark-common/src/main/scala/org/apache/carbondata/spark/util/GlobalDictionaryUtil.scala ---
    @@ -182,7 +182,7 @@ object GlobalDictionaryUtil {
           case None =>
             None
           case Some(dim) =>
    -        if (DataTypes.isArrayType(dim.getDataType)) {
    +        if (DataTypes.isArrayType(dim.getDataType) || DataTypes.isMapType(dim.getDataType)) {
    --- End diff --
   
    Yes, Map is implemented as Array of Struct internally.


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

[GitHub] carbondata issue #3006: [CARBONDATA-3187] Supported Global Dictionary For Ma...

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

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


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

[GitHub] carbondata pull request #3006: [CARBONDATA-3187] Supported Global Dictionary...

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

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


---