Skip to content

Support writing timestamp(0) as datetime type in ClickHouse#10751

Merged
ebyhr merged 2 commits intotrinodb:masterfrom
ebyhr:ebi/clickhouse-timestamp
Jan 26, 2022
Merged

Support writing timestamp(0) as datetime type in ClickHouse#10751
ebyhr merged 2 commits intotrinodb:masterfrom
ebyhr:ebi/clickhouse-timestamp

Conversation

@ebyhr
Copy link
Copy Markdown
Member

@ebyhr ebyhr commented Jan 24, 2022

No description provided.

@cla-bot cla-bot bot added the cla-signed label Jan 24, 2022
@ebyhr
Copy link
Copy Markdown
Member Author

ebyhr commented Jan 24, 2022

@ebyhr ebyhr requested a review from hashhar January 25, 2022 05:33
Copy link
Copy Markdown
Member

@hashhar hashhar left a comment

Choose a reason for hiding this comment

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

The PR title sounds misleading. It seems we supported writing timestamp(0) but didn't have any validation (in fromTrinoTimestamp) to ensure that values which have higher precision are not allowed.

Looks good to me otherwise.

@ebyhr
Copy link
Copy Markdown
Member Author

ebyhr commented Jan 25, 2022

@ebyhr ebyhr force-pushed the ebi/clickhouse-timestamp branch from 1768293 to 4d7b6b6 Compare January 25, 2022 06:55
@ebyhr ebyhr merged commit 716f36f into trinodb:master Jan 26, 2022
@ebyhr ebyhr deleted the ebi/clickhouse-timestamp branch January 26, 2022 00:14
@github-actions github-actions bot added this to the 370 milestone Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants