hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-6423) Read Timestamps and Dates from Avro files (stored as Strings in ISO format)
Date Thu, 13 Feb 2014 19:27:20 GMT


Hive QA commented on HIVE-6423:

{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 5094 tests executed
*Failed tests:*

Test results:
Console output:

Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 2 tests failed

This message is automatically generated.


> Read Timestamps and Dates from Avro files (stored as Strings in ISO format)
> ---------------------------------------------------------------------------
>                 Key: HIVE-6423
>                 URL:
>             Project: Hive
>          Issue Type: New Feature
>          Components: HiveServer2
>    Affects Versions: 0.12.0
>            Reporter: Nick White
>         Attachments: HIVE-6423.patch
> Avro doesn't have native timestamp or date data types. Some tools (e.g. apache Sqoop)
work around this by adding the java.sql.Types type number as an "sqlType" attribute to the
Avro schema JSON field element. The attached patch makes the Avro SerDe look for an sqlType
attribute, and if it is a Hive primitive type that's not an Avro primitive type (i.e. timestamp
and date) it returns the appropriate Hive type (the one corresponding to the SQL type).

This message was sent by Atlassian JIRA

View raw message