Skip to content

[Feature]: data-retention, add support for partition column type Date #3632

@vanphuoc3012

Description

@vanphuoc3012

Description

Currently, data expire feature only support timestamp/timestampz/long type and string type field in date format

data-expire.field NULL Field used to determine data expiration, supporting timestamp/timestampz/long type and string type field in date format

It would be nice if support partition column type Date.

Use case/motivation

amoro-ams 2025-06-20 10:19:10,468 WARN [async-data-expiring-executor-0] [org.apache.amoro.server.table.TableConfigurations] [] - Table(iceberg-hive-catalog.db.my_table) field(etl_date) type(DATE) is not supported for data exp
iration, please use the following types: LONG, TIMESTAMP, STRING

Describe the solution

No response

Subtasks

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions