sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Jarcec Cecho (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-2666) Write precision and scale information into Avro schema
Date Fri, 11 Mar 2016 17:05:39 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-2666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15191223#comment-15191223
] 

Jarek Jarcec Cecho commented on SQOOP-2666:
-------------------------------------------

Thanks for the ping [~proftodd], sorry that I've missed your previous message.

Now that SQOOP-1493 has been committed, for decimal columns we will automatically create {{scale}}
and {{precision}} fields as is requested by [Avro schema|http://avro.apache.org/docs/1.8.0/spec.html#Decimal]
definition. Hence I'm wondering what is the value to also append {{sqlScale}} and {{sqlPrecision}}
fields? Shouldn't the users be just able to use {{scale}}/{{precision}} instead?

> Write precision and scale information into Avro schema
> ------------------------------------------------------
>
>                 Key: SQOOP-2666
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2666
>             Project: Sqoop
>          Issue Type: Improvement
>          Components: codegen, test, tools
>    Affects Versions: 1.4.7
>            Reporter: John Todd
>            Priority: Minor
>              Labels: newbie, patch, patch-available, test
>             Fix For: 1.4.6
>
>         Attachments: SQOOP-2666.patch
>
>
> If present, write SQL precision and scale values from DECIMAL and NUMERIC column types
into generated Avro schema.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message