[
https://issues.apache.org/jira/browse/AVRO-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13971638#comment-13971638
]
Ryan Blue commented on AVRO-1402:
---------------------------------
I don't think we need to work with decimal objects yet, that part is optional.
But I would like to get the specification updated so that is finished and other
projects can work in parallel. I also think it is a good idea to add the
LogicalType class to Schema so that that spec is correctly enforced for decimal
metadata.
I'll move LogicalType to its own file, add equals/hash implementations, and
test. Am I missing anything that needs to be done for this to be supported in
the Schema?
> Support for DECIMAL type
> ------------------------
>
> Key: AVRO-1402
> URL: https://issues.apache.org/jira/browse/AVRO-1402
> Project: Avro
> Issue Type: New Feature
> Affects Versions: 1.7.5
> Reporter: Mariano Dominguez
> Assignee: Tom White
> Priority: Minor
> Labels: Hive
> Fix For: 1.7.7
>
> Attachments: AVRO-1402-logical-type-spec-2.patch,
> AVRO-1402-logical-type-spec-3.patch, AVRO-1402-logical-type-spec-4.patch,
> AVRO-1402-logical-type-spec-5.patch, AVRO-1402-logical-type-spec-6.patch,
> AVRO-1402-logical-type-spec.patch, AVRO-1402.patch, AVRO-1402.patch,
> AVRO-1402.patch, AVRO-1402.patch, UnixEpochRecordMapping.patch
>
>
> Currently, Avro does not seem to support a DECIMAL type or equivalent.
> http://avro.apache.org/docs/1.7.5/spec.html#schema_primitive
> Adding DECIMAL support would be particularly interesting when converting
> types from Avro to Hive, since DECIMAL is already a supported data type in
> Hive (0.11.0).
--
This message was sent by Atlassian JIRA
(v6.2#6252)