Skip to content

The decimal data type is transformed after the data is inserted. #751

@as10128

Description

@as10128

Apache Iceberg version

0.6.0 (latest release)

Please describe the bug 🐞

Version: Pyiceberg 0.6.1

I create a table, there are multiple columns of type decimal, decimal(32,16), decimal(32,2),
after I build the table successfully, the metadata.json file shows this,
image
After using the append method to insert data, the columns of decimal data type all become decimal(32,2).
image
image

image I continue to insert data, and an error is reported. image I still want to use the schema I created as the schema for my iceber table, how do I do that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions