[
https://issues.apache.org/jira/browse/HIVE-19238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16442882#comment-16442882
]
Gopal V commented on HIVE-19238:
--------------------------------
[~kgyrtkirk]: this might be the count distinct rewrite + shared-work optimizer
+ reduce de-dup kicking in at the same time.
> ClassCastException: StandardStructObjectInspector cannot be cast to
> PrimitiveObjectInspector
> --------------------------------------------------------------------------------------------
>
> Key: HIVE-19238
> URL: https://issues.apache.org/jira/browse/HIVE-19238
> Project: Hive
> Issue Type: Bug
> Reporter: Zoltan Haindrich
> Priority: Major
>
> while running tpcds#28 ; on a ~2 week old master:
> {code}
> org.apache.hive.service.cli.HiveSQLException: Error while compiling
> statement: FAILED: ClassCastException
> org.apache.hadoop.hive.serde2.objectinspector.StandardStructObjectInspector
> cannot be cast to
> org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
> at
> org.apache.hive.service.cli.operation.Operation.toSQLException(Operation.java:308)
> ~[hive-service-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
> at
> org.apache.hive.service.cli.operation.SQLOperation.prepare(SQLOperation.java:196)
> ~[hive-service-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
> at
> org.apache.hive.service.cli.operation.SQLOperation.runInternal(SQLOperation.java:257)
> ~[hive-service-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
> at
> org.apache.hive.service.cli.operation.Operation.run(Operation.java:243)
> ~[hive-service-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
> at
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatementInternal(HiveSessionImpl.java:541)
> ~[hive-service-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
> at
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatementAsync(HiveSessionImpl.java:527)
> ~[hive-service-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
> at
> org.apache.hive.service.cli.CLIService.executeStatementAsync(CLIService.java:311)
> ~[hive-service-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
> at
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:564)
> [hive-service-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
> at
> org.apache.hive.service.rpc.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1557)
> [hive-exec-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
> at
> org.apache.hive.service.rpc.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1542)
> [hive-exec-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
> at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
> [hive-exec-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
> at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
> [hive-exec-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
> at
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:56)
> [hive-service-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
> at
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
> [hive-exec-3.0.0.3.0.0.0-1075.jar:3.0.0.3.0.0.0-1075]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [?:1.8.0_112]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [?:1.8.0_112]
> at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)