Return-Path: X-Original-To: apmail-avro-dev-archive@www.apache.org Delivered-To: apmail-avro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 58DA111E84 for ; Thu, 10 Apr 2014 20:36:22 +0000 (UTC) Received: (qmail 84273 invoked by uid 500); 10 Apr 2014 20:36:20 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 83949 invoked by uid 500); 10 Apr 2014 20:36:18 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 83828 invoked by uid 99); 10 Apr 2014 20:36:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2014 20:36:15 +0000 Date: Thu, 10 Apr 2014 20:36:15 +0000 (UTC) From: "Skye Wanderman-Milne (JIRA)" To: dev@avro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AVRO-1402) Support for DECIMAL type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AVRO-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13965808#comment-13965808 ] Skye Wanderman-Milne commented on AVRO-1402: -------------------------------------------- This looks great Tom! If I understand correctly, this also allows for a single logical type to have multiple possible encodings; for example, we could someday add an alternate decimal encoding that is backed by "fixed" rather than "bytes". One question: what do you mean by "Language implementations may choose to represent logical types with an appropriate native type, although this is not required"? Is this referring to logical types not explicitly defined in the spec? > 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.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)