feat(reader): support timestamp type in create_column (#2180)

## Which issue does this PR close?

Similar to https://github.com/apache/iceberg-rust/pull/1847

- Closes #.

## What changes are included in this PR?

- RecordBatchTransformer does not support timestamp type. This PR adds
logic to create_column in the specific scenario for a schema evolution
with a new timestamp column.

## Are these changes tested?

<!--
Specify what test covers (unit test, integration test, etc.).

If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?
-->

2 unit tests
test_create_timestamp_microsecond_with_timezone_array_repeated and
test_create_timestamp_microsecond_array_repeated are added.
1 file changed
tree: e1e6fc9e5761bb01614ddf49ef2c00bfb89e2eb8
  1. .cargo/
  2. .devcontainer/
  3. .github/
  4. .idea/
  5. bindings/
  6. crates/
  7. dev/
  8. docs/
  9. scripts/
  10. website/
  11. .asf.yaml
  12. .gitattributes
  13. .gitignore
  14. .licenserc.yaml
  15. .taplo.toml
  16. .typos.toml
  17. Cargo.lock
  18. Cargo.toml
  19. CHANGELOG.md
  20. CONTRIBUTING.md
  21. deny.toml
  22. LICENSE
  23. Makefile
  24. NOTICE
  25. README.md
  26. rust-toolchain.toml
  27. rustfmt.toml
README.md

Apache Iceberg™ Rust

Rust implementation of Apache Iceberg™.

Components

The Apache Iceberg Rust project is composed of the following components:

NameReleaseDocs
icebergiceberg imagedocs release docs dev
iceberg-datafusioniceberg-datafusion imagedocs release docs dev
iceberg-catalog-glueiceberg-catalog-glue imagedocs release docs dev
iceberg-catalog-hmsiceberg-catalog-hms imagedocs release docs dev
iceberg-catalog-resticeberg-catalog-rest imagedocs release docs dev

Iceberg Rust Implementation Status

The features that Iceberg Rust currently supports can be found here.

Supported Rust Version

Iceberg Rust is built and tested with stable rust, and will keep a rolling MSRV (minimum supported rust version). At least three months from latest rust release is supported. MSRV is updated when we release iceberg-rust.

Check the current MSRV on crates.io.

Contribute

Apache Iceberg is an active open-source project, governed under the Apache Software Foundation (ASF). Apache Iceberg Rust is always open to people who want to use or contribute to it. Here are some ways to get involved.

The Apache Iceberg community is built on the principles described in the Apache Way and all who engage with the community are expected to be respectful, open, come with the best interests of the community in mind, and abide by the Apache Foundation Code of Conduct.

Users

  • Databend: An open-source cloud data warehouse that serves as a cost-effective alternative to Snowflake.
  • Lakekeeper: An Apache-licensed Iceberg REST Catalog with data access controls.
  • Moonlink: A Rust library that enables sub-second mirroring (CDC) of Postgres tables into Iceberg.
  • RisingWave: A Postgres-compatible SQL database designed for real-time event streaming data processing, analysis, and management.
  • Wrappers: Postgres Foreign Data Wrapper development framework in Rust.
  • ETL: Stream your Postgres data anywhere in real-time.

License

Licensed under the Apache License, Version 2.0