Commit Graph

437 Commits

Author SHA1 Message Date
Christoph Wurm
2a9ab046dd Unify spelling of DateTime 2022-11-15 11:51:14 +00:00
freedomDR
37c448c6be complete unhex doc 2022-11-15 12:33:14 +08:00
Tiaonmmn
504e7f2a4b
Update limit-by.md
Update chinese translation of limit-by.md
2022-11-11 21:30:09 +08:00
Kruglov Pavel
0270f6003c
Merge branch 'master' into add-format-func-doc 2022-11-11 14:05:34 +01:00
taofengliu
4862586417 fix docs 2022-11-01 16:27:34 +08:00
avogar
c7031569b6 Fix typo 2022-10-28 21:58:42 +00:00
avogar
5412911592 Add documentation for 'format' table function 2022-10-28 17:43:28 +00:00
taofengliu
46b24380f2 Merge remote-tracking branch 'upstream/master' into group_by_all 2022-10-22 13:57:31 +08:00
Alexey Milovidov
bc6762d613
Merge pull request #42565 from alexeyerm/other-functions.md-fix
other-functions.md example fix
2022-10-22 04:20:23 +02:00
alexeyerm
e1fccbd161
doc fix fix 2022-10-21 20:09:46 +03:00
alexeyerm
d25ecb9f0b
fix transform() example 2022-10-21 19:47:38 +03:00
taofengliu
4d5bf0e3b2 avoid extracting the deepest columns 2022-10-20 18:17:40 +08:00
taofengliu
17be6ab492 docs for GROUP BY ALL 2022-10-18 10:46:38 +08:00
Alexey Milovidov
d1f0c80ffe Revert "Merge pull request #40217 from zvonand/zvonand-minmax"
This reverts commit df934d8762, reversing
changes made to d3a7945b1b.
2022-10-17 04:57:15 +02:00
Alexey Milovidov
b9159db82f Remove temporary live views 2022-10-08 00:16:36 +02:00
Reinaldy Rafli
b52d58dcae
docs(statements): specify ON CLUSTER clause for CREATE ROLE 2022-10-02 09:51:17 +07:00
Robert Schulze
6379cb41ce
Merge branch 'master' into fix-links 2022-09-29 09:17:39 +02:00
Robert Schulze
fa93952231
Docs: Reference external papers as DOIs
See also #31076 which noted that links were broken but didn't fix.
2022-09-28 12:21:58 +00:00
Robert Schulze
82139fad0e
Docs: Remove obsolete modelEvaluate() mention 2022-09-28 11:47:16 +00:00
Sergei Trifonov
f7a1ed3141
Merge branch 'master' into readonly-settings-allow 2022-09-19 12:52:36 +02:00
Robert Schulze
49136d26aa
docs: fix internal links
The links at the very beginning of
https://clickhouse.com/docs/en/sql-reference/statements/system
don't work. They are reference other sections of the same document. This
is weird because there is a small index already on the right side. I
searched our documentation and this seems to be the only pages which do
so. Therefore removing the links altogether instead of fixing them.
2022-09-13 19:45:46 +00:00
Sergei Trifonov
76eb001e78 add test for changeable_in_readonly + fix SQL in docs 2022-09-09 14:01:29 +02:00
Alexey Milovidov
c4adc9ed8f Remove trash 2022-09-04 04:28:08 +02:00
Robert Schulze
56eece40ec
Merge pull request #40736 from LevyCory/add-offset-to-formatDateTime
Add timezone offset support  to `formatDateTime`
2022-09-01 09:50:17 +02:00
Cory Levy
1e2eee7146 Remove unnecessary backslashes in markdown sql blocks 2022-08-29 16:31:31 -04:00
DanRoscigno
576b7ea604 updates for filename changes 2022-08-29 14:39:15 -04:00
DanRoscigno
687ac1805a updates for filename changes 2022-08-29 13:59:51 -04:00
DanRoscigno
76a3212fc8 replace symlinks 2022-08-29 12:26:17 -04:00
DanRoscigno
c4b8137d31 replace symlinks 2022-08-29 12:19:50 -04:00
Robert Schulze
df934d8762
Merge pull request #40217 from zvonand/zvonand-minmax
Fix conversion Date32 / DateTime64 / Date to narrow types
2022-08-28 09:42:39 +02:00
DanRoscigno
7f92006428 add slugs to all docs 2022-08-26 15:07:59 -04:00
zvonand
eba4bd2a87 update test and chinese docs 2022-08-22 17:36:55 +03: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
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
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
Roman Vasin
b462366415 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-485 2022-07-25 17:55:47 +00: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
GruffGemini
c64cfbcf4f
Update group-by.md 2022-06-30 09:32:42 +03:00
Dan Roscigno
e85e450200
Merge pull request #37621 from Vxider/wv-doc
Update Window View document, add alter, inner engine, and populate
2022-06-14 12:28:18 -04:00
Vadim Volodin
637d293fbd Add SYSTEM UNFREEZE query 2022-06-08 15:21:14 +03:00
Vxider
0246a3f415 Merged with master 2022-06-04 17:22:22 +00:00
Vxider
2232d47c5a update windowview doc for alter, inner engine, and populate 2022-05-28 12:23:30 +00:00
PigInCloud
7ccf4f4db7
Update insert-into.md
I translated some untranslated text into Chinese
2022-05-27 18:30:20 +08:00
ni1l
ca702b4593 Update the Chinese version of encoding-functions.md 2022-05-19 23:52:08 +08:00
ni1l
1bec6edd24 Sync the English version of conditional-functions.md and date-time-functions.md to the Chinese document 2022-05-17 00:30:26 +08:00
ni1l
e85c616704 fix the broken link in the bit-functions.md 2022-05-16 18:03:09 +08:00
ni1l
ee368b522f Sync the English version of bit-functions.md to the Chinese document 2022-05-15 23:21:05 +08:00
ni1l
89d6409ed1 Sync the arithmetic functions and array functions in the Chinese document with the English document 2022-05-12 00:33:31 +08:00
mergify[bot]
2d1057bc87
Merge branch 'master' into fix-substring-negative-offset-length 2022-05-07 10:30:39 +00:00
Rich Raposa
8c3f313671
Merge pull request #36791 from ClickHouse/rfraposa-patch-3
Various docs fixes
2022-04-29 06:09:23 -06:00
rfraposa
e7b7b7ecd3 Various docs fixes 2022-04-29 05:33:51 -06:00
Alexey Milovidov
86bf67c93c
Merge pull request #36526 from Joeywzr/to_start_of_five_minutes
Replace toStartOfFiveMinute to toStartOfFiveMinutes
2022-04-26 05:52:02 +03:00
XenoAmess
da3d7f2835 fix boolean documents. 2022-04-26 05:51:56 +08:00
mergify[bot]
d2ac9b2223
Merge branch 'master' into to_start_of_five_minutes 2022-04-25 17:36:38 +00:00
Rich Raposa
9982487512
Update setting.md 2022-04-24 20:00:51 -06:00
Rich Raposa
d2a78d3fa3
Update map.md 2022-04-24 20:00:24 -06:00
Alexey Milovidov
29d5ba5223 Resubmit two wrong doc changes 2022-04-25 03:00:58 +02:00
Alexey Milovidov
4f177281aa
Revert "Update setting.md" 2022-04-25 03:59:23 +03:00
Alexey Milovidov
d327f38fe9
Revert "Translate docs/zh/sql-reference/data-types/map.md" 2022-04-25 03:54:01 +03:00
Alexey Milovidov
a56e7da395
Merge pull request #35744 from yjant/patch-1
Translate  docs/zh/sql-reference/data-types/map.md
2022-04-25 03:22:35 +03:00
mergify[bot]
3235565e02
Merge branch 'master' into patch-1 2022-04-24 22:29:43 +00:00
mergify[bot]
e32f6daeef
Merge branch 'master' into patch-3 2022-04-24 22:24:34 +00:00
Memo
956d525840 fix conflict 2022-04-22 11:22:50 +08:00
Memo
39aadf0975 replaced toStartOfFiveMinute to toStartOfFiveMinutes 2022-04-22 10:49:59 +08:00
rfraposa
476122e92a
Fix broken links 2022-04-19 20:17:01 +02:00
Mikhail f. Shiryaev
7925d925a9
Merge branch 'master' into docs-staging 2022-04-19 11:00:03 +02:00
yjant
5f7267b671
Update nothing.md
The links are wrong.
2022-04-18 09:32:53 +08:00
rfraposa
1afe4300e8 Fixed broken links 2022-04-11 09:55:54 -06:00
rfraposa
d9e6f780db Fixed broken links 2022-04-10 23:01:34 -06:00
rfraposa
4feb622c9f Added /zh docs 2022-04-10 17:08:18 -06:00
yjant
dcc85de458
Translate docs/zh/sql-reference/data-types/map.md
Translate map.md into Chinese
2022-03-30 15:40:14 +08:00
G5.Qin
074ff9b533
fix ext-dict-functions.md in Chinese documentation
"dictGetHierarchy" in Chinese is not "独裁主义"
2022-03-18 17:12:26 +08:00
Alexey Milovidov
76520a138e Change examples in docs 2022-03-12 00:36:03 +01:00
cnmade
e0ab2c7ca2 Translate zh/sql-reference/statements/alter/settings-profile: remove old file 2022-03-08 17:14:06 +08:00
cnmade
0d668e4b15 Translate zh/sql-reference/statements/alter/settings-profile: translate to zh 2022-03-08 17:13:36 +08:00
cnmade
80a8e4aa10 Translate zh/sql-reference/statements/alter/settings-profile: reimport file 2022-03-08 17:10:54 +08:00
cnmade
6499fc2c45 Translate zh/sql-reference/statements/alter/settings-profile: rename old file 2022-03-08 17:03:46 +08:00
cnmade
1787f83783 Sync translate to zh: see Update limit-by.md 2022-03-07 10:38:01 +08:00
cnmade
4167f82c57 Translate zh/sql-reference/statements/alter/row-policy: remove old file 2022-03-04 16:45:39 +08:00
cnmade
44d626af6f Translate zh/sql-reference/statements/alter/row-policy: translate to zh 2022-03-04 16:41:07 +08:00
cnmade
1d2707e7ea Translate zh/sql-reference/statements/alter/row-policy: reimport file 2022-03-04 16:39:12 +08:00
cnmade
69b5fbed64 Translate zh/sql-reference/statements/alter/row-policy: rename old file 2022-03-04 16:37:18 +08:00
cnmade
8e07ec5319 Merge remote-tracking branch 'upstream/master' into PR202202241000
* upstream/master: (50 commits)
  Improve certificate reloader (#34887)
  Stop processing multiqueries in clickhouse-client/local on SIGINT
  Tiny cleanup of ClientBase
  Use proper exit value on exit by signal (like in glibc)
  fix comments
  fix comments
  Ignore per-column TTL in CREATE TABLE AS if new table engine does not support it
  Fix some code comments style
  Update src/Databases/SQLite/SQLiteUtils.cpp
  Update style.md
  Update style.md
  Update style.md
  Update version_date.tsv after v22.1.4.30-stable
  Fix
  Fix
  use getPageSize, correct typo
  Update README.md
  Use SYSTEM_ERROR in MemoryStatisticsOS for FreeBSD
  Fix stylecheck for tests/ci/release.py
  Argument --commit for release.py is required
  ...
2022-03-01 09:28:32 +08:00
cnmade
2edf474c84 Translate zh/sql-reference/statements/alter/role: remove old file 2022-02-24 09:57:34 +08:00
cnmade
ab9ba5f471 Translate zh/sql-reference/statements/alter/role: translate to zh 2022-02-24 09:56:33 +08:00
cnmade
9f346bd7dd Translate zh/sql-reference/statements/alter/role: reimport file 2022-02-24 09:55:06 +08:00
cnmade
a261683299 Translate zh/sql-reference/statements/alter/role: rename old file 2022-02-24 09:47:02 +08:00
tangjiangling
fd03f3c309 Update datetimes range in doc 2022-02-24 00:32:09 +08:00
cnmade
658a23af50 Translate zh/sql-reference/statements/alter/order-by: remove space 2022-02-18 16:53:16 +08:00
cnmade
4d913f328b Translate zh/sql-reference/statements/alter/order-by: remove bak file 2022-02-18 16:50:58 +08:00
cnmade
3643e9e397 Translate zh/sql-reference/statements/alter/order-by: translate to zh 2022-02-18 16:50:19 +08:00
cnmade
9d300809a4 Translate zh/sql-reference/statements/alter/order-by: reimport old file 2022-02-18 16:43:16 +08:00
cnmade
1c92f4f724 Translate zh/sql-reference/statements/alter/order-by: rename old file 2022-02-18 16:40:16 +08:00
cnmade
df14daaba6 Translate zh/sql-reference/statements/alter/delete: delete old file 2022-02-18 10:40:31 +08:00
cnmade
7fbe7efac8 Translate zh/sql-reference/statements/alter/delete: translate to zh 2022-02-18 10:39:57 +08:00
cnmade
bbd6bf6cea Translate zh/sql-reference/statements/alter/delete: reimport file 2022-02-18 10:35:04 +08:00
cnmade
01a13dab3c Translate zh/sql-reference/statements/alter/delete: rename old file 2022-02-18 10:34:31 +08:00
Nikolay Degterinsky
9e22f0305e
Merge pull request #34625 from cnmade/PR202202161000
Translate zh/sql-reference/statements/alter/view
2022-02-16 14:57:02 +03:00
cnmade
6a21b855c6 Translate zh/sql-reference/statements/alter/view: remove old file 2022-02-16 10:16:02 +08:00
cnmade
e96bbb2bcc Translate zh/sql-reference/statements/alter/view: translate to zh 2022-02-16 10:14:51 +08:00
cnmade
d19431396d Translate zh/sql-reference/statements/alter/view: reimport file 2022-02-16 10:03:22 +08:00
cnmade
6e9c8e412f Translate zh/sql-reference/statements/alter/view: rename old view 2022-02-16 10:02:29 +08:00
cnmade
a2dd0cd8e3 Translate zh/sql-reference/statements/alter/constraint: remove old file 2022-02-15 09:57:01 +08:00
cnmade
8507875230 Translate zh/sql-reference/statements/alter/constraint: translate to zh 2022-02-15 09:56:25 +08:00
cnmade
50c0bae5a4 Translate zh/sql-reference/statements/alter/constraint: reimport file 2022-02-15 09:53:21 +08:00
cnmade
d20e30efdd Translate zh/sql-reference/statements/alter/constraint: rename old file 2022-02-15 09:52:33 +08:00
RogerYK
45296fd039 Merge remote-tracking branch 'upstream/master' into fix-substring-negative-offset-length 2022-02-10 15:58:33 +08:00
mergify[bot]
473a5a0e1f
Merge branch 'master' into patch-3 2022-02-10 06:46:37 +00:00
ermaotech
564f293f9f
Update setting.md
Changelog category :

Documentation for [setting.md](https://github.com/ClickHouse/ClickHouse/edit/master/docs/zh/sql-reference/statements/alter/setting.md)
2022-02-09 15:33:28 +08:00
cnmade
f178726f07 sync to zh: sql-reference/data-types/int-uint: sync translate to zh 2022-02-09 10:35:34 +08:00
Nikolay Degterinsky
e0332a5d7a
Merge pull request #33909 from Tiaonmmn/patch-5
Update ansi.md
2022-02-02 14:18:24 +03:00
Maksim Kita
ad0f616fba Documentation zh broken links build fix 2022-01-31 11:01:47 +00:00
cnmade
ef5de67348 Translate zh/sql-reference/statements/truncate: remove old file 2022-01-30 14:58:55 +08:00
cnmade
b1867fc1e3 Translate zh/sql-reference/statements/truncate: translate to zh 2022-01-30 14:57:40 +08:00
cnmade
ad6dfcc614 Translate zh/sql-reference/statements/truncate: reimport file 2022-01-30 14:51:56 +08:00
cnmade
a8c0e6a12b Translate zh/sql-reference/statements/truncate: rename old file 2022-01-30 14:49:40 +08:00
Maksim Kita
a242610e28
Merge pull request #34050 from cnmade/PF202201271531
Fixed zh...statements/alter
2022-01-29 17:09:51 +01:00
Maksim Kita
2260bcea6a
Update index.md 2022-01-29 17:09:28 +01:00
cnmade
4c2b3f73da Fixed zh...statements/exists: remove bak file 2022-01-29 16:38:12 +08:00
cnmade
242a39d475 Fixed zh...statements/exists: translate to zh 2022-01-29 16:37:45 +08:00
cnmade
36b58881cc Fixed zh...statements/exists: reimport file 2022-01-29 16:36:03 +08:00
cnmade
47c123de3c Fixed zh...statements/exists: rename old file 2022-01-29 16:35:18 +08:00
Maksim Kita
aff7bc3e31
Merge pull request #34049 from cnmade/PF202201271450
Translate zh/sql-reference/statements/use: fix last bug of the translate
2022-01-28 23:47:48 +01:00
cnmade
f469df6076 Fixed zh...statements/set: translate to zh and remove bak file 2022-01-28 15:32:11 +08:00
cnmade
438e0ab001 Fixed zh...statements/set: rename old file to bak 2022-01-28 15:25:52 +08:00
cnmade
f4f6b7ddf3 Fixed zh...statements/alter: remove bak file 2022-01-27 16:08:01 +08:00
cnmade
fc035f49c0 Fixed zh...statements/alter: translate to zh 2022-01-27 16:07:25 +08:00
cnmade
cd13f9a5b3 Fixed zh...statements/alter: reimport files 2022-01-27 15:36:49 +08:00
cnmade
963e3daba1 Fixed zh...statements/alter: rename old file 2022-01-27 15:31:37 +08:00
cnmade
9f7799637c Translate zh/sql-reference/statements/use: fix en translate , remove bakup file 2022-01-27 14:57:59 +08:00
cnmade
6621618d16 Translate zh/sql-reference/statements/use: add translate 2022-01-27 14:55:28 +08:00
cnmade
be55296e06 Translate zh/sql-reference/statements/use: remove old file 2022-01-27 14:54:12 +08:00
RogerYK
c2e8322895 Update old docs 2022-01-26 15:59:40 +08:00
Tiaonmmn
42eb6b9d38
Update ansi.md 2022-01-22 20:53:20 +08:00
Kseniia Sumarokova
b67105e931
Merge pull request #33759 from cnmade/PF01190918
Translate zh/sql-reference/statements/alter/ttl.md
2022-01-20 11:55:08 +03:00
cnmade
c49a49b41f Translate zh/sql-reference/statements/alter/update.md 2022-01-20 09:50:25 +08:00
cnmade
b008ee1c61 Translate zh/sql-reference/statements/alter/ttl.md 2022-01-19 09:18:07 +08:00
cnmade
fc38cffd33 Translate zh/sql/statements index and use document 2022-01-18 11:06:41 +08:00
Denny Crane
0cb9e979ca actualize trailing zeros removal in documentation 2022-01-07 14:53:17 -04:00
Maksim Kita
5ae10e5e31
Merge pull request #33369 from benbiti/docs_zh_create_function
[Docs-zh]translate create function into zh
2022-01-03 14:11:22 +03:00
benbiti
c8866feecc [Docs-zh]translate create function into zh 2022-01-01 10:56:42 +08:00
benbiti
b347e8356c [Docs-zh]update zh docs note tag 2021-12-31 10:46:07 +08:00
vxider
52fa82b4d4 rename window-view function to time window function 2021-12-10 09:43:44 +00:00
Vxider
b74af1af5d fix window view docs 2021-12-10 00:51:31 +08:00
vxider
45527768b2 small update for window view doc 2021-12-09 02:34:37 +00:00
vxider
eb759c83f6 window view docs improvement 2021-12-08 14:43:26 +00:00
congbaoyangrou
ed2d798b26
Update where.md 2021-11-28 17:36:18 +08:00
SuperDJY
dd2972b8c3
return fake create query when executing show create table on system's tables. (#31391)
* clarify that cannot show create table of system's tables

* clarify that cannot show create table of system's tables in the document

* bypass test style-check for required `database=currentDatabase()` because `show create table` do not have condition

* rename supportsShowCreateTable to isSystemStorage

* build fake create query for show create table of system's tables

* fix tests for show create table on system's table:

1. only build fake create query when cannot get real query
2. only test rocksdb when it's enabled.

* fix test for show create table system.tables

* fix test for ASTCreateQuery set table and database

* change to LOGICAL_ERROR when cannot get in_memory metadata

Co-authored-by: tavplubix <tavplubix@gmail.com>

* implement common getCreateQueryFromStorage

Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-11-19 13:25:55 +03:00