You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (JIRA)" <ji...@apache.org> on 2011/01/04 21:05:53 UTC
[jira] Resolved: (HIVE-1859) Hive's tinyint datatype is not
supported by the Hive JDBC driver
[ https://issues.apache.org/jira/browse/HIVE-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach resolved HIVE-1859.
----------------------------------
Resolution: Duplicate
> Hive's tinyint datatype is not supported by the Hive JDBC driver
> ----------------------------------------------------------------
>
> Key: HIVE-1859
> URL: https://issues.apache.org/jira/browse/HIVE-1859
> Project: Hive
> Issue Type: Bug
> Components: JDBC
> Affects Versions: 0.5.0
> Environment: Create a Hive table containing a tinyint column.
> Then using the Hive JDBC driver execute a Hive query that selects data from this table.
> An error is then encountered.
> Reporter: Guy le Mar
>
> java.sql.SQLException: Could not create ResultSet: org.apache.hadoop.hive.serde2.dynamic_type.ParseException: Encountered "byte" at line 1, column 47.
> Was expecting one of:
> "bool" ...
> "i16" ...
> "i32" ...
> "i64" ...
> "double" ...
> "string" ...
> "map" ...
> "list" ...
> "set" ...
> "required" ...
> "optional" ...
> "skip" ...
> <tok_int_constant> ...
> <IDENTIFIER> ...
> "}" ...
> at org.apache.hadoop.hive.jdbc.HiveResultSet.initDynamicSerde(HiveResultSet.java:120)
> at org.apache.hadoop.hive.jdbc.HiveResultSet.<init>(HiveResultSet.java:74)
> at org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:178)
> at com.quest.orahive.HiveJdbcClient.main(HiveJdbcClient.java:117)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.