You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Guy le Mar (JIRA)" <ji...@apache.org> on 2010/12/21 23:40:02 UTC

[jira] Created: (HIVE-1859) Hive's tinyint datatype is not supported by the Hive JDBC driver

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.


[jira] Commented: (HIVE-1859) Hive's tinyint datatype is not supported by the Hive JDBC driver

Posted by "Steven Wong (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Resolved: (HIVE-1859) Hive's tinyint datatype is not supported by the Hive JDBC driver

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (HIVE-1859) Hive's tinyint datatype is not supported by the Hive JDBC driver

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ 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.