Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-977

Fields in generated avro schema are always lower-cased

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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:

      select account_id as accountId from accounts
      

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

      Is it something that can be easily fixed?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              detonator413 Vyacheslav Zholudev
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: