Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4172

JDBC2 does not support VOID type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.11.0
    • 0.12.0
    • HiveServer2, JDBC

    Description

      In beeline, "select key, null from src" fails with exception,

      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)
      

      Attachments

        1. HIVE-4172.D9555.1.patch
          41 kB
          Phabricator
        2. HIVE-4172.D9555.2.patch
          40 kB
          Phabricator
        3. HIVE-4172.D9555.3.patch
          98 kB
          Phabricator
        4. HIVE-4172.D9555.4.patch
          16 kB
          Phabricator
        5. HIVE-4172.D9555.5.patch
          33 kB
          Phabricator

        Issue Links

          Activity

            People

              navis Navis Ryu
              navis Navis Ryu
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: