[ https://issues.apache.org/jira/browse/HIVE-6992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14174940#comment-14174940 ]
Richard Webb commented on HIVE-6992: ------------------------------------ I'd say this was a bug rather than a new feature. Getting the metadata of a prepared statement without executing it is rather important for us. > Implement PreparedStatement.getMetaData(), getParmeterMetaData() > ---------------------------------------------------------------- > > Key: HIVE-6992 > URL: https://issues.apache.org/jira/browse/HIVE-6992 > Project: Hive > Issue Type: Bug > Components: JDBC > Reporter: Bill Oliver > > It would be very helpful to have methods PreparedStatement.getMetaData() and > also PreparedStatement.getParameterMetaData() implemented. > I especially would like PreparedStatmeent.getMetaData() implemented, as I > could prepare a SQL statement, and then get information about the result set, > as well as information that the query is valid. > I am pretty sure this information is available in some form. When you do an > "EXPLAIN query", the explain operation shows information about the result set > including the column name/aliases and the column types. > thanks you > -bill -- This message was sent by Atlassian JIRA (v6.3.4#6332)