You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Steven Wong (JIRA)" <ji...@apache.org> on 2010/12/23 21:56:47 UTC
[jira] Commented: (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:comment-tabpanel&focusedCommentId=12974733#action_12974733 ]
Steven Wong commented on HIVE-1859:
-----------------------------------
This should have been fixed by HIVE-1378 in trunk (0.7). Please give that a try.
> 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: Drivers
> 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.