JingsongLi opened a new pull request #11602: [FLINK-16912][parquet] Introduce table row write support for parquet writer URL: https://github.com/apache/flink/pull/11602 ## What is the purpose of the change Add row support for parquet writer. ## Brief change log - Add ParquetRowDataBuilder - Add ParquetRowDataWriter Timestamp support: - We only support INT96 bytes now, julianDay(4) + nanosOfDay(8). See https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#timestamp TIMESTAMP_MILLIS and TIMESTAMP_MICROS are the deprecated ConvertedType. - Timezone: provide a utcTimestamp bool, true using utc, false using local time zone. Decimal support: - isLegacyFormat is true: use FIXED_LEN_BYTE_ARRAY to support all decimal, this is compatible with hive and impala. - isLegacyFormat is false: use int32/int64/FIXED_LEN_BYTE_ARRAY to support all kinds of precision decimal. This is compatible with spark. ## Verifying this change `ParquetRowDataWriterTest` ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (yes / **no**) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (yes / **no**) - The serializers: (yes / **no** / don't know) - The runtime per-record code paths (performance sensitive): (yes / **no** / don't know) - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / **no** / don't know) - The S3 file system connector: (yes / **no** / don't know) ## Documentation - Does this pull request introduce a new feature? (**yes** / no) - If yes, how is the feature documented? (JavaDocs)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
