[GitHub] carbondata pull request #1852: [CARBONDATA-2070]fix create preaggregate on d...

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

[GitHub] carbondata pull request #1852: [CARBONDATA-2070]fix create preaggregate on d...

qiuchenjian-2
GitHub user akashrn5 opened a pull request:

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

    [CARBONDATA-2070]fix create preaggregate on decimal column in hive metastore

    Problem: when hive metastore is enabled and aggregate table is tried to create on the decimal column of main table, cast exception is thrown for Decimal datatype
   
    solution:During creation of TableInfo from hivemetastore the DataMapSchemas and the columns
       dataTypes are not converted to the appropriate child classes.
       convert to actual datatype
   
    Be sure to do all of the following checklist to help us incorporate
    your contribution quickly and easily:
   
     - [X] Any interfaces changed?
     NA
     - [X] Any backward compatibility impacted?
     NA
     - [X] Document update required?
    NA
     - [X] Testing done
        Added UT
            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/akashrn5/incubator-carbondata hive_pre

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

    https://github.com/apache/carbondata/pull/1852.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 #1852
   
----
commit d8c38d5d11fbb1f4fcfb590168b8785497ab868a
Author: akashrn5 <akashnilugal@...>
Date:   2018-01-23T13:29:51Z

    fix create preaggregate on decimal column in hive metastore

----


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

[GitHub] carbondata issue #1852: [CARBONDATA-2070]fix create preaggregate on decimal ...

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1852
 
    Build Failed with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/1832/



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

[GitHub] carbondata issue #1852: [CARBONDATA-2070]fix create preaggregate on decimal ...

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

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



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

[GitHub] carbondata issue #1852: [CARBONDATA-2070]fix create preaggregate on decimal ...

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

    https://github.com/apache/carbondata/pull/1852
 
    Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/1837/



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

[GitHub] carbondata issue #1852: [CARBONDATA-2070]fix create preaggregate on decimal ...

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

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



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

[GitHub] carbondata issue #1852: [CARBONDATA-2070]fix create preaggregate on decimal ...

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

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


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

[GitHub] carbondata issue #1852: [CARBONDATA-2070]fix create preaggregate on decimal ...

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

    https://github.com/apache/carbondata/pull/1852
 
    retest sdv please


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

[GitHub] carbondata issue #1852: [CARBONDATA-2070]fix create preaggregate on decimal ...

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

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



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

[GitHub] carbondata issue #1852: [CARBONDATA-2070]fix create preaggregate on decimal ...

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

    https://github.com/apache/carbondata/pull/1852
 
    Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/1840/



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

[GitHub] carbondata issue #1852: [CARBONDATA-2070]fix create preaggregate on decimal ...

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

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



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

[GitHub] carbondata issue #1852: [CARBONDATA-2070]fix create preaggregate on decimal ...

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

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



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

[GitHub] carbondata issue #1852: [CARBONDATA-2070]fix create preaggregate on decimal ...

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

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



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

[GitHub] carbondata issue #1852: [CARBONDATA-2070]fix create preaggregate on decimal ...

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

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


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

[GitHub] carbondata issue #1852: [CARBONDATA-2070]fix create preaggregate on decimal ...

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

    https://github.com/apache/carbondata/pull/1852
 
    Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/1844/



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

[GitHub] carbondata issue #1852: [CARBONDATA-2070]fix create preaggregate on decimal ...

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

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



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

[GitHub] carbondata issue #1852: [CARBONDATA-2070]fix create preaggregate on decimal ...

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

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


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

[GitHub] carbondata pull request #1852: [CARBONDATA-2070]fix create preaggregate on d...

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

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


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

[GitHub] carbondata pull request #1852: [CARBONDATA-2070]fix create preaggregate on d...

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

    https://github.com/apache/carbondata/pull/1852#discussion_r163845741
 
    --- Diff: integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/datamap/TestDataMapCommand.scala ---
    @@ -210,6 +211,16 @@ class TestDataMapCommand extends QueryTest with BeforeAndAfterAll {
           Seq(Row(1, 31), Row(2, 27), Row(3, 70), Row(4, 55)))
       }
     
    +  test("test preaggregate load for decimal column for hivemetastore") {
    +    CarbonProperties.getInstance().addProperty(CarbonCommonConstants.ENABLE_HIVE_SCHEMA_META_STORE, "true")
    +    sql("drop datamap if exists uniqdata_agg on table uniqdata")
    --- End diff --
   
    where is uniqdata table?


---