Uploaded image for project: 'Sqoop (READ-ONLY)'
  1. Sqoop (READ-ONLY)
  2. SQOOP-91

Empty "columns" clause leads to null pointer exception

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.3.0
    • Component/s: import
    • Labels:
      None

      Description

      e.g. sqoop import ... --table customers --columns ""

      As you'd expect - garbage in, garbage out.
      Anyhow, it'd be a bit nicer to tell the user they're an idiot than to A.V.

      (It also A.V.s if there is a column specified - but it doesn't exist in the table.)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jon Jonathan Hsieh
                Reporter:
                guylemar Guy le Mar
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: