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

Shubham Chaurasia commented on HIVE-21270:
------------------------------------------

Yes, it would raise the same Parse/Semantic Exception that would be raised if 
some wrong query is executed.

> A UDTF to show schema (column names and types) of given query
> -------------------------------------------------------------
>
>                 Key: HIVE-21270
>                 URL: https://issues.apache.org/jira/browse/HIVE-21270
>             Project: Hive
>          Issue Type: New Feature
>          Components: UDF
>    Affects Versions: 4.0.0
>            Reporter: Shubham Chaurasia
>            Assignee: Shubham Chaurasia
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-21270.1.patch, HIVE-21270.2.patch, 
> HIVE-21270.3.patch, HIVE-21270.4.patch, HIVE-21270.5.patch, 
> HIVE-21270.6.patch, HIVE-21270.7.patch
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> We can get ResultSet metadata using \{{ResultSet#getMetaData()}} but JDBC 
> provides no way of getting nested data types(of columns) associated with it. 
> This UDTF helps to retrieve each column name and it's data type.



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

Reply via email to