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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0-incubating
    • Component/s: None
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: