Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-1055

[C++] Timestamp values read in Hive are different when using ORC file created using CSV to ORC converter tools

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.3
    • 1.7.3
    • C++
    • None

    Description

      I have a CSV file that has a column having timestamp values as 0001-01-01 00:00:00.0. Then I convert CSV file to ORC file using CSV to ORC converter and place the ORC file in a hive table backed by ORC files. On querying the data using Hive beeline and Spark SQL, different results are obtained

      If converted using CPP tool, value read using Hive beeline and Spark SQL queries is 0001-01-03 00:00:00

      Reported by vraval48

      Attachments

        1. converted_by_cpp.orc
          0.3 kB
          Yiqun Zhang
        2. timestamp.csv
          0.0 kB
          Yiqun Zhang

        Issue Links

          Activity

            People

              rex_xinzh ZhangXin
              Guiyankuang Yiqun Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: