You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2016/04/08 21:57:25 UTC
[jira] [Created] (HIVE-13462) HiveResultSetMetaData.getPrecision()
fails for NULL columns
Jason Dere created HIVE-13462:
---------------------------------
Summary: HiveResultSetMetaData.getPrecision() fails for NULL columns
Key: HIVE-13462
URL: https://issues.apache.org/jira/browse/HIVE-13462
Project: Hive
Issue Type: Bug
Components: JDBC
Reporter: Jason Dere
Assignee: Jason Dere
Can happen if you have a null in the select clause, for example "select null, key, value from src"
{noformat}
java.sql.SQLException: Unrecognized column type: NULL
at org.apache.hive.jdbc.JdbcColumn.typeStringToHiveType(JdbcColumn.java:160)
at org.apache.hive.jdbc.HiveResultSetMetaData.getHiveType(HiveResultSetMetaData.java:48)
at org.apache.hive.jdbc.HiveResultSetMetaData.getPrecision(HiveResultSetMetaData.java:86)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)