Commit Graph

224 Commits

Author SHA1 Message Date
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