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

Sqoop incremental import Upper bound value shall be customised by a query

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 1.4.7
    • 1.5.0
    • connectors/sqlserver
    • None

    Description

      Sqoop incremental import Upper bound value always pick system local time, which is CT zone, but source DB from MSSQL server is using GMT time. Due to this, after the records are being filtered and imported, there are 2000+ records missing.

      Here is the upper bound value setup from log:

      18/11/20 16:16:30 INFO tool.ImportTool: Lower bound value: '2018-11-20 15:04:08'
      18/11/20 16:16:30 INFO tool.ImportTool: Upper bound value: '2018-11-20 16:16:18.05'
      

      Similar issue which was fixed for Oracle: SQOOP-3288.
      A similar implementation shall be done for SQLServer.

      Attachments

        1. SQOOP-3460.1.patch
          4 kB
          Dénes Bodó

        Activity

          People

            dionusos Dénes Bodó
            dionusos Dénes Bodó
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: