Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default values with default column timestamp type DateTime64 does not works #630

Closed
antip00 opened this issue Sep 23, 2024 · 0 comments · Fixed by #633
Closed

default values with default column timestamp type DateTime64 does not works #630

antip00 opened this issue Sep 23, 2024 · 0 comments · Fixed by #633
Milestone

Comments

@antip00
Copy link
Contributor

antip00 commented Sep 23, 2024

I created table with DateTime64

DROP TABLE IF EXISTS default.test_interval_64;
CREATE TABLE IF NOT EXISTS default.test_interval_64
(
    d DateTime64,
    x UInt32
) ENGINE = MergeTree() ORDER BY (d);

INSERT INTO default.test_interval_64(d,x) SELECT toDateTime(now()-(number*10)) AS d, rand() AS x FROM numbers(1000);

Screenshot from 2024-09-23 17-10-14
Screenshot from 2024-09-23 17-11-16

And I can't specify Datetime64 Field but I can specify everything else

@Slach Slach added this to the 3.2.4 milestone Oct 1, 2024
@Slach Slach closed this as completed in #633 Oct 3, 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 a pull request may close this issue.

2 participants