Closed blind-oracle closed 5 years ago
Yes, it seems it is already possible to remove support of very old CH versions.
@lomik Good, I've started the cleanup, will do a PR.
One more question: Deleted column. Is it used anywhere? carbon-clickhouse does not seem to write or update it and graphite-clickhouse only checks if it is = 0 in a number of queries.
Maybe we should drop it from both of them and from tables?
I think that Deleted
was no longer needed after release of ALTER TABLE DELETE
Ok, then we can drop it safely probably from both daemons.
@lomik BTW If I'm reading CH docs correctly we need to have a DateTime column for GraphiteMergeTree table engine, but now we have uint32 for it with unix timestamp.
Although Clickhouse seem to work fine with it maybe we need to move to the documented structure, what do you think?
May be problem in documentation
Graphouse is using uint32 too https://github.com/yandex/graphouse/blob/master/doc/install.md
I know another problem with documentation https://github.com/yandex/ClickHouse/issues/1960
@lomik It looks like that DateTime type is just a representation of uint32 column type (CH does not have a separate column type for Dates). So CH does not care for the data type, it just treats it as UNIX timestamp under the hood anyway.
So docs are right, they just don't state that uint's will work too.
@lomik Do you think it's time to change the following:
I can provide patches if it's feasible.