carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manishgupta88 <...@git.apache.org>
Subject [GitHub] carbondata pull request #1732: [CARBONDATA-1946] Exception thrown after alte...
Date Thu, 04 Jan 2018 06:08:56 GMT
Github user manishgupta88 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1732#discussion_r159585515
  
    --- Diff: integration/spark2/src/test/scala/org/apache/spark/carbondata/restructure/vectorreader/ChangeDataTypeTestCases.scala
---
    @@ -164,6 +164,21 @@ class ChangeDataTypeTestCases extends Spark2QueryTest with BeforeAndAfterAll
{
         sql("drop table if exists PreAggMain_preagg1")
       }
     
    +  test("test data type change for dictionary exclude INT type column") {
    --- End diff --
    
    Alter table datatype change does not support short to int, short to long and float to
double. It only supports Int to BigInt and decimal from lower precision to higher precision.
If any other data type change request comes validation is done and exception is thrown


---

Mime
View raw message