hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Mujumdar" <>
Subject Review Request: HIVE-2398 : generate schema for 'set' command resultset
Date Fri, 19 Aug 2011 22:37:45 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for hive and Carl Steinbach.


The Hive server currently has the framework to process the Cli commands like 'set'. But it
returns an empty schema definition for these resultsets. The patch here is to add a getSchema()
to the CommandResponse interface. The SetProcessor is modified to build a schema object which
is returned with getSchema.
HiveServer is modified to call the getSchema for command cases as well.

This addresses bug HIVE-2398.


  ql/src/java/org/apache/hadoop/hive/ql/processors/ 4f7f472 
  ql/src/java/org/apache/hadoop/hive/ql/processors/ 97fa1ab 
  service/src/java/org/apache/hadoop/hive/service/ c4b041f 



Tested with ODBC program to execute the set command. Ran Hive unit tests.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message