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

Prasanth Jayachandran commented on HIVE-19682:
----------------------------------------------

The 2nd int argument looks unused. Maybe we should remove it altogether? Or use 
that int as enum equivalent? enum ordinal 0 is GET_SCHEMA, >0 will be unused 
for now (can be used for other support in future). 

> Provide option for GenericUDTFGetSplits to return only schema metadata
> ----------------------------------------------------------------------
>
>                 Key: HIVE-19682
>                 URL: https://issues.apache.org/jira/browse/HIVE-19682
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Eric Wohlstadter
>            Assignee: Eric Wohlstadter
>            Priority: Major
>         Attachments: HIVE-19682.1.patch
>
>
> For some uses cases it is necessary to know the output schema for a HiveQL 
> before executing the query. But there is no existing client API that provides 
> this information.
> Hive JDBC doesn't provide the schema for parametric types in 
> {{ResultSetMetaData}}.
> GenericUDTFGetSplits bundles the proper schema metadata with the fragments 
> for input splits. An option can be added to return only the schema metadata 
> from compilation, and the generation of input splits can be skipped.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to