You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Phabricator (JIRA)" <ji...@apache.org> on 2013/06/19 20:39:20 UTC

[jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type

    [ https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13688295#comment-13688295 ] 

Phabricator commented on HIVE-4172:
-----------------------------------

ashutoshc has requested changes to the revision "HIVE-4172 [jira] JDBC2 does not support VOID type".

  Few more places for changing void to null.

INLINE COMMENTS
  jdbc/src/java/org/apache/hive/jdbc/HiveResultSetMetaData.java:119 Shouldn't this be "null" ?
  serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyVoid.java:23 Shall we call this class LazyNull ?
  service/src/java/org/apache/hive/service/cli/Type.java:30 Shall we call this "NULL" ?

REVISION DETAIL
  https://reviews.facebook.net/D9555

BRANCH
  HIVE-4172

ARCANIST PROJECT
  hive

To: JIRA, ashutoshc, navis
Cc: prasadm

                
> 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
>    Affects Versions: 0.11.0
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Minor
>              Labels: HiveServer2
>         Attachments: HIVE-4172.D9555.1.patch, HIVE-4172.D9555.2.patch, HIVE-4172.D9555.3.patch, HIVE-4172.D9555.4.patch, HIVE-4172.D9555.5.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