hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Steinbach (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-1859) Hive's tinyint datatype is not supported by the Hive JDBC driver
Date Tue, 04 Jan 2011 20:05:52 GMT

     [ https://issues.apache.org/jira/browse/HIVE-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Carl Steinbach updated HIVE-1859:
---------------------------------

    Component/s:     (was: Drivers)
                 JDBC

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


Mime
View raw message