hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guy le Mar (JIRA)" <j...@apache.org>
Subject [jira] Created: (HIVE-1861) Hive's float datatype is not supported by the Hive JDBC driver
Date Tue, 21 Dec 2010 22:50:01 GMT
Hive's float datatype is not supported by the Hive JDBC driver
--------------------------------------------------------------

                 Key: HIVE-1861
                 URL: https://issues.apache.org/jira/browse/HIVE-1861
             Project: Hive
          Issue Type: Bug
          Components: Drivers
    Affects Versions: 0.5.0
         Environment: Create a Hive table containing a float 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


ERROR: DDL specifying type float which has not been defined
java.lang.RuntimeException: specifying type float which has not been defined
        at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.FieldType(thrift_grammar.java:1879)
        at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.Field(thrift_grammar.java:1545)
        at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.FieldList(thrift_grammar.java:1501)
        at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.Struct(thrift_grammar.java:1171)
        at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.TypeDefinition(thrift_grammar.java:497)
        at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.Definition(thrift_grammar.java:439)
        at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.Start(thrift_grammar.java:101)
        at org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDe.initialize(DynamicSerDe.java:102)
        at org.apache.hadoop.hive.jdbc.HiveResultSet.initDynamicSerde(HiveResultSet.java:117)
        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)

org.apache.hadoop.hive.serde2.SerDeException: java.lang.RuntimeException: specifying type
float which has not been defined
        at org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDe.initialize(DynamicSerDe.java:117)
        at org.apache.hadoop.hive.jdbc.HiveResultSet.initDynamicSerde(HiveResultSet.java:117)
        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)
Caused by: java.lang.RuntimeException: specifying type float which has not been defined
        at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.FieldType(thrift_grammar.java:1879)
        at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.Field(thrift_grammar.java:1545)
        at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.FieldList(thrift_grammar.java:1501)
        at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.Struct(thrift_grammar.java:1171)
        at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.TypeDefinition(thrift_grammar.java:497)
        at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.Definition(thrift_grammar.java:439)
        at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.Start(thrift_grammar.java:101)
        at org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDe.initialize(DynamicSerDe.java:102)
        ... 4 more

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