Skip to content

Question about day transform result type  #10616

@lurnagao-dahua

Description

@lurnagao-dahua

Apache Iceberg version

1.5.2 (latest release)

Query engine

None

Please describe the bug 🐞

Hi!
The transform name 'day' result type is 'int' in spec.md and partition-transforms
and the code in Days.java is:
@Override public Type getResultType(Type sourceType) { return Types.DateType.get(); }
So may I ask if the document was written incorrectly and the actual return type is date?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions