Commit Graph

4963 Commits

Author SHA1 Message Date
Robert Schulze
f121941916
feat: allow custom error code for SQL function throwIf() 2022-08-17 21:14:40 +00:00
Robert Schulze
55ff546322
Fix typo 2022-08-11 20:42:59 +00:00
Dan Roscigno
35ee71a908
Merge pull request #40110 from ClickHouse/fix-docs-for-39287
Fix documentation of "modulo(a, b)"
2022-08-11 16:14:28 -04:00
Robert Schulze
1f10c4be8c
Update docs/ru/sql-reference/functions/arithmetic-functions.md
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2022-08-11 11:25:33 +02:00
Robert Schulze
aa42a42e0f
Fix documentation of "modulo(a, b)"
Fixes #39287

ClickHouse uses the same semantics for modulo on floats as Python, i.e.
  4.2 % 2.0 = 0.2
and not as previously documented:
  4.2 % 2.0 --> (drop decimal places) --> 4 % 2 = 0.

Fixed the documentation.
2022-08-11 08:23:43 +00:00
Alexey Milovidov
8374f31306
Merge pull request #39425 from arenadata/ADQM-485
Add support of dates from year 1900 to 2299 for Date32 and DateTime64
2022-08-11 05:01:53 +03:00
Rich Raposa
9f85d85e08
The admonitions were missing section endings (#40073) 2022-08-10 21:08:40 +02:00
Alexey Milovidov
53097b3d65
Merge pull request #40015 from tbragin/master
Add parseDateTime64BestEffortUS* functions
2022-08-10 20:00:50 +03:00
Tanya Bragin
be51187f85 Update tests to use UTC, and docs to consistent order 2022-08-09 17:27:06 -07:00
Alexey Milovidov
97af108756
Update type-conversion-functions.md 2022-08-10 02:00:54 +03:00
Robert Schulze
76cc0cdc27
Remove redundancy in documentation of parseDateTimeBestEffortUS[OrNull|OrZero]()
The documentation of functions
- parseDateTimeBestEffortUS(),
- parseDateTimeBestEffortUSOrNull() and
- parseDateTimeBestEffortUSOrZero()
previously repeated the text of functions
- parseDateTimeBestEffort(),
- parseDateTimeBestEffortOrNull() and
- parseDateTimeBestEffortOrZero().

In the docs of the first function, the duplication  was removed and we
now emphasize the difference to the non-US version more clearly.

The docs of the second and third functions were just stripped of the
duplication. Chinese docs did not mention the US-date variants, hence
nothing was changed in them.
2022-08-09 16:54:06 +00:00
Robert Schulze
7c59331e0e
Make examples for function 'parseDateTimeBestEffort()' less ambiguous
"12/12" and "12-12" could be interpreted as MM/DD or DD/MM and therefore
were not great examples.
2022-08-09 08:56:05 +00:00
Tanya Bragin
eb61db3b67 initial changes to close #37492 2022-08-08 19:45:00 -07:00
nathanbegbie
b4c3ff0cef
typo: PostgerSQL -> PostgreSQL 2022-08-03 16:01:24 +03:00
nathanbegbie
de91875b5e
Revert "typo: PostgerSQL -> PostgreSQL"
This reverts commit fda8b113dc.
2022-08-03 15:59:36 +03:00
nathanbegbie
fda8b113dc
typo: PostgerSQL -> PostgreSQL 2022-08-03 15:54:58 +03:00
Alexey Milovidov
3de747a6e2
Merge pull request #39746 from ClickHouse/cleanup-projection-setting
Cleanup usages of `allow_experimental_projection_optimization` setting, part 1
2022-08-01 19:21:30 +03:00
Ilya Yatsishin
c882bdc88e
Merge pull request #35968 from ClickHouse/interserver_listen_port 2022-08-01 13:57:17 +02:00
Robert Schulze
49a708ff29
Merge pull request #39596 from ClickHouse/move-woboq
Merge Woboq code browser page into "Getting Started" document
2022-08-01 13:44:33 +02:00
Kruglov Pavel
dfdfabec94
Merge pull request #39218 from evillique/file_default_value
Add default argument to the function `file`
2022-08-01 13:04:19 +02:00
Robert Schulze
c9e1364cd0
Temporarily restore Woboq pages 2022-08-01 08:39:22 +00:00
Alexey Milovidov
6a2f7d0c8f
Merge branch 'master' into interserver_listen_port 2022-07-31 22:51:38 +03:00
Robert Schulze
fb622e4c4b
Remove IDE recommendation from Russian / Chinese translations of dev guide
- IDEs are already recommended at length earlier in the documents
2022-07-31 12:53:15 +00:00
Robert Schulze
52d08d9db4
Merge pull request #39520 from ClickHouse/no-split-binary
Remove SPLIT_BINARY
2022-07-31 14:23:31 +02:00
Alexey Milovidov
f80a4c184e
Merge branch 'master' into interserver_listen_port 2022-07-31 01:22:32 +03:00
Alexey Milovidov
441f2feb49 Cleanup usages of allow_experimental_projection_optimization setting, part 1 2022-07-30 23:40:21 +02:00
Robert Schulze
b52843d5fd
Merge pull request #37951 from zvonand/dt64_timeslots
Fix timeSlots for DateTime64
2022-07-30 20:49:05 +02:00
Robert Schulze
199e254777
Merge remote-tracking branch 'origin/master' into no-split-binary 2022-07-28 15:54:22 +00:00
Dan Roscigno
b9c8feb2b2
Merge pull request #39356 from nickitat/small_addition_to_docs
Small addition to mysql dictionary docs
2022-07-26 11:11:28 -04:00
Robert Schulze
22219c4b7a
Merge Woboq code browser page into "Getting Started" document
There was too little information on the page to deserve a separate
document.
2022-07-26 07:54:03 +00:00
Roman Vasin
b462366415 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-485 2022-07-25 17:55:47 +00:00
Denny Crane
813438a29d
Update settings.md 2022-07-25 14:48:53 -03:00
Nikolay Degterinsky
ac7d83055e
Merge pull request #39311 from whysage/doc-fix-aggregatefunction
Doc. Fix link in doc AggregateFunction
2022-07-25 18:22:35 +02:00
whysage
a7f0886157 Fix second link in doc AggregateFunction 2022-07-25 18:54:02 +03:00
Alexey Milovidov
21d88f346f
Merge pull request #39540 from den-crane/patch-27
Doc. Some notes about formats WithNames
2022-07-25 04:08:34 +03:00
Alexey Milovidov
e01bf1318a
Merge pull request #39539 from den-crane/patch-26
Doc. Note about arguments of translate
2022-07-25 04:07:43 +03:00
Denny Crane
d15ee4b48b
Update formats.md 2022-07-24 21:34:35 -03:00
Denny Crane
60265c4bb9
Update settings.md 2022-07-24 21:06:45 -03:00
Denny Crane
31630ff38e
Update string-replace-functions.md 2022-07-24 20:18:49 -03:00
Denny Crane
b6121a1bf1
Update star-schema.md 2022-07-24 17:07:47 -03:00
Robert Schulze
c788e05c77
Merge pull request #39292 from zvonand/zvonand-b58-datatype
Simplify Base58 encoding/decoding
2022-07-24 18:09:40 +02:00
Alexey Milovidov
071374b152 Remove SPLIT_BINARY 2022-07-24 01:15:54 +02:00
Kruglov Pavel
f79924f270
Merge branch 'master' into file_default_value 2022-07-22 21:17:37 +02:00
Andrey Zvonov
e473606cd1
Merge branch 'master' into zvonand-b58-datatype 2022-07-21 15:55:05 +02:00
Roman Vasin
e3192cf753 Correct docs to reflect new range 1900..2299 for Date32 and DateTime64; Cleanup code 2022-07-20 15:19:02 +00:00
Nikolay Degterinsky
c9ae525da7
Merge branch 'master' into file_default_value 2022-07-20 14:22:58 +02:00
jasperzhu
c044c67745
Merge branch 'master' into dev_intel_iaa_deflate 2022-07-19 15:32:57 +08:00
Nikita Taranov
7f6b175c3e impl 2022-07-18 19:39:10 +02:00
whysage
1adfa8e398 Fix link in doc AggregateFunction 2022-07-18 10:41:57 +03:00
Denny Crane
429b19da8b
Update partition.md 2022-07-17 21:16:40 -03:00