Skip to content

Errors when trying S3TablesSink with Iceberg v 1.9.1 #140

@An-Vor-88

Description

@An-Vor-88

I've used this example as a base for my work: https://github.com/aws-samples/amazon-managed-service-for-apache-flink-examples/blob/main/java/Iceberg/S3TableSink/pom.xml#L22
It uses Iceberg version 1.6.1 and works fine, but when I've tried a more recent version 1.9.1, it starts throwing errors like:

  • java.lang.ClassNotFoundException: org.apache.iceberg.types.Types$UnknownType
  • java.lang.NoSuchMethodError: 'org.apache.iceberg.types.Type org.apache.iceberg.types.Types.fromTypeName(java.lang.String)'

Could you please update this example to the latest Iceberg version.
Also the current pom file uses some ambiguous dependencies, like it has two identical iceberg-flink dependencies (lines 140 and 145) and in addition iceberg-flink-1.19 under Logging section (line 186).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions