Commit Graph

279 Commits

Author SHA1 Message Date
taofengliu
7fe812b480 fix docs 2022-10-20 18:20:40 +08: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
avogar
8ac2fc7b26 Don't outout totals/extremes in all row formats, update docs 2022-09-12 17:21:40 +00:00
DanRoscigno
c4b8137d31 replace symlinks 2022-08-29 12:19:50 -04:00
DanRoscigno
5b5fcc56aa add slugs 2022-08-28 10:53:34 -04:00
alesapin
2dfb547847
Merge pull request #39054 from SmitaRKulkarni/add-option-for-outfile-to-print-stdout
Add an option to INTO OUTFILE to also print details to standard output.
2022-07-27 13:51:38 +02:00
vdimir
e8834c5ea3
Remove trailing whitespaces from docs/en/sql-reference/statements/select/join.md 2022-07-21 14:53:40 +00:00
Smita Kulkarni
1dc2187f9c Addressed review comments
Implementation:
- Added a new buffer ForkWriteBuffer takes a vector of WriteBuffer and writes data to all of them. It uses the buffer of the first element as its buffer and copies data from first buffer to all the other buffers
Testing:
- Updated tests/queries/0_stateless/02346_into_outfile_and_stdout.sh
Documentation:
- Updated the english documentation for SELECT.. INTO OUTFILE with AND STDOUT.
2022-07-14 22:47:38 +02:00
Smita Kulkarni
c7967fb721 Add an option to INTO OUTFILE to also print details to standard output.
Implementation:
- Added a bool to ASTQueryWithOutput & patched the usage in ClientBase.
- Added a new buffer TeeWriteBuffer which extends from WriteBufferFromFile (used to write data to the file) and has WriteBufferFromFileDescriptor (used to write data to stdout). The WriteBufferFromFileDescriptor uses the same buffer as TeeWriteBuffer.
- Added a new bool select_into_outfile_and_stdout in ClientBase to enable/disable progress rendering.

Testing:
 - Added a test tests/queries/0_stateless/02346_into_outfile_and_stdout.sh

Documentation:
- Updated the english documentation for the new option in SELECT.
2022-07-09 10:12:46 +02:00
Nikolay Degterinsky
fcb6cfb6df Fix style issues 2022-07-07 08:31:55 +00:00
Nikolay Degterinsky
54d210d714 Add documentation 2022-07-07 01:59:00 +00:00
GruffGemini
572e540217
docs (en, group-by.md): fixed broken links 2022-06-30 09:29:18 +03:00
Dmitry Novik
00aca924d0 Update GROUP BY clause docs 2022-06-16 22:45:28 +00:00
rfraposa
869967de41 Remove H1 anchor tags from docs 2022-06-02 04:55:18 -06:00
rfraposa
fb08c5b7e1 Merge branch 'master' into docs-staging 2022-04-15 07:25:27 -06:00
rfraposa
d9e6f780db Fixed broken links 2022-04-10 23:01:34 -06:00
rfraposa
8f01fe9c49 Revised /en folder 2022-04-09 07:34:21 -06:00
rfraposa
5250d9ad11 Removed /ja folder, cleaned up /ru markdown 2022-04-09 07:29:05 -06:00
Yakov Olkhovskiy
7dbe8bc2dc major bugs fixed, tests added, docs updated 2022-04-07 01:21:24 -04:00
Alexey Milovidov
9854b55835
Revert "Format changes for new docs" 2022-04-04 02:05:35 +03:00
rfraposa
72a00e2c62 Fixed broken links 2022-04-02 17:38:54 -06:00
rfraposa
560471f991 Update /sql-reference docs 2022-03-29 22:06:21 -06:00
rfraposa
c05bf7beb4 Testing new /en folder 2022-03-28 23:09:17 -06:00
Yakov Olkhovskiy
5ae6f800c6 Update order-by.md
INTERPOLATE fix
2022-03-19 03:03:24 -04:00
Yakov Olkhovskiy
5c8a77dade Update order-by.md
INTERPOLATE fix
2022-03-19 03:02:51 -04:00
Yakov Olkhovskiy
4f892dc9da Update order-by.md
INTERPOLATE is added
2022-03-19 03:02:20 -04:00
Yakov Olkhovskiy
90888ea95b Update index.md
INTERPOLATE is added
2022-03-19 03:00:29 -04:00
Denny Crane
fd910af86d
Update limit-by.md 2022-03-06 13:37:33 -04:00
Yong Wang
838d931137
Update array-join.md 2022-02-23 18:37:13 -05:00
Yong Wang
8a5ac182f0
Update array-join.md 2022-02-23 18:32:37 -05:00
Anton Popov
861ce6ae94
Update order-by.md 2022-02-05 02:07:45 +03:00
Mohamad Fadhil
8f1030378a
Add INTERVAL STEP example in SELECT .. ORDER BY WITH FILL documentation
This corresponds to the merged PR https://github.com/ClickHouse/ClickHouse/pull/30927
2022-02-04 10:02:42 +08:00
Vladimir C
78710d71b5
Specify sql syntax in code snippets in join.md 2021-12-28 10:49:35 +03:00
Tatiana Kirillova
8dc204c280 fix diff and translate 2021-12-27 21:23:09 +03:00
Tatiana Kirillova
a4d364ab03 update text 2021-12-26 14:03:49 +03:00
Tatiana Kirillova
e3e1fe74c1 update 2021-12-26 13:55:49 +03:00
Tatiana Kirillova
05a33abf26 OR operator in ON section for JOIN 2021-12-26 13:38:22 +03:00
Denny Crane
41fc080c04
Update group-by.md 2021-12-15 12:18:50 -04:00
Vladimir C
ef2571af06
Merge pull request #31585 from lehasm/alexey-sm-DOCSUP-14893-document-COMPRESSION 2021-11-30 11:36:45 +03:00
Vladimir C
c6d49769d9
Apply suggestions from code review 2021-11-30 11:36:03 +03:00
Alexey
bc4047ef24 updates 2021-11-28 19:26:51 +00:00
Alexey
b8a3f62734 updates 2021-11-28 08:20:57 +00:00
Alexey
b17b05590c INTO OUTFILE description updated 2021-11-20 18:44:45 +00:00
Alexey
122b42c36a Formatting updated. Spelling fix.
2 paragraphs reordered.
2021-11-20 08:44:36 +00:00
Alexey
ef6443f3f5 Translated paragraph about NULL from ru to en.
Copied corresponding example
2021-11-19 19:21:50 +00:00
Alexey
40952d53ac Small text change
Removed See Also EXISTS from WHERE
2021-11-13 19:47:50 +00:00
Alexey
ba0d57b90e Added example to WHERE 2021-11-13 19:46:38 +00:00
Alexey
398e164e46 en draft (EXISTS) 2021-11-12 20:02:26 +00:00
Kseniia Sumarokova
57626438b0
Merge pull request #30469 from kirillikoff/kirillikoff-DOCSUP-13264
DOCSUP-13264: Document the SQL-statements INTERSECT, EXCEPT and ANY, ALL operators
2021-10-27 09:48:12 +03:00
Tatiana Kirillova
82fc693d55 russian fixes 2021-10-22 22:38:34 +03:00
Tatiana Kirillova
e4df841798
Update intersect.md 2021-10-22 11:58:34 +03:00
Tatiana Kirillova
3510f4cddc
Update except.md 2021-10-22 11:58:04 +03:00
Tatiana Kirillova
745b47762c
Update docs/en/sql-reference/statements/select/except.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-22 11:49:20 +03:00
Tatiana Kirillova
0f66ba1704
Update docs/en/sql-reference/statements/select/intersect.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-22 11:49:11 +03:00
Tatiana Kirillova
692b99ca0d
Update docs/en/sql-reference/statements/select/intersect.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-22 11:49:01 +03:00
Tatiana Kirillova
41f69e9677
Update docs/en/sql-reference/statements/select/except.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-22 11:48:53 +03:00
Tatiana Kirillova
cb907dd6c6
Update docs/en/sql-reference/statements/select/intersect.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-22 11:48:07 +03:00
Tatiana Kirillova
e36f06887b update 2021-10-20 20:43:07 +03:00
Tatiana Kirillova
1241db3795 document the SQL-statements INTERSECT, EXCEPT and ANY, ALL operators 2021-10-20 20:18:14 +03:00
Nikita Mikhaylov
4fbd332bf1 Done 2021-10-19 11:53:55 +00:00
olgarev
cb8a66e515 Settings and links 2021-10-10 23:34:26 +00:00
Kseniia Sumarokova
8285d8dbac
Merge pull request #29753 from kirillikoff/kirillikoff-DOCSUP-13583
DOCSUP-13583: Document the enable_positional_arguments setting
2021-10-08 11:02:00 +03:00
Tatiana Kirillova
0362083843
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-07 08:29:28 +03:00
Tatiana Kirillova
0ed02e689d
Update docs/en/sql-reference/statements/select/limit-by.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-07 08:27:17 +03:00
Tatiana Kirillova
c70ce36ff4
Update docs/en/sql-reference/statements/select/index.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-07 08:27:00 +03:00
Tatiana Kirillova
2bfcdc431b translate 2021-10-06 21:42:07 +03:00
Ivan Blinkov
8e9df6d667
Update sample.md 2021-10-06 09:12:27 +03:00
Tatiana Kirillova
c049170f78 minor fix 2021-10-04 21:26:04 +03:00
Tatiana Kirillova
83424685fc update example 2021-10-04 21:11:12 +03:00
Tatiana Kirillova
1c62a53afe Document the enable_positional_arguments setting 2021-10-04 20:49:21 +03:00
Ivan Blinkov
f429db1ee9 find . -type f -name '*.md'| xargs -I{} perl -pi -e 's|https://clickhouse.tech|https://clickhouse.com|g' {} 2021-09-19 23:05:54 +03:00
yeer
ac7330b805
Update where.md
type: expluded => excluded
2021-09-10 11:41:46 +08:00
olgarev
dfdeaa0be9 Initial 2021-08-24 22:40:50 +00:00
Alexey
cbb3fb0cb6 Typo fixed 2021-08-20 20:30:21 +00:00
Alexey
99aaa8af43 Russian translation.
Some improvements and fixes.
2021-08-20 20:20:27 +00:00
Alexey
69f3cae030 Merge branch 'alexey-sm-DOCSUP-12064-document-conditions-in-JOIN-ON' of https://github.com/lehasm/ClickHouse into alexey-sm-DOCSUP-12064-document-conditions-in-JOIN-ON 2021-08-19 20:46:27 +00:00
Alexey
b2e9e194c5 Added an example and a note. 2021-08-19 20:46:22 +00:00
lehasm
96f5ea515f
Update docs/en/sql-reference/statements/select/join.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-08-19 23:16:55 +03:00
Alexey
2af5b43265 Description rewritten 2021-08-16 20:06:15 +00:00
Alexey
c667a94978 Several format fixes in other places 2021-08-15 19:33:04 +00:00
Alexey
6177a9c454 en draft 2021-08-15 15:36:24 +00:00
olgarev
9763dd18b1
Update docs/en/sql-reference/statements/select/distinct.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-08-10 00:46:25 +03:00
olgarev
9ce7669e1f Initial 2021-08-09 01:25:22 +00:00
michon470
d10835f223
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-02 20:14:22 +03:00
michon470
e03539fdd4
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-02 20:14:09 +03:00
michon470
c5df30594d
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-02 20:13:58 +03:00
michon470
1a4d9fec9b
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-02 20:13:48 +03:00
michon470
36c6d7e1c0
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-02 20:13:35 +03:00
Filatenkov Artur
395b41bf8e
Merge branch 'master' into kuriatnikovm-DOCSUP-9735-clarification-about-WITH-FILL 2021-07-29 20:55:01 +03:00
Mikhail
17570868bd some corrections and translation 2021-07-29 19:17:48 +03:00
Alexey Milovidov
df3be36758 Remove trailing whitespaces from docs 2021-07-29 18:27:50 +03:00
Alexey Milovidov
d87d833691 Remove trailing whitespaces from docs 2021-07-29 18:20:55 +03:00
michon470
08a7140882
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-07-28 04:18:33 +03:00
michon470
d541cd5c00
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-07-28 04:18:16 +03:00
Mikhail
c0352044cd Update order-by.md
Requested edit.
2021-07-26 07:17:29 +03:00
Mikhail
e4027755ad Update order-by.md
Some minor corrections.
2021-07-26 07:09:54 +03:00
Vladimir
5d270f82f5
Apply suggestions from code review 2021-07-20 12:19:19 +03:00
Olga Revyakina
b7f3305621 Exception 2021-07-20 10:28:06 +03:00
Olga Revyakina
1d3bc13753 Anchor 2021-07-19 21:03:36 +03:00
olgarev
7d184b7acf
Apply suggestions from code review
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-07-19 20:49:17 +03:00
Olga Revyakina
1258c9aaa6 Algorithms description 2021-07-15 11:17:37 +03:00
Olga Revyakina
a2fb64c108 join_algorithm setting 2021-07-15 09:50:44 +03:00
Olga Revyakina
57f7861e59 En and Ru docs 2021-07-15 09:21:26 +03:00
alexey-milovidov
e427d91dd6
Merge pull request #24586 from romainneutron/polish-english-doc
Polish english doc
2021-05-28 00:16:16 +03:00
Kseniia Sumarokova
ee4f42a991
Merge pull request #24430 from lehasm/alexey-sm-DOCSUP-8939-document-insert_null_as_default
DOCSUP-8939: document the insert_null_as_default setting
2021-05-27 23:24:16 +03:00
Romain Neutron
d3be14e639
Fix ClickHouse characters case 2021-05-27 21:49:41 +02:00
Romain Neutron
7b515c7235
Avoid short syntax 2021-05-27 21:44:11 +02:00
Denny Crane
12a0563741
PREWHERE+FINAL 2021-05-23 19:47:29 -03:00
Alexey
a3640cd7ea Description updated 2021-05-23 20:02:17 +00:00
Anna
c07b289480
Update docs/en/sql-reference/statements/select/offset.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-23 09:52:28 +03:00
Anna
eef398c791
Update docs/en/sql-reference/statements/select/limit.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-23 09:52:17 +03:00
Anna
45c072b2a9
Update docs/en/sql-reference/statements/select/offset.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-23 09:49:44 +03:00
Anna
b74ef850ea
Update docs/en/sql-reference/statements/select/offset.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-23 09:49:35 +03:00
Anna
3980fadf61
Update docs/en/sql-reference/statements/select/offset.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-04-23 09:48:46 +03:00
adevyatova
4b49e9259b docs for limit and offset settings 2021-04-22 18:27:06 +00:00
Vasily Nemkov
c2b398b39a Documnentation on OPTIMIZE DEDUPLICATE BY expression. 2021-03-15 13:25:22 +02:00
Roman Bug
a4f2ee0752
DOCSUP-6144: Edit and translate PR to Russian (#19780)
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
Co-authored-by: romanzhukov <romanzhukov@yandex-team.ru>
Co-authored-by: Vladimir <vdimir@yandex-team.ru>
2021-03-01 16:51:38 +03:00
Dmitriy
48ca41eb22 Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-5271-edit_translate_russian 2021-01-28 22:58:33 +03:00
Dmitriy
c6beaba12a Edit and translate into Russian
Выполнил перевод на русский язык, немного поправив английскую версию.
2021-01-28 22:18:49 +03:00
Dmitriy
9f4e51d36b Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-4918-update_description_final 2021-01-26 19:35:41 +03:00
Dmitriy
d121eb4787 Update the description of the SELECT queries with FINAL
Объяснил преимущество параллельности SELECT запросов с модификатором FINAL..
2021-01-25 23:31:06 +03:00
alexey-milovidov
cf69fbd1fc
Merge pull request #18984 from olgarev/revolg-DOCSUP-4645-optimize_aggregation_in_order_setting
DOCSUP-4645: Documented optimize_aggregation_in_order setting
2021-01-19 17:39:25 +03:00
tavplubix
521179c6db
Merge pull request #18983 from olgarev/revolg-DOCSUP-4960-Settings_in_Select
DOCSUP-4960: SETTINGS clause in SELECT
2021-01-18 13:04:43 +03:00
Olga Revyakina
17b2ca2374 Fixes 2021-01-17 20:05:46 +03:00
Dmitriy
936020b381 Update the description of FINAL
Задокументировал настройку max_final_threads и обновил описание запросов с FINAL.
2021-01-17 16:25:20 +03:00
Olga Revyakina
fe5053df95 Added note about memory usage 2021-01-17 00:35:41 +03:00
Olga Revyakina
489fa1e083 Fixes and translation to Ru 2021-01-16 13:30:15 +03:00
Olga Revyakina
95c8018b46 Fixes and translation to Ru 2021-01-16 12:58:08 +03:00
alexey-milovidov
bf8d58d2e8
Merge pull request #18723 from ucasFL/select-all
add SELECT ALL syntax
2021-01-14 11:53:09 +03:00
alexey-milovidov
445283c726
Update index.md 2021-01-14 11:52:19 +03:00
Olga Revyakina
360721763c Docs in En 2021-01-13 02:25:21 +03:00
Olga Revyakina
d3b7fa1a77 Docs in En 2021-01-13 02:05:09 +03:00
Denny Crane
2073831aa8
Update distinct.md
removed an outdated note
2021-01-11 19:55:58 -04:00
feng lv
dd884349ac update document 2021-01-04 14:34:22 +00:00
alexey-milovidov
278dda04a6
Update union.md 2020-12-30 16:59:04 +03:00
Dmitriy
c84d02c658 Update union.md
Изменил возможность записывать подзапросы с union в круглых скобках.
2020-12-29 23:54:11 +03:00
Dmitriy
cc034b3373 Update union.md
Подкорректировал английскую и русскую версии.
2020-12-27 11:36:18 +03:00
Dmitriy
30d38bf9c4 Update union.md
Переструктурировал текст.
2020-12-24 21:04:32 +03:00
Dmitriy
31e4512c3d One UNION section.
Объединил все в один раздел UNION.
2020-12-23 22:36:20 +03:00
Dmitriy
9c86559334 Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-4617-document_union_default_mode_setting 2020-12-16 23:28:22 +03:00
Dmitriy
77e10884fc Document union_default_mode setting
Задокументировал настройку union_default_mode.
2020-12-16 20:04:16 +03:00
alexey-milovidov
436adf34df
Merge pull request #17881 from gyuton/gyuton-DOCSUP-4263-Update_the_sql_statement_ORDER_BY
DOCSUP-4263: Updated the sql statement order by
2020-12-13 04:37:29 +03:00
George
9b1d919110 more troubleshooting 2020-12-12 06:39:22 +03:00
George
3794cb2d3f troubleshooting the error 2020-12-12 05:48:23 +03:00
George
cabe1463d1 fixed an error 2020-12-12 03:39:45 +03:00
George
4e49c59ed0 minor fix 2020-12-08 04:55:57 +03:00
George
6be3933cea fixed links v2 2020-12-08 04:27:26 +03:00
George
8760fc1227 Fixed links 2020-12-08 04:07:34 +03:00
George
1f0cfbaca8 Added Collation description 2020-12-08 03:51:41 +03:00