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

Support date/time columns for "--incremental append" option

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0-incubating
    • None
    • None

    Description

      Currently, when "--incremental append" option is used, only numeric columns are supported for check column.

      One workaround to "mimic" append mode with date/time values is
      1) select max(dt) from table into max_dt
      2) sqoop import --incremental lastmodified --check-column dt --last-value max_dt

      Attachments

        1. SQOOP-321.diff
          10 kB
          Bilung Lee

        Activity

          People

            bleeapache Bilung Lee
            bleeapache Bilung Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: