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

Lost time millisecond precision for Time data type when importing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.6
    • None
    • tools
    • None

    Description

      To re-produce, create a MySQL database with time(6) data type:

      CREATE TABLE `test` (
        `a` time(6) DEFAULT NULL
      ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
      
      INSERT INTO test VALUES ('16:56:53.099999');
      

      Import the data into Sqoop and data will become "16:56:53", the millisecond precision will be lost.

      Attachments

        Issue Links

          Activity

            People

              ericlin Eric Lin
              ericlin Eric Lin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: