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

Fields in generated avro schema are always lower-cased

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    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

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

            Dates

              Created:
              Updated: