Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-1297

[Java] SchemaConverter should not convert from Timestamp(TimeUnit.SECOND) and Timestamp(TimeUnit.NANOSECOND) of Arrow

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.11.0
    • parquet-mr
    • None

    Description

      Arrow's 'Timestamp' definition is below:

      {
        "name" : "timestamp",
        "unit" : "SECOND|MILLISECOND|MICROSECOND|NANOSECOND"
      }
      

      http://arrow.apache.org/docs/metadata.html

      But Parquet only supports 'TIMESTAMP_MILLIS' and 'TIMESTAMP_MICROS'.
      https://github.com/Apache/parquet-format/blob/master/LogicalTypes.md

      Therefore SchemaConverter should not convert from Timestamp(TimeUnit.SECOND) and Timestamp(TimeUnit.NANOSECOND) of Arrow to Parquet.

      Related:
      https://issues.apache.org/jira/browse/PARQUET-1285
       

      Attachments

        Issue Links

          Activity

            People

              masayuki038 Masayuki Takahashi
              masayuki038 Masayuki Takahashi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: