Commit Graph

173 Commits

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