[
https://issues.apache.org/jira/browse/PARQUET-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16254569#comment-16254569
]
Ryan Blue commented on PARQUET-1160:
------------------------------------
Avro implements the same spec for representing decimal as bytes. That code is
here:
https://github.com/apache/avro/blob/master/lang/java/avro/src/main/java/org/apache/avro/Conversions.java#L88-L96
It also has tests that you could run to get a byte array for a decimal value:
https://github.com/apache/avro/blob/master/lang/java/avro/src/test/java/org/apache/avro/generic/TestGenericLogicalTypes.java#L154-L173
> [C++] Implement BYTE_ARRAY-backed Decimal reads
> -----------------------------------------------
>
> Key: PARQUET-1160
> URL: https://issues.apache.org/jira/browse/PARQUET-1160
> Project: Parquet
> Issue Type: Task
> Components: parquet-cpp
> Affects Versions: cpp-1.3.0
> Reporter: Phillip Cloud
> Assignee: Phillip Cloud
>
> These are valid in the parquet spec, but it seems like no system in use today
> implements a writer for this type.
> What systems support writing Decimals with this underlying type?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)