Skip to content

Upgrade path from 0.8.2.Final to 0.9.0.Final #572

@gilesrapkinb

Description

@gilesrapkinb

Hello,

What is the upgrade path for 0.9.0 for iceberg tables that have been created using version 0.8.2? We are having some issues with the handling of date/time types when trying to upgrade from 0.8.2 to 0.9.0.

From the release notes I can see that handling of date/time fields has changed, as have some of the default settings.

  • Improved Data Type Handling:
    • Enhanced data type handling now supports datetime, timestamp, and date formats. (When time.precision.mode is not dynamic) The connector accurately converts these data types to their Iceberg equivalents.
      ...
      NOTE: Please be aware that these modifications may affect backward compatibility. Thorough testing is strongly recommended before deployment.

In our test environment on startup of 0.9.0, without changing any of the new default settings we do see some compatibility issues with tables that were previously created by 0.8.2. It appears to be trying to change the field type in the iceberg tables:

java.lang.IllegalArgumentException: Cannot change column type: last_active: long -> timestamp
java.lang.IllegalArgumentException: Cannot change column type: deleted_at: string -> timestamptz

Is there any way to configure 0.9.0 to be backward compatible with tables written by older versions? We have some quite large tables (1 billion+ rows), and having to backfill them again is not a viable option for us.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions