Skip to content

DOCS-163: INTERVAL. EN review, RU translation for #7452 - #7740

Merged
BayoNet merged 10 commits into
ClickHouse:masterfrom
BayoNet:l10n/CLICKHOUSEDOCS-163-interval
Dec 6, 2019
Merged

BayoNet merged 10 commits into
ClickHouse:masterfrom
BayoNet:l10n/CLICKHOUSEDOCS-163-interval

Conversation

@BayoNet

@BayoNet BayoNet commented Nov 12, 2019

Copy link
Copy Markdown
Contributor

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Documentation

@BayoNet BayoNet added comp-documentation Documentation (docs, examples, READMEs). pr-doc-fix labels Nov 12, 2019
@BayoNet
BayoNet requested a review from a team as a code owner November 12, 2019 17:08
Comment thread docs/ru/query_language/operators.md Resolved
Intervals with different types can't be combined. You can't use intervals like `4 DAY 1 HOUR`. Express intervals in units that are smaller or equal to the smallest unit of the interval, for example, the interval `1 day and an hour` interval can be expressed as `25 HOUR` or `90000 SECOND`.

You can't perform arithmetical operations with the `Interval`-type values, but you can add intervals of different types consequently to some value. For example:
You can't perform arithmetical operations with `Interval`-type values, but you can add different types of intervals to a values in `Date` or `DateTime`. For example:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

previous version was better, but mention of Date/DateTime is useful, so we'd better merge both versions

@BayoNet
BayoNet merged commit fe926f3 into ClickHouse:master Dec 6, 2019
@BayoNet
BayoNet deleted the l10n/CLICKHOUSEDOCS-163-interval branch December 6, 2019 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-documentation Documentation (docs, examples, READMEs).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants