Sqoop
  1. Sqoop
  2. SQOOP-321

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major 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

      1. SQOOP-321.diff
        10 kB
        Bilung Lee

        Activity

        Bilung Lee made changes -
        Attachment SQOOP-321.diff [ 12491654 ]
        Arvind Prabhakar made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.4.0 [ 12317345 ]
        Resolution Fixed [ 1 ]
        Bilung Lee created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development