Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 108A1FFB5 for ; Mon, 8 Apr 2013 05:55:22 +0000 (UTC) Received: (qmail 85342 invoked by uid 500); 8 Apr 2013 05:55:21 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 85216 invoked by uid 500); 8 Apr 2013 05:55:21 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 85079 invoked by uid 500); 8 Apr 2013 05:55:20 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 85040 invoked by uid 99); 8 Apr 2013 05:55:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2013 05:55:19 +0000 Date: Mon, 8 Apr 2013 05:55:19 +0000 (UTC) From: "Prasad Mujumdar (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625174#comment-13625174 ] Prasad Mujumdar commented on HIVE-4172: --------------------------------------- [~navis] HiveServer thrift code was generated using 0.9. [~ashutoshc] are you referring to the hive_service/* files ? I guess those should be excluded from the patch since they are not generated by TCLIService.thrift > JDBC2 does not support VOID type > -------------------------------- > > Key: HIVE-4172 > URL: https://issues.apache.org/jira/browse/HIVE-4172 > Project: Hive > Issue Type: Improvement > Components: HiveServer2, JDBC > Reporter: Navis > Assignee: Navis > Priority: Minor > Labels: HiveServer2 > Attachments: HIVE-4172.D9555.1.patch, HIVE-4172.D9555.2.patch, HIVE-4172.D9555.3.patch > > > In beeline, "select key, null from src" fails with exception, > {noformat} > org.apache.hive.service.cli.HiveSQLException: Error running query: java.lang.NullPointerException > at org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:112) > at org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:166) > at org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148) > at org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:183) > at org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133) > at org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118) > at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) > at org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:39) > at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira