Skip to content

[core] The record level expired time field type is automatically recognized.#4458

Merged
JingsongLi merged 2 commits intoapache:masterfrom
zhuangchong:record-level-fieldtype-auto
Nov 6, 2024
Merged

[core] The record level expired time field type is automatically recognized.#4458
JingsongLi merged 2 commits intoapache:masterfrom
zhuangchong:record-level-fieldtype-auto

Conversation

@zhuangchong
Copy link
Contributor

Purpose

The record level expired time field type is automatically recognized.

The user is not required to enter the field type record-level.time-field-type, and the input may be incorrect.

Tests

API and Format

Documentation

Copy link
Contributor

@wwj6591812 wwj6591812 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a good Job.

+1

.defaultValue(TimeFieldType.SECONDS_INT)
.withDescription(
"Time field type for record level expire, it can be seconds-int,seconds-long, millis-long or timestamp.");
"Time field for record level expire. It supports the following types: `timestamps in seconds with INT`,`timestamps in seconds with BIGINT`, `Timestamps in milliseconds with BIGINT` or `Timestamp`.");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

timestamps in milliseconds with BIGINT or timestamp

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@wkang13579
Copy link
Contributor

+1, nice job

@JingsongLi
Copy link
Contributor

Thanks @zhuangchong , Nice job!

Copy link
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@JingsongLi JingsongLi merged commit b4601f3 into apache:master Nov 6, 2024
@zhuangchong zhuangchong deleted the record-level-fieldtype-auto branch November 6, 2024 05:54
hang8929201 pushed a commit to hang8929201/paimon that referenced this pull request Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants