[jira] [Updated] (HIVE-22640) Decimal64ColumnVector: ClassCastException when partition column type is Decimal
[ https://issues.apache.org/jira/browse/HIVE-22640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ádám Szita updated HIVE-22640: -- Fix Version/s: 4.0.0 Resolution: Fixed Status: Resolved (was: Patch Available) > Decimal64ColumnVector: ClassCastException when partition column type is > Decimal > --- > > Key: HIVE-22640 > URL: https://issues.apache.org/jira/browse/HIVE-22640 > Project: Hive > Issue Type: Bug >Reporter: Denys Kuzmenko >Assignee: Denys Kuzmenko >Priority: Major > Fix For: 4.0.0 > > Attachments: HIVE-22640.1.patch, HIVE-22640.2.patch, > HIVE-22640.3.patch, HIVE-22640.4.patch, HIVE-22640.5.patch > > > Problem statement: > {code} > CREATE EXTERNAL TABLE output (id DECIMAL(4,0), foo VARCHAR(10)) > PARTITIONED BY (nr_bank *decimal*(4,0)) > STORED AS ORC TBLPROPERTIES ('orc.compress'='ZLIB') > insert into output PARTITION (nr_bank=88) values (1,'test'); > insert into output PARTITION (nr_bank=8801) values (1,'8801'); > select count(*), nr_bank from sdlint.output group by nr_bank; > {code} > The above query fails with: > {code} > Caused by: java.lang.ClassCastException: > org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector cannot be cast to > org.apache.hadoop.hive.ql.exec.vector.LongColumnVector > at > org.apache.hadoop.hive.ql.exec.vector.expressions.FuncLongToDecimal.evaluate(FuncLongToDecimal.java:58) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (HIVE-22640) Decimal64ColumnVector: ClassCastException when partition column type is Decimal
[ https://issues.apache.org/jira/browse/HIVE-22640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Denys Kuzmenko updated HIVE-22640: -- Attachment: HIVE-22640.5.patch > Decimal64ColumnVector: ClassCastException when partition column type is > Decimal > --- > > Key: HIVE-22640 > URL: https://issues.apache.org/jira/browse/HIVE-22640 > Project: Hive > Issue Type: Bug >Reporter: Denys Kuzmenko >Assignee: Denys Kuzmenko >Priority: Major > Attachments: HIVE-22640.1.patch, HIVE-22640.2.patch, > HIVE-22640.3.patch, HIVE-22640.4.patch, HIVE-22640.5.patch > > > Problem statement: > {code} > CREATE EXTERNAL TABLE output (id DECIMAL(4,0), foo VARCHAR(10)) > PARTITIONED BY (nr_bank *decimal*(4,0)) > STORED AS ORC TBLPROPERTIES ('orc.compress'='ZLIB') > insert into output PARTITION (nr_bank=88) values (1,'test'); > insert into output PARTITION (nr_bank=8801) values (1,'8801'); > select count(*), nr_bank from sdlint.output group by nr_bank; > {code} > The above query fails with: > {code} > Caused by: java.lang.ClassCastException: > org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector cannot be cast to > org.apache.hadoop.hive.ql.exec.vector.LongColumnVector > at > org.apache.hadoop.hive.ql.exec.vector.expressions.FuncLongToDecimal.evaluate(FuncLongToDecimal.java:58) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (HIVE-22640) Decimal64ColumnVector: ClassCastException when partition column type is Decimal
[ https://issues.apache.org/jira/browse/HIVE-22640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Denys Kuzmenko updated HIVE-22640: -- Attachment: HIVE-22640.4.patch > Decimal64ColumnVector: ClassCastException when partition column type is > Decimal > --- > > Key: HIVE-22640 > URL: https://issues.apache.org/jira/browse/HIVE-22640 > Project: Hive > Issue Type: Bug >Reporter: Denys Kuzmenko >Assignee: Denys Kuzmenko >Priority: Major > Attachments: HIVE-22640.1.patch, HIVE-22640.2.patch, > HIVE-22640.3.patch, HIVE-22640.4.patch > > > Problem statement: > {code} > CREATE EXTERNAL TABLE output (id DECIMAL(4,0), foo VARCHAR(10)) > PARTITIONED BY (nr_bank *decimal*(4,0)) > STORED AS ORC TBLPROPERTIES ('orc.compress'='ZLIB') > insert into output PARTITION (nr_bank=88) values (1,'test'); > insert into output PARTITION (nr_bank=8801) values (1,'8801'); > select count(*), nr_bank from sdlint.output group by nr_bank; > {code} > The above query fails with: > {code} > Caused by: java.lang.ClassCastException: > org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector cannot be cast to > org.apache.hadoop.hive.ql.exec.vector.LongColumnVector > at > org.apache.hadoop.hive.ql.exec.vector.expressions.FuncLongToDecimal.evaluate(FuncLongToDecimal.java:58) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (HIVE-22640) Decimal64ColumnVector: ClassCastException when partition column type is Decimal
[ https://issues.apache.org/jira/browse/HIVE-22640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Denys Kuzmenko updated HIVE-22640: -- Attachment: HIVE-22640.3.patch > Decimal64ColumnVector: ClassCastException when partition column type is > Decimal > --- > > Key: HIVE-22640 > URL: https://issues.apache.org/jira/browse/HIVE-22640 > Project: Hive > Issue Type: Bug >Reporter: Denys Kuzmenko >Assignee: Denys Kuzmenko >Priority: Major > Attachments: HIVE-22640.1.patch, HIVE-22640.2.patch, > HIVE-22640.3.patch > > > Problem statement: > {code} > CREATE EXTERNAL TABLE output (id DECIMAL(4,0), foo VARCHAR(10)) > PARTITIONED BY (nr_bank *decimal*(4,0)) > STORED AS ORC TBLPROPERTIES ('orc.compress'='ZLIB') > insert into output PARTITION (nr_bank=88) values (1,'test'); > insert into output PARTITION (nr_bank=8801) values (1,'8801'); > select count(*), nr_bank from sdlint.output group by nr_bank; > {code} > The above query fails with: > {code} > Caused by: java.lang.ClassCastException: > org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector cannot be cast to > org.apache.hadoop.hive.ql.exec.vector.LongColumnVector > at > org.apache.hadoop.hive.ql.exec.vector.expressions.FuncLongToDecimal.evaluate(FuncLongToDecimal.java:58) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (HIVE-22640) Decimal64ColumnVector: ClassCastException when partition column type is Decimal
[ https://issues.apache.org/jira/browse/HIVE-22640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Denys Kuzmenko updated HIVE-22640: -- Attachment: HIVE-22640.2.patch > Decimal64ColumnVector: ClassCastException when partition column type is > Decimal > --- > > Key: HIVE-22640 > URL: https://issues.apache.org/jira/browse/HIVE-22640 > Project: Hive > Issue Type: Bug >Reporter: Denys Kuzmenko >Assignee: Denys Kuzmenko >Priority: Major > Attachments: HIVE-22640.1.patch, HIVE-22640.2.patch > > > Problem statement: > {code} > CREATE EXTERNAL TABLE output (id DECIMAL(4,0), foo VARCHAR(10)) > PARTITIONED BY (nr_bank *decimal*(4,0)) > STORED AS ORC TBLPROPERTIES ('orc.compress'='ZLIB') > insert into output PARTITION (nr_bank=88) values (1,'test'); > insert into output PARTITION (nr_bank=8801) values (1,'8801'); > select count(*), nr_bank from sdlint.output group by nr_bank; > {code} > The above query fails with: > {code} > Caused by: java.lang.ClassCastException: > org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector cannot be cast to > org.apache.hadoop.hive.ql.exec.vector.LongColumnVector > at > org.apache.hadoop.hive.ql.exec.vector.expressions.FuncLongToDecimal.evaluate(FuncLongToDecimal.java:58) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (HIVE-22640) Decimal64ColumnVector: ClassCastException when partition column type is Decimal
[ https://issues.apache.org/jira/browse/HIVE-22640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Denys Kuzmenko updated HIVE-22640: -- Attachment: HIVE-22640.1.patch > Decimal64ColumnVector: ClassCastException when partition column type is > Decimal > --- > > Key: HIVE-22640 > URL: https://issues.apache.org/jira/browse/HIVE-22640 > Project: Hive > Issue Type: Bug >Reporter: Denys Kuzmenko >Assignee: Denys Kuzmenko >Priority: Major > Attachments: HIVE-22640.1.patch > > > Problem statement: > {code} > CREATE EXTERNAL TABLE output (id DECIMAL(4,0), foo VARCHAR(10)) > PARTITIONED BY (nr_bank *decimal*(4,0)) > STORED AS ORC TBLPROPERTIES ('orc.compress'='ZLIB') > insert into output PARTITION (nr_bank=88) values (1,'test'); > insert into output PARTITION (nr_bank=8801) values (1,'8801'); > select count(*), nr_bank from sdlint.output group by nr_bank; > {code} > The above query fails with: > {code} > Caused by: java.lang.ClassCastException: > org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector cannot be cast to > org.apache.hadoop.hive.ql.exec.vector.LongColumnVector > at > org.apache.hadoop.hive.ql.exec.vector.expressions.FuncLongToDecimal.evaluate(FuncLongToDecimal.java:58) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (HIVE-22640) Decimal64ColumnVector: ClassCastException when partition column type is Decimal
[ https://issues.apache.org/jira/browse/HIVE-22640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Denys Kuzmenko updated HIVE-22640: -- Status: Patch Available (was: Open) > Decimal64ColumnVector: ClassCastException when partition column type is > Decimal > --- > > Key: HIVE-22640 > URL: https://issues.apache.org/jira/browse/HIVE-22640 > Project: Hive > Issue Type: Bug >Reporter: Denys Kuzmenko >Assignee: Denys Kuzmenko >Priority: Major > Attachments: HIVE-22640.1.patch > > > Problem statement: > {code} > CREATE EXTERNAL TABLE output (id DECIMAL(4,0), foo VARCHAR(10)) > PARTITIONED BY (nr_bank *decimal*(4,0)) > STORED AS ORC TBLPROPERTIES ('orc.compress'='ZLIB') > insert into output PARTITION (nr_bank=88) values (1,'test'); > insert into output PARTITION (nr_bank=8801) values (1,'8801'); > select count(*), nr_bank from sdlint.output group by nr_bank; > {code} > The above query fails with: > {code} > Caused by: java.lang.ClassCastException: > org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector cannot be cast to > org.apache.hadoop.hive.ql.exec.vector.LongColumnVector > at > org.apache.hadoop.hive.ql.exec.vector.expressions.FuncLongToDecimal.evaluate(FuncLongToDecimal.java:58) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (HIVE-22640) Decimal64ColumnVector: ClassCastException when partition column type is Decimal
[ https://issues.apache.org/jira/browse/HIVE-22640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Denys Kuzmenko updated HIVE-22640: -- Description: Problem statement: {code} CREATE EXTERNAL TABLE output (id DECIMAL(4,0), foo VARCHAR(10)) PARTITIONED BY (nr_bank *decimal*(4,0)) STORED AS ORC TBLPROPERTIES ('orc.compress'='ZLIB') insert into output PARTITION (nr_bank=88) values (1,'test'); insert into output PARTITION (nr_bank=8801) values (1,'8801'); select count(*), nr_bank from sdlint.output group by nr_bank; {code} The above query fails with: {code} Caused by: java.lang.ClassCastException: org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector cannot be cast to org.apache.hadoop.hive.ql.exec.vector.LongColumnVector at org.apache.hadoop.hive.ql.exec.vector.expressions.FuncLongToDecimal.evaluate(FuncLongToDecimal.java:58) {code} was: {code} CREATE EXTERNAL TABLE output (id DECIMAL(4,0), foo VARCHAR(10)) PARTITIONED BY (nr_bank *decimal*(4,0)) STORED AS ORC TBLPROPERTIES ('orc.compress'='ZLIB') insert into output PARTITION (nr_bank=88) values (1,'test'); insert into output PARTITION (nr_bank=8801) values (1,'8801'); select count(*), nr_bank from sdlint.output group by nr_bank; {code} The above query fails with: {code} Caused by: java.lang.ClassCastException: org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector cannot be cast to org.apache.hadoop.hive.ql.exec.vector.LongColumnVector at org.apache.hadoop.hive.ql.exec.vector.expressions.FuncLongToDecimal.evaluate(FuncLongToDecimal.java:58) {code} > Decimal64ColumnVector: ClassCastException when partition column type is > Decimal > --- > > Key: HIVE-22640 > URL: https://issues.apache.org/jira/browse/HIVE-22640 > Project: Hive > Issue Type: Bug >Reporter: Denys Kuzmenko >Assignee: Denys Kuzmenko >Priority: Major > > Problem statement: > {code} > CREATE EXTERNAL TABLE output (id DECIMAL(4,0), foo VARCHAR(10)) > PARTITIONED BY (nr_bank *decimal*(4,0)) > STORED AS ORC TBLPROPERTIES ('orc.compress'='ZLIB') > insert into output PARTITION (nr_bank=88) values (1,'test'); > insert into output PARTITION (nr_bank=8801) values (1,'8801'); > select count(*), nr_bank from sdlint.output group by nr_bank; > {code} > The above query fails with: > {code} > Caused by: java.lang.ClassCastException: > org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector cannot be cast to > org.apache.hadoop.hive.ql.exec.vector.LongColumnVector > at > org.apache.hadoop.hive.ql.exec.vector.expressions.FuncLongToDecimal.evaluate(FuncLongToDecimal.java:58) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (HIVE-22640) Decimal64ColumnVector: ClassCastException when partition column type is Decimal
[ https://issues.apache.org/jira/browse/HIVE-22640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Denys Kuzmenko updated HIVE-22640: -- Description: {code} CREATE EXTERNAL TABLE output (id DECIMAL(4,0), foo VARCHAR(10)) PARTITIONED BY (nr_bank *decimal*(4,0)) STORED AS ORC TBLPROPERTIES ('orc.compress'='ZLIB') insert into output PARTITION (nr_bank=88) values (1,'test'); insert into output PARTITION (nr_bank=8801) values (1,'8801'); select count(*), nr_bank from sdlint.output group by nr_bank; {code} The above query fails with: {code} Caused by: java.lang.ClassCastException: org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector cannot be cast to org.apache.hadoop.hive.ql.exec.vector.LongColumnVector at org.apache.hadoop.hive.ql.exec.vector.expressions.FuncLongToDecimal.evaluate(FuncLongToDecimal.java:58) {code} > Decimal64ColumnVector: ClassCastException when partition column type is > Decimal > --- > > Key: HIVE-22640 > URL: https://issues.apache.org/jira/browse/HIVE-22640 > Project: Hive > Issue Type: Bug >Reporter: Denys Kuzmenko >Assignee: Denys Kuzmenko >Priority: Major > > {code} > CREATE EXTERNAL TABLE output (id DECIMAL(4,0), foo VARCHAR(10)) > PARTITIONED BY (nr_bank *decimal*(4,0)) > STORED AS ORC TBLPROPERTIES ('orc.compress'='ZLIB') > insert into output PARTITION (nr_bank=88) values (1,'test'); > insert into output PARTITION (nr_bank=8801) values (1,'8801'); > select count(*), nr_bank from sdlint.output group by nr_bank; > {code} > The above query fails with: > {code} > Caused by: java.lang.ClassCastException: > org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector cannot be cast to > org.apache.hadoop.hive.ql.exec.vector.LongColumnVector > at > org.apache.hadoop.hive.ql.exec.vector.expressions.FuncLongToDecimal.evaluate(FuncLongToDecimal.java:58) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)