Nikolay Degterinsky
cd779d4f50
Merge pull request #55856 from ClickHouse/rewrite-delete-docs
...
Rewrite DELETE docs
2023-11-01 00:10:01 +01:00
Joanna Hulboj
e5b4d7fac7
Fix failing checks
2023-10-31 21:00:11 +00:00
Robert Schulze
13b2946ae2
Merge pull request #55960 from rschu1ze/adddate-stringargs
...
Support string-encoded date arguments in `addDate()`
2023-10-31 15:37:34 +01:00
Raúl Marín
f3a3ec53f6
Merge pull request #56124 from den-crane/patch-64
...
Beautify `show merges`
2023-10-31 11:02:10 +01:00
Denny Crane
3535adf2af
Update show.md
2023-10-30 09:53:23 -03:00
Alexey Milovidov
3631e476eb
Merge pull request #54947 from amosbird/minmax-combinator
...
Introduce -ArgMin/-ArgMax combinators.
2023-10-30 03:35:28 +01:00
robot-ch-test-poll2
088a3ada7f
Merge pull request #56070 from ClickHouse/docs-dictionary-updates
...
Clarify query behavior dictionary updates
2023-10-30 01:20:21 +01:00
Alexey Milovidov
6eff22568f
Revert "Add function getHttpHeader"
2023-10-29 19:50:39 +03:00
justindeguzman
9fecf429b1
Docs: edit lightweight DELETE docs based on feedback
2023-10-28 20:23:26 -07:00
vdimir
36c1919d7f
Add CHECK ALL TABLES to docs
2023-10-27 15:22:11 +00:00
Robert Schulze
5801b06529
Merge pull request #55983 from rschu1ze/snowflake-scale
...
Fix dateTime64ToSnowflake64() with non-default scale
2023-10-27 10:22:35 +02:00
Justin de Guzman
b51f90362d
Clarify query behavior dictionary updates
2023-10-27 00:20:32 -07:00
Robert Schulze
325ff33c3a
Merge pull request #55239 from aiven-sal/aiven-sal/format_query
...
Add formatQuery function
2023-10-26 22:46:01 +02:00
vdimir
dbaf66b8f2
Fix function_json_value_return_type_allow_nullable setting name in doc
2023-10-26 19:26:18 +02:00
Anton Popov
9e64f51ffa
Merge pull request #56020 from CurtizJ/minor-style-fixes
...
Correct the implementation of function `jsonMergePatch`
2023-10-26 13:26:55 +02:00
Salvatore Mesoraca
56bd61d207
Rename formatQueryOneLine -> formatQuerySingleLine
2023-10-26 13:09:20 +02:00
Salvatore Mesoraca
21e0c510c8
formatQuery: improve doc
2023-10-26 13:08:11 +02:00
vdimir
1d5f75fd71
Merge pull request #53404 from ClickHouse/vdimir/check_table_improvements2
...
Improve CHECK TABLE system query, support checking part
2023-10-26 10:57:44 +02:00
robot-ch-test-poll3
90c8efa23f
Merge pull request #55979 from kitaisreal/add-show-setting-query
...
Add SHOW SETTING query
2023-10-26 09:09:25 +02:00
Dmitry Novik
e25ce7c5fb
Merge pull request #56007 from nellicus/patch-1
...
Fix toDayOfWeek return value description
2023-10-25 20:21:20 +02:00
Maksim Kita
108df081b7
Add documentation
2023-10-25 18:49:00 +03:00
Anton Popov
3e6ecf1858
correct the implementation of function jsonMergePatch
2023-10-25 15:17:28 +00:00
Dmitry Novik
3973b24302
Update docs/en/sql-reference/functions/date-time-functions.md
2023-10-25 16:58:25 +02:00
Anton Popov
6ba59b8408
Merge pull request #54364 from Joeywzr/master
...
Support jsonMerge function
2023-10-25 15:27:16 +02:00
Robert Schulze
5067fb342f
Support-encoded date arguments in addDate()
2023-10-25 10:41:18 +00:00
Antonio Bonuccelli
8861f8b6ea
Fix toDayOfWeek return value description
...
Fix toDayOfWeek return value description
2023-10-25 11:50:41 +02:00
Raúl Marín
6068277af9
Merge pull request #55815 from jetgm/master
...
Add SHOW MERGES
2023-10-25 11:44:30 +02:00
Robert Schulze
a7e582fb11
Fix style, pt. II
2023-10-25 09:35:39 +00:00
Raúl Marín
bee9eb5df4
Merge pull request #55962 from Algunenano/show_databases_limit
...
Fix `SHOW DATABASES LIMIT <N>`
2023-10-25 10:27:43 +02:00
Salvatore Mesoraca
a95a2a5d66
formatQueryOneLine: create new function format queries on one line
2023-10-25 10:10:04 +02:00
Robert Schulze
9838e0ce3a
Update docs
2023-10-25 08:01:57 +00:00
jetgm
ca766e3033
update doc and change order by
2023-10-25 11:08:25 +08:00
Robert Schulze
f94c33586c
Fix issue #42966
2023-10-24 15:14:20 +00:00
Robert Schulze
0955107e8e
Merge pull request #55948 from rschu1ze/arrayFold-switch-args
...
arrayFold: Switch accumulator and array arguments
2023-10-24 16:16:02 +02:00
Salvatore Mesoraca
2d2eaceb77
formatQuery: move doc
2023-10-24 16:13:15 +02:00
Salvatore Mesoraca
457e7ba7bd
formatQuery: improve doc
2023-10-24 15:38:24 +02:00
Salvatore Mesoraca
1380dc942e
Add formatQuery function
2023-10-24 15:38:24 +02:00
Sergei Trifonov
e2846d4c58
Merge pull request #55922 from joclement/patch-2
...
docs: state limitations of `USING` clause.
2023-10-24 12:57:58 +02:00
Robert Schulze
38a2ba5769
Cosmetics
2023-10-24 09:53:20 +00:00
justindeguzman
8ea93b5a11
DELETE docs improvements based on feedback
2023-10-23 14:20:00 -07:00
Robert Schulze
b9b66e76dd
Switch accumulator and array arguments
2023-10-23 14:59:16 +00:00
Robert Schulze
bef5cea5a0
Merge remote-tracking branch 'rschu1ze/master' into string-addinterval
2023-10-23 14:08:18 +00:00
Robert Schulze
bb856680e7
Incorporated review feedback
2023-10-23 14:07:14 +00:00
vdimir
1e068640c8
Add CHECK TABLE PART to docs
2023-10-23 12:33:36 +00:00
Raúl Marín
7d7bf1f565
Merge pull request #55826 from Algunenano/clearer_matview_creation_errors
...
Provide a better message for common MV pitfalls
2023-10-23 14:07:14 +02:00
Denny Crane
835be79d4b
Update docs/en/sql-reference/functions/array-functions.md
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-10-23 07:06:41 -03:00
vdimir
9d840c6532
Use single thread for check table with check_query_single_value_result=0
2023-10-23 09:36:41 +00:00
vdimir
fe95c0d0e4
Improve CHECK TABLE system query
...
Resubmit PR #52745
2023-10-23 09:35:26 +00:00
Denny Crane
bd934575ea
Update array-functions.md
2023-10-23 05:29:42 -03:00
Denny Crane
8417b64530
Update array-functions.md
2023-10-23 05:27:26 -03:00
Joris Clement
c885314bfe
docs: state limitations of USING
clause.
...
State that it is (currently) not possible to use `USING` with multiple joins. The exception thrown is `Multiple USING statements are not supported`. The relevant code section is d08ce13107/src/Interpreters/CrossToInnerJoinVisitor.cpp (L191-L192)
.
2023-10-23 09:41:24 +02:00
Robert Schulze
c2215cb5f0
Support string arguments
2023-10-22 09:28:45 +00:00
Aleksei Filatov
0a1f3f205c
Add external HTTP Basic authenticator ( #55199 )
2023-10-20 19:24:19 +02:00
Robert Schulze
3551d7f2d6
Update docs
2023-10-20 15:46:17 +00:00
Justin de Guzman
757fa750e6
Rewrite DELETE docs
2023-10-19 22:00:39 -07:00
Raúl Marín
dd640cba72
Provide a better message for common MV pitfalls
2023-10-19 13:21:57 +02:00
jetgm
bde5c5a4a8
add show merges
2023-10-19 18:17:28 +08:00
Sinan
c7f78ac73a
Add aggregation function for Largest-Triangle-Three-Buckets ( #53145 )
...
* Added a simple lttb aggregate function
* Added support for multiple datatypes
* Added support for Date and Date32, updated LTTBData struct
* Updated code to handle bucket size 0 and 1
* Added sort for LTTBData
* Added tests and documentation
* Added some code style fixes
* Added function to new func ref file
* Removed function from new func ref file
* Apply suggestions from code review
* Updated unit tests
* updated LTTB data code
* Minor style fixes
* Updated code with std sort
* updated tests
* Renamed lttb to largestTriangleThreeBuckets
* Added alias lttb
---------
Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2023-10-18 14:47:18 +02:00
János Benjamin Antal
eeff98f3a3
Merge pull request #55373 from lingtaolf/enhancement/rename_without_keyword
...
Support rename table without keyword TABLE
2023-10-16 14:06:23 +02:00
Robert Schulze
dcedc5f10b
Merge remote-tracking branch 'rschu1ze/master' into string-args-in-week-functions
2023-10-14 08:32:33 +00:00
Robert Schulze
a47cff1981
Merge pull request #55607 from rschu1ze/byteswap-128-256
...
byteswap: Add 16/32-byte integer support
2023-10-14 10:30:29 +02:00
Alexander Tokmakov
3e60451ac7
Revert "Merge pull request #54421 from evillique/cluster-groups"
...
This reverts commit 211c80e1a0
, reversing
changes made to b53a98217c
.
2023-10-13 18:55:51 +02:00
Robert Schulze
246e29a41a
Add 16/32-byte integer support
2023-10-13 14:54:56 +00:00
Robert Schulze
d02a718076
Merge pull request #55211 from Priyansh121096/master
...
Add function byteSwap
2023-10-13 16:54:28 +02:00
Robert Schulze
1957179058
Make the warning in the docs more strict
2023-10-13 13:21:38 +00:00
Robert Schulze
bb0ff98f5e
String argument support for toDayOfWeek(), toWeek() and toYearWeek()
2023-10-13 10:30:37 +00:00
robot-ch-test-poll3
3bb141cd51
Merge pull request #55570 from ClickHouse/docs-datetime-functions
...
Add syntax and examples to docs of date/time functions
2023-10-12 22:28:03 +02:00
rfraposa
c066f6044d
Add syntax and examples to docs of date/time functions
2023-10-12 11:24:57 -06:00
robot-clickhouse-ci-1
211c80e1a0
Merge pull request #54421 from evillique/cluster-groups
...
Add replica groups to Replicated database engine
2023-10-12 18:14:42 +02:00
Nikolay Degterinsky
20e16be27b
Fixes & improvements
2023-10-12 15:02:08 +00:00
Alexander Tokmakov
6dbc224fc7
Update table.md
2023-10-12 12:50:05 +02:00
robot-clickhouse-ci-1
c40a79f0b4
Merge pull request #54813 from lingtaolf/feature/function-getClientHttpHeader
...
Add function getHttpHeader
2023-10-12 10:13:20 +02:00
凌涛
89d123d0fd
modify doc
2023-10-12 14:24:59 +08:00
凌涛
4499dd3e2f
modify style
2023-10-12 14:21:20 +08:00
alesapin
3f6d1414d3
Merge pull request #55196 from xjtupdy/doc-fix-ClickHouse
...
edit wrong example in en doc
2023-10-11 20:34:13 +02:00
alesapin
fc1ad9a969
Update docs/en/sql-reference/functions/arithmetic-functions.md
2023-10-11 18:24:44 +02:00
alesapin
a150ec53c0
Update arithmetic-functions.md
2023-10-11 18:24:24 +02:00
凌涛
21afc422dd
Merge branch 'master' into feature/function-getClientHttpHeader
2023-10-11 12:01:25 +08:00
Kruglov Pavel
5ded0005a3
Merge pull request #55064 from AVMusorin/system-drop-format-cache
...
Allow drop cache for Protobuf format
2023-10-10 14:23:11 +02:00
Memo
b7f70c2ba3
Merge branch 'master' into master
2023-10-10 20:08:41 +08:00
Robert Schulze
31ae84604f
Some fixups
2023-10-10 09:54:06 +00:00
Joey Wang
06a7b679f6
support merging of nested paths
2023-10-10 14:57:37 +08:00
凌涛
51e2e59a97
Merge remote-tracking branch 'origin/master' into feature/function-getClientHttpHeader
2023-10-10 10:56:24 +08:00
Priyansh Agrawal
9677dedd87
Add negative tests.
...
Also:
- Add comments in tests.
- Add an example in docs where an IPv4 is casted to an int, byteswapped
and then casted back to an IPv4.
2023-10-09 21:52:06 +00:00
Priyansh Agrawal
2e4709fd10
Remove "unsigned" from docs now that we support all ints.
2023-10-09 21:16:46 +00:00
Robert Schulze
624dbcdb4f
Merge pull request #49794 from Lirikl/arrayFold
...
Added function `arrayFold()`
2023-10-09 13:38:35 +02:00
Aleksandr Musorin
8d0c961af0
Allow drop cache for protobuf format
...
Before it was impossible to update Protobuf schema without server
restart. With this commit, it is enough to send query `SYSTEM DROP
SCHEMA FORMAT CACHE [FOR Protobuf]`.
2023-10-09 10:41:15 +02:00
Robert Schulze
0e1aed2a38
Merge pull request #55327 from rschu1ze/to_start_of_interval_hours
...
Refactorings and better documentation for `toStartOfInterval()`
2023-10-08 22:33:12 +02:00
Robert Schulze
07e0cc196d
Some fixups
2023-10-08 20:27:13 +00:00
Robert Schulze
d4e7fa2542
Merge pull request #55123 from garcher22/untuple
...
Use the tuple element names as column names in `untuple()`
2023-10-08 20:14:29 +02:00
Robert Schulze
32a77ca1eb
Merge pull request #54391 from itayisraelov/israelov/generate-random-int-array
...
Add function `arrayRandomSample()`
2023-10-08 18:28:58 +02:00
Robert Schulze
558b2ff7b9
Fix spelling
2023-10-08 13:50:33 +00:00
Robert Schulze
3f33c32684
Fix style
2023-10-08 10:46:28 +00:00
Robert Schulze
8c35ccf9e8
Some fixups
2023-10-08 10:29:46 +00:00
Robert Schulze
8a8f769508
Update docs
2023-10-08 10:16:05 +00:00
Priyansh Agrawal
2c04370e5f
Use std::byteswap instead of custom implementations.
...
- Also allow signed ints now because std::byteswap accepts them.
- Fix for style check.
2023-10-07 23:59:24 +00:00
Priyansh Agrawal
302291e17b
Address a few review comments.
...
- Consider byteswap injective.
- Make function case-insensitive.
- Add in-code documentation and copy-paste it to the markdown docs.
2023-10-07 23:05:07 +00:00
Robert Schulze
312fe8e31d
Merge pull request #55298 from rschu1ze/use_mysql_types_in_show_columns
...
Make `use_mysql_types_in_show_columns` independent from the connection
2023-10-07 22:03:24 +02:00
Robert Schulze
73ff017fb5
Merge remote-tracking branch 'rschu1ze/master' into israelov/generate-random-int-array
2023-10-07 18:10:09 +00:00
Robert Schulze
3580c4d730
Fixups
2023-10-07 18:08:54 +00:00