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

Mani M commented on HIVE-21270:
-------------------------------

Add the function output here for easy reference.

Add some more test case in the same test case file to get the schemas from 

Hive external tables

Internal tables

Hive tables referred to hbase objects

> 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
>
>          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