You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Vyacheslav Zholudev (JIRA)" <ji...@apache.org> on 2013/04/05 15:14:22 UTC

[jira] [Updated] (SQOOP-977) Fields in generated avro schema are always lower-cased

     [ https://issues.apache.org/jira/browse/SQOOP-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vyacheslav Zholudev updated SQOOP-977:
--------------------------------------

    Description: 
When importing from Postgres (and I guess, from other databases) to Avro, the column names that I give to fields are not case-sensitive and always appear lower cased in avro schema. 
E.g. if I provide a query like:

{code}
select account_id as accountId from accounts
{code}

in avro schema there is the "accountid" field instead of "accountId"

Is it something that can be easily fixed?


  was:
When importing from Postgres (and I guess, from other databases) to Avro, the column names that I give to fields are not case-sensitive and always appear lower cased in avro schema. 
E.g. if I provide a query like:
{code}
select account_id as accountId from accounts
{code}

in avro schema there is the "accountid" field instead of "accountId"

Is it something that can be easily fixed?


    
> Fields in generated avro schema are always lower-cased
> ------------------------------------------------------
>
>                 Key: SQOOP-977
>                 URL: https://issues.apache.org/jira/browse/SQOOP-977
>             Project: Sqoop
>          Issue Type: Improvement
>            Reporter: Vyacheslav Zholudev
>              Labels: avro
>
> When importing from Postgres (and I guess, from other databases) to Avro, the column names that I give to fields are not case-sensitive and always appear lower cased in avro schema. 
> E.g. if I provide a query like:
> {code}
> select account_id as accountId from accounts
> {code}
> in avro schema there is the "accountid" field instead of "accountId"
> Is it something that can be easily fixed?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira