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
Han Fei
4b23142775
Merge branch 'master' into hanfei/statistic
2023-10-17 16:40:31 +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
Han Fei
42dc61abf5
Merge branch 'master' into hanfei/statistic
2023-10-12 16:19:45 +02: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
Han Fei
fcb19b4f77
Merge branch 'master' into hanfei/statistic
2023-10-09 14:24:58 +02: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
Robert Schulze
2e8cac6e9c
Make use_mysql_types_in_show_columns independent from the connection
...
Fixes : #55273
2023-10-07 13:06:41 +00:00
Robert Schulze
a72ae92328
Make the logging in the query cache easier to understand
2023-10-07 11:33:11 +00:00
robot-ch-test-poll4
70c3f31926
Merge pull request #55250 from ethshea/studentt-doc-fix
...
Fix broken link rendering in studentTTest.md
2023-10-05 14:01:19 +02:00
robot-clickhouse
61ff2131b5
Merge pull request #55258 from codenation-nl/patch-1
...
Update truncate.md
2023-10-05 13:51:58 +02:00
Avery Fischer
ecac99f45e
Fix docs typo (makeDateTime32 -> makeDateTime64)
...
Appears to have been a simple typo. Fixing to the actual function!
2023-10-05 13:10:54 +02:00
Jens Hoevenaars
9d63f86259
Update truncate.md
...
Small typo in command
2023-10-05 12:11:33 +02:00
Ethan Shea
95b68743c6
Fix broken link rendering in studentTTest.md
2023-10-04 21:47:06 -04:00
Priyansh Agrawal
540d966033
Docs and comment
2023-10-02 22:51:58 +01:00
pdy
72e4559d30
edit wrong example in en doc
2023-10-01 18:53:41 +08:00
Alexey Milovidov
9aaab27373
Merge pull request #55120 from ClickHouse/fix-functions-in-docs
...
Fix function names in docs
2023-09-30 00:36:39 +03:00
Robert Schulze
16bac8a18f
Merge pull request #55150 from rschu1ze/docs-54820
...
Docs: Fix #54820
2023-09-29 18:31:12 +02:00
Robert Schulze
bbbd05e7c7
Docs: Fix #54820
2023-09-29 15:49:56 +00:00
Alexey Milovidov
458cbb3b18
Fix function names in docs
2023-09-29 10:15:46 +02:00
Alexey Milovidov
8f9a227de1
Merge pull request #54931 from yariks5s/s3_style_url
...
s3-style URL fix
2023-09-29 07:12:01 +03:00
yariks5s
24fb96c91f
changed docs
2023-09-28 15:20:09 +00:00
Nikolay Degterinsky
9ebecb5499
Merge pull request #54639 from evillique/timestamp-function
...
Add `timestamp` function for compatibility with MySQL
2023-09-28 16:44:16 +02:00
Nikolai Kochetov
cf1be73977
Update s3.md
2023-09-28 12:22:48 +02:00
yariks5s
ff455fd5d3
modified docs
2023-09-28 10:20:34 +00:00
Amos Bird
ff86fad3d0
Update docs
2023-09-28 15:11:57 +08:00
Amos Bird
88cc1e0fa7
Add docs
2023-09-28 15:11:56 +08:00
Robert Schulze
675819be6b
Minor fixes
2023-09-27 21:15:20 +00:00
Nikolay Degterinsky
c1f59eccd5
Add fraction part to the time argument, add docs, better test
2023-09-27 20:17:32 +00:00
János Benjamin Antal
c911c8daf4
Prevent attaching parts from tables with different projections or indices ( #55062 )
...
* Prevent attaching parts from tables with different projections or indices
* Update docs
* Add tests
2023-09-27 15:02:53 -04:00
yariks5s
3400e47ac9
added docs
2023-09-27 19:02:01 +00:00
凌涛
0d256a381a
add doc
...
fix tests
modify code stype and spelling
add tests and modify code style
2023-09-27 17:03:53 +08:00
Han Fei
76b9d43dc4
make code beautiful
2023-09-27 11:01:53 +02:00
robot-ch-test-poll3
aa139774a0
Merge pull request #55042 from ucasfl/review-fix
...
Review fix for #54935
2023-09-27 09:36:55 +02:00
flynn
3d299d5f9d
Review fix
2023-09-27 03:16:52 +00:00
Han Fei
6c4474d3d1
refine code structure
2023-09-26 22:22:11 +02:00
George Gamezardashvili
0ce30ab6d5
SSH keys authentication ( #41109 )
...
Added new type of authentication based on SSH keys. It works only for Native TCP protocol.
Co-authored-by: Nikita Mikhaylov <nikitamikhaylov@clickhouse.com>
Co-authored-by: Robert Schulze <robert@clickhouse.com>
2023-09-26 17:50:19 +02:00
vdimir
70ae994e77
Merge pull request #54935 from ucasfl/hamming-distance
...
Add several string distance functions
2023-09-25 17:06:16 +02:00
Priyansh Agrawal
f27a76b923
Add function byteSwap
.
...
byteSwap accepts an integer `operand` and returns the integer which is
obtained by swapping the **endianness** of `operand` i.e. reversing the
bytes of the `operand`.
Issue: #54734
2023-09-24 21:02:09 +01:00
zvonand
2ab38761d7
added docs
2023-09-24 13:01:23 +02:00
flynn
0a701ba7e9
fix spell
2023-09-23 17:50:02 +00:00
flynn
661ba85865
add more functions
2023-09-23 17:17:35 +00:00
flynn
c264bb5fad
fix
2023-09-23 04:11:20 +00:00
robot-ch-test-poll3
1334202af4
Merge pull request #54863 from zvonand/zvonand-refactor-globs
...
Refactor and simplify multi-directory globs
2023-09-22 23:09:05 +02:00
Robert Schulze
ec09fd124d
Merge pull request #54856 from slvrtrn/to-days-since-year-zero-datetime
...
`DateTime`/`DateTime64` support in `toDaysSinceYearZero()`
2023-09-22 20:39:54 +02:00
flynn
0ed66a6611
add doc
2023-09-22 17:48:17 +00:00
Robert Schulze
a7c4efb845
Simpler
2023-09-22 13:13:55 +00:00
Vitaly Baranov
3a2ca1f69c
Merge pull request #51261 from evillique/users-valid-until
...
Add VALID UNTIL clause for users
2023-09-22 12:38:30 +02:00
Robert Schulze
be1e92a2ac
Merge pull request #54518 from rschu1ze/split-better
...
Provide fallback to Python/Spark-like splitting in splitBy*() functions
2023-09-22 12:07:45 +02:00
Pavel Novitskiy
853e3f0aa7
Add drop table IF EMPTY ( #48915 )
2023-09-21 09:20:18 -04:00
slvrtrn
da6b856c32
Merge remote-tracking branch 'origin' into to-days-since-year-zero-datetime
2023-09-21 14:22:37 +02:00
zvonand
5f67788c03
update docs and comments
2023-09-21 00:16:17 +02:00
Yarik Briukhovetskyi
5f92103fa4
Merge branch 'ClickHouse:master' into group_sorted_array_function
2023-09-20 19:35:47 +03:00
slvrtrn
a68fbe073b
Update toDaysSinceYearZero docs
2023-09-20 18:02:53 +02:00
Robert Schulze
2c91e52da1
Merge pull request #54600 from rschu1ze/fix-annoy-crash
...
Annoy/Usearch index: Fix LOGICAL_ERROR during build-up with default values
2023-09-20 17:05:16 +02:00
Robert Schulze
774c4b52da
Rework
2023-09-19 12:20:53 +00:00
robot-clickhouse-ci-1
9e1e8f4d67
Merge pull request #54707 from incfly/doc-update
...
add missing documentation for system sync database replica.
2023-09-19 00:29:17 +02:00
Alexander Tokmakov
de9f4be7bd
Update system.md
2023-09-19 00:04:25 +02:00
Robert Schulze
4ed5b903b4
Docs: remove anchor prefix
2023-09-18 18:35:59 +00:00
Jianfei Hu
e8a292cbd4
Apply suggestions from code review
...
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-09-18 11:08:41 -07:00
robot-ch-test-poll2
c3a5d7dbf0
Merge pull request #54758 from rschu1ze/docs-qc
...
Docs: Update query cache section on non-deterministic functions
2023-09-18 20:01:46 +02:00
Robert Schulze
6872e95fb2
Remove prefixes
2023-09-18 17:34:40 +00:00
Robert Schulze
3753a78d1b
Fix anchors
2023-09-18 17:24:49 +00:00
Yarik Briukhovetskyi
472d4d9503
Merge branch 'ClickHouse:master' into group_sorted_array_function
2023-09-18 20:01:29 +03:00
Robert Schulze
b14e00f966
Docs: Update query cache section on non-deterministic functions
...
Cf. https://github.com/ClickHouse/support-escalation/issues/963
2023-09-18 14:36:16 +00:00
robot-ch-test-poll
23d67fc2a4
Merge pull request #54667 from RoryCrispin/patch-2
...
Small typo
2023-09-18 12:28:58 +02:00
Robert Schulze
2a5aa289e8
Implement true Python/Spark split behavior
2023-09-18 07:42:57 +00:00
Robert Schulze
b5b2cc511b
Pythonic vs Spark splitting
2023-09-18 07:42:52 +00:00
robot-clickhouse-ci-1
a878d104d7
Merge pull request #52839 from zvonand/zvonand-globs-small-fix
...
Fix directory permissions for multi-directory globs. Follow-up #50559
2023-09-16 20:52:30 +02:00
Alexey Milovidov
542237ea7e
Merge pull request #54724 from ClickHouse/alexey-milovidov-patch-7
...
Update grouparray.md
2023-09-16 13:27:56 +03:00
Alexey Milovidov
a738e73e31
Update grouparraylast.md
2023-09-16 13:25:03 +03:00
Alexey Milovidov
30ad0ec9ad
Update grouparray.md
2023-09-16 13:24:21 +03:00
Jianfei Hu
745006a433
add missing documentation for system sync database replica.
...
Signed-off-by: Jianfei Hu <hujianfei258@gmail.com>
2023-09-15 23:37:40 +00:00
Andrey Zvonov
9e89055990
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix
2023-09-15 17:06:22 +03:00
Robert Schulze
3935c2bfb2
Merge pull request #54509 from rschu1ze/yyyymmdd
...
Add YYYYMMDD[hhmmss]to[Date, Date32, DateTime, DateTime64]()
2023-09-15 15:47:34 +02:00
Robert Schulze
aff9dfa630
Minor docs fixes
2023-09-15 11:26:24 +00:00
Rory Crispin
0a0e278c1a
Small typo
2023-09-15 10:45:10 +01:00
Robert Schulze
c422a8f0dc
Cosmetics
2023-09-14 18:05:20 +00:00
Yarik Briukhovetskyi
9a40d517bf
Merge branch 'ClickHouse:master' into group_sorted_array_function
2023-09-14 14:05:40 +03:00
Andrey Zvonov
7dd5dbb2ac
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix
2023-09-14 13:49:59 +03:00
Andrey Zvonov
ff16ddbbb3
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix
2023-09-14 11:31:49 +03:00
slvrtrn
c0961d9378
Merge remote-tracking branch 'origin' into simplified-prepared-statements-for-mysql
2023-09-13 19:33:11 +02:00
Nikolay Degterinsky
140a466a1e
Merge pull request #54400 from evillique/adddate-function
...
Add `addDate` function for compatibility with MySQL
2023-09-13 18:59:26 +02:00
Itay Israelov
8569c1cad0
fix empty array bug
2023-09-13 13:11:53 +03:00
Itay Israelov
6cfed0a660
fix comments 2
2023-09-13 13:11:53 +03:00
Itay Israelov
69ba32940e
fix comments: rname randomSampleFromArray --> arrayRandomSample
2023-09-13 13:11:53 +03:00
Itay Israelov
52c997b026
add documentation
2023-09-13 13:11:53 +03:00
Nikolay Degterinsky
0998b0bbc7
Fixes
2023-09-13 03:14:02 +00:00
Nikolay Degterinsky
268c45d900
Merge remote-tracking branch 'upstream/master' into users-valid-until
2023-09-12 23:44:22 +00:00
Nikolay Degterinsky
e648646598
Fixes
2023-09-12 23:11:58 +00:00
Nikolay Degterinsky
cf662712ea
Add new subDate function, apply review suggestions
2023-09-12 16:47:43 +00:00
slvrtrn
28e2ebf9db
Merge remote-tracking branch 'refs/remotes/origin/simplified-prepared-statements-for-mysql' into simplified-prepared-statements-for-mysql
2023-09-12 18:41:36 +02:00
slvrtrn
dddea9219a
Address the review comments
2023-09-12 18:39:03 +02:00
Robert Schulze
49f29861a0
Merge pull request #54479 from rschu1ze/todayssinceyearzero
...
Add function toDaysSinceYearZero()
2023-09-11 17:05:28 +02:00
Robert Schulze
73ce1993fb
Continue #45070
2023-09-11 13:47:06 +00:00
Kruglov Pavel
21a2cf7707
Merge pull request #54337 from wat-ze-hex/show-functions-2023-09-04
...
Add SHOW FUNCTIONS support to client
2023-09-11 13:03:02 +02:00
robot-clickhouse-ci-1
05e1cdb0db
Merge pull request #54484 from rschu1ze/doc-splitByChar
...
Docs: Mention behavior change of splitByChar() in v22.11
2023-09-10 17:57:48 +02:00
Robert Schulze
2a8e2a0882
Docs: Mention behavior change of splitByChar() in v22.11, see #42673
2023-09-10 14:12:12 +00:00
Robert Schulze
caadfe393b
Fixes
2023-09-10 13:34:02 +00:00
Han Fei
b68421b120
Merge pull request #50906 from johanngan/regexptree-flags
...
Add case insensitive and dot-all modes to RegExpTree dictionary
2023-09-10 03:16:02 +02:00
Robert Schulze
1ce84774f0
Implement toDaysSinceYearZero() / to_days() (MySQL alias)
...
Fixes : #54277
2023-09-09 16:59:39 +00:00
Alexey Milovidov
047d481c97
Merge pull request #54382 from evillique/std-alias
...
Add STD alias to stddevPop function for MySQL compatibility
2023-09-09 02:57:06 +03:00
Denny Crane
f5f741c118
Update type-conversion-functions.md
2023-09-08 16:15:33 -03:00
Denny Crane
24928217b9
Update date-time-functions.md
2023-09-08 16:14:00 -03:00
Denny Crane
3f58e2f134
Update date-time-functions.md
2023-09-08 16:10:16 -03:00
Denny Crane
a0ef063b2d
Update date-time-functions.md
2023-09-08 16:04:35 -03:00
Denny Crane
2d178e9bfd
Update type-conversion-functions.md
2023-09-08 15:58:24 -03:00
Andrey Zvonov
ff4586e663
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix
2023-09-08 18:17:06 +02:00
Leonardo Maciel
0b396ee7b4
Fixed detectLanguage mixed example
2023-09-07 22:27:22 -03:00
Julia Kartseva
59844b0a9d
Add SHOW FUNCTIONS support to client
...
Accepts CH client queries in the form of
SHOW FUNCTIONS [LIKE | ILIKE '< pattern>']
Retrieves all columns from `functions` table in system database.
Fixes #52757
2023-09-07 14:08:50 -07:00
robot-clickhouse
fd4ddc49f2
Merge pull request #54332 from rschu1ze/consolidate-tests-53149
...
Consolidate GCD codec tests (Follow up to #53149 )
2023-09-07 15:29:22 +02:00
Nikolay Degterinsky
b06412ae60
Add addDate function for compatibility with MySQL
2023-09-07 11:15:49 +00:00
zvonand
c36a3fbd39
renamed setting
2023-09-07 12:00:25 +03:00
Han Fei
60b0df9245
Merge branch 'master' into regexptree-flags
2023-09-07 10:46:43 +02:00
Joey Wang
872f981416
add doc
2023-09-07 16:19:17 +08:00
Alexey Milovidov
ce8ab5c9dd
Update comment.md
2023-09-07 07:30:46 +03:00
Nikolay Degterinsky
d95c29227f
Add STD alias to stddevPop function for MySQL compatibility
2023-09-07 03:46:27 +00:00
johanngan
bcb058f999
Add case insensitive and dot-all modes to RegExpTree dictionary
...
The new per-dictionary settings control regex match semantics around
case sensitivity and the '.' wildcard with newlines. They must be set at
the dictionary level since they're applied to regex engines at
pattern-compile-time.
- regexp_dict_flag_case_insensitive: case insensitive matching
- regexp_dict_flag_dotall: '.' matches all characters including newlines
They correspond to HS_FLAG_CASELESS and HS_FLAG_DOTALL in Vectorscan
and case_sensitive and dot_nl in RE2. These are the most useful options
compatible with the internal behavior of RegExpTreeDictionary around
splitting up simple and complex patterns between Vectorscan and RE2.
The alternative is to use (?i) and/or (?s) for all patterns. However,
(?s) isn't handled properly by OptimizedRegularExpression::analyze().
And while (?i) is, it still causes the dictionary to treat the pattern
as "complex" for sequential scanning with RE2 rather than multi-matching
with Vectorscan, even though Vectorscan supports case insensitive
literal matching. Setting dictionary-wide flags is both more convenient,
and circumvents these problems.
2023-09-06 11:28:53 -05:00
Robert Schulze
f2f24610d0
Improve English grammar by 8.3%
2023-09-06 15:04:18 +02:00
Alexander Sapin
518d4b4357
Merge branch 'master' into alter-table-add-comment
2023-09-06 12:34:04 +02:00
Robert Schulze
8f6cd157b9
Merge pull request #54316 from ucasfl/isNull
...
Fix isZeroOrNull(NULL)
2023-09-06 10:38:22 +02:00
Robert Schulze
d36edea9e2
Consolidate GCD codec tests (follow up to #53149 )
2023-09-05 21:34:27 +00:00
Robert Schulze
470ce3444c
Merge pull request #53149 from seshWCS/gcddelta-codec
...
Add GCD codec
2023-09-05 23:32:06 +02:00
Robert Schulze
b314b8d4ac
Merge pull request #53328 from valbok/decimal
...
Introduce default parameters to DECIMAL family types
2023-09-05 23:30:11 +02:00
Robert Schulze
17cb6a8e3f
SHOW COLUMNS: update docs, refresh expected results, add comment about bug
2023-09-05 18:34:33 +00:00
Robert Schulze
37cabaf993
Add docs, consolidate tests
2023-09-05 17:31:58 +00:00
seshWCS
dbab2f27ba
Docs-fix
2023-09-05 12:40:21 +00:00
pufit
2469cbbf67
Update projection.md
2023-09-05 08:28:58 -04:00
Александр Нам
0ca380707f
Merge branch 'master' into gcddelta-codec
2023-09-05 11:08:00 +03:00
Vasily Nemkov
c0db042879
Update optimize.md
2023-09-04 17:01:10 +02:00
Vasily Nemkov
ef3ab85b76
Minor clarifications to the OPTIMIZE ... DEDUPLICATE
docs
2023-09-04 16:57:38 +02:00
Robert Schulze
2ca2bdd7c5
Merge pull request #53768 from ClickHouse/simplify-docs-date-units
...
Simply docs for possible values for date units
2023-09-04 09:11:19 +02:00
robot-clickhouse-ci-1
ec628ee697
Merge pull request #54097 from bharatnc/ncb/decode-html-component
...
add function decodeHTMLComponent
2023-09-04 05:00:52 +02:00
Han Fei
3f2848ea63
Merge pull request #53803 from ClickHouse/revert-53795-revert-53641-feat_53602
...
Revert "Revert "dateDiff: add support for plural units.""
2023-09-03 03:36:03 +02:00
Александр Нам
9a71bce1f5
Merge branch 'ClickHouse:master' into gcddelta-codec
2023-09-02 00:51:49 +03:00
vdimir
406d61f9c8
Merge pull request #53755 from ClickHouse/vdimir/join_on_nullsafe
2023-09-01 11:02:37 +02:00
Yarik Briukhovetskyi
965acddc46
Merge branch 'ClickHouse:master' into group_sorted_array_function
2023-09-01 10:57:39 +03:00
yariks5s
8981d15ed7
Merge branch 'group_sorted_array_function' of github.com:yariks5s/ClickHouse into group_sorted_array_function
2023-08-31 18:48:55 +00:00
yariks5s
3cc6afe672
Ehnanced tests, fixed review
2023-08-31 18:48:44 +00:00
Andrey Zvonov
83405a8808
Merge branch 'master' into zvonand-globs-small-fix
2023-08-31 08:42:48 +02:00
Bharat Nallan Chakravarthy
7889626046
add docs
2023-08-30 21:42:51 -07:00
seshWCS
e0157c4288
Docs-fix
2023-08-29 18:19:37 +00:00
seshWCS
85240aca3b
Docs-fix
2023-08-29 18:09:28 +00:00
Александр Нам
7c2aefe170
Merge branch 'ClickHouse:master' into gcddelta-codec
2023-08-29 20:59:54 +03:00
robot-ch-test-poll1
2c8cc7979f
Merge pull request #53571 from ClickHouse/password-complexity-req
...
Add password complexity requirements to docs
2023-08-29 12:42:30 +02:00
Robert Schulze
679a983094
Switch paragraphs
2023-08-29 10:57:35 +02:00
Justin de Guzman
be65292714
Rename COLUMNS expression to dynamic column selection
2023-08-28 19:55:42 -07:00
Justin de Guzman
bc6c8ea410
Add info about password complexity req for ClickHouse Cloud
2023-08-28 18:16:53 -07:00
vdimir
1cf68baad7
Add NULL values in JOIN keys section to join doc
2023-08-28 11:41:36 +00:00
Song Liyong
15310117b0
Introduce default parameters to DECIMAL family types
...
In standard SQL, the syntax DECIMAL(M) is equivalent to DECIMAL(M,0).
Similarly, the syntax DECIMAL is equivalent to DECIMAL(M,0), where the
implementation is permitted to decide the value of M.
https://dev.mysql.com/doc/refman/8.0/en/fixed-point-types.html
Since MySQL uses 10 as the default value for precision,
suggesting to also support this in ClickHouse
2023-08-28 09:15:57 +02:00
Александр Нам
ee0b2e4b39
Merge branch 'ClickHouse:master' into gcddelta-codec
2023-08-27 02:41:10 +03:00
Andrey Zvonov
911bf94fbd
Merge branch 'master' into zvonand-globs-small-fix
2023-08-25 23:50:07 +05:00
vdimir
50b8bbe0dc
Merge pull request #53557 from mkmkme/mkmkme/array-shift-rotate
...
Added functions `array{Rotate,Shift}{Left,Right}`
2023-08-25 13:24:31 +02:00
Han Fei
11262d0156
Revert "Revert "dateDiff: add support for plural units.""
2023-08-24 17:11:58 +02:00
Alexander Tokmakov
59efbe4163
Revert "dateDiff: add support for plural units."
2023-08-24 15:35:18 +03:00
Yarik Briukhovetskyi
72958343ce
Merge branch 'ClickHouse:master' into group_sorted_array_function
2023-08-24 12:58:40 +03:00
Mikhail Koviazin
a5eb1aa22f
Added functions array{Rotate,Shift}{Left,Right}
...
Fixes #52755 and #52895
2023-08-24 09:16:39 +00:00
Justin de Guzman
af43e95f8d
Update date-time-functions doc
2023-08-23 17:42:55 -07:00
Justin de Guzman
2db0e0879d
Simply docs for possible values for date units
2023-08-23 17:39:33 -07:00
Alexey Milovidov
b884fdb867
Merge pull request #53641 from irenjj/feat_53602
...
dateDiff: add support for plural units.
2023-08-23 12:45:35 +03:00
Александр Нам
a291444b30
Update table.md
2023-08-23 00:33:14 +03:00
Александр Нам
c7f7fc55c4
Merge branch 'ClickHouse:master' into gcddelta-codec
2023-08-22 20:13:25 +03:00
Александр Нам
50e10a66cc
Added Docs
2023-08-22 17:12:01 +00:00
Robert Schulze
583d9b33f0
Merge pull request #51446 from rschu1ze/recfgable-caches
...
Runtime-reconfigurable cache sizes
2023-08-21 23:27:21 +02:00
Nikita Mikhaylov
145c99ee94
Merge pull request #53280 from evillique/better-stop-listen
...
Add EXCEPT clause to SYSTEM STOP LISTEN query
2023-08-21 19:03:49 +02:00
Robert Schulze
8cbf626d0f
Cosmetics
2023-08-21 14:08:44 +00:00
irenjj
0f0b5eb3b1
dateDiff: add support for plural units.
2023-08-21 21:15:00 +08:00
kevinyhzou
48cb9b59f4
Support from/to utc timestamp
2023-08-21 09:28:00 +08:00
Justin de Guzman
f891401a5d
Add password complexity requirements to docs
2023-08-18 17:58:06 -07:00
Yarik Briukhovetskyi
c5226ff2f5
Merge branch 'ClickHouse:master' into group_sorted_array_function
2023-08-19 02:50:26 +03:00
Alexey Milovidov
17b24eb38d
Merge pull request #53490 from rschu1ze/boost-179
...
Update boost to 1.79
2023-08-19 02:12:13 +03:00
Yarik Briukhovetskyi
ed7d0fa4cc
Merge branch 'ClickHouse:master' into group_sorted_array_function
2023-08-19 01:50:56 +03:00
yariks5s
341cf7da66
added tests and docs, done with func
2023-08-18 17:27:25 +00:00
Robert Schulze
b8912203e4
Merge pull request #53525 from aiven-sal/aiven-sal/siphash_readd
...
Re-add SipHash keyed functions, try II
2023-08-18 14:14:56 +02:00
Alexey Milovidov
e7d0edfce6
Merge pull request #53261 from bharatnc/ncb/truncate-db
...
support TRUNCATE DATABASE
2023-08-18 08:22:32 +03:00
Robert Schulze
6b37595e11
Update boost to 1.79
2023-08-17 19:34:07 +00:00
Robert Schulze
f20dd27ba6
Clean header mess up
2023-08-17 18:47:11 +00:00
Nikolay Degterinsky
a893f75884
Merge remote-tracking branch 'upstream/master' into better-stop-listen
2023-08-16 23:06:18 +00:00
zvonand
0efaa5ab45
Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-globs-small-fix
2023-08-15 21:20:52 +05:00
Andrey Zvonov
d161a87a34
Update docs/en/sql-reference/table-functions/file.md
...
Co-authored-by: SmitaRKulkarni <64093672+SmitaRKulkarni@users.noreply.github.com>
2023-08-15 19:10:40 +03:00
Nikolay Degterinsky
1738afc196
Update insert-into.md
2023-08-14 16:37:34 +02:00
Andrey Zvonov
3d902e65e4
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix
2023-08-12 23:12:47 +03:00
Rich Raposa
13a03c046f
Remove duplicate section from Dictionary page
2023-08-11 23:45:58 -06:00
Alexey Milovidov
67b45619eb
Merge pull request #53239 from evillique/tuple-concat
...
Add tupleConcat function
2023-08-12 03:35:25 +03:00
Salvatore Mesoraca
08e443b766
Revert "Revert "Re-add SipHash keyed functions""
...
This reverts commit e68234a231
.
2023-08-11 17:30:04 +02:00
Andrey Zvonov
02c511a008
Merge branch 'master' into zvonand-globs-small-fix
2023-08-11 15:56:44 +02:00
zvonand
1983c7ce95
update docs
2023-08-11 16:53:17 +03:00
Bharat Nallan Chakravarthy
8cd9f3b912
add docs
2023-08-10 21:14:47 -07:00
Nikolay Degterinsky
bcc0fbbf91
Add EXCEPT clause to SYSTEM STOP LISTEN query
2023-08-10 16:10:33 +00:00
pufit
af51268da1
Merge pull request #51912 from ClickHouse/pufit/role-from-storage
...
Create, Drop, or Move access entities between different access storages.
2023-08-10 09:47:26 -04:00
zvonand
e4a1780bd7
update docs according to the PR + fix the same for HDFS
2023-08-10 15:29:27 +03:00
Alexander Tokmakov
4b30900fed
Revert "Improve CHECK TABLE system query"
2023-08-10 14:44:16 +03:00
Kruglov Pavel
14aad359e6
Merge pull request #52555 from bigo-sg/starts_ends_with_utf8
...
Add new function startsWithUTF8 and endsWithUTF8
2023-08-10 13:18:04 +02:00
alesapin
57025eed65
Merge pull request #52745 from ClickHouse/vdimir/check_table_improvements
...
Improve CHECK TABLE system query
2023-08-10 11:48:00 +02:00
Alexey Milovidov
52c3704dc7
Merge pull request #52683 from rschu1ze/readBinary-specializations
...
Remove unneeded readBinary() specializations + update docs
2023-08-10 04:04:57 +03:00
pufit
1a3eac0d4d
Merge branch 'master' into pufit/role-from-storage
2023-08-09 17:50:07 -04:00
Nikolay Degterinsky
5403507950
Add tupleConcat function
2023-08-09 20:52:09 +00:00
Slach
a9580644eb
add ** wildcard to docs, which available from 22.11
...
Signed-off-by: Slach <bloodjazman@gmail.com>
2023-08-09 16:30:33 +04:00
vdimir
1183dac293
fix doc links
2023-08-08 09:45:34 +00:00
vdimir
50715ca4fc
fix doc links
2023-08-08 09:45:33 +00:00
vdimir
aeee50466c
Upd doc for CHECK TABLE
2023-08-08 09:45:32 +00:00
李扬
d15ae5e120
Merge branch 'master' into starts_ends_with_utf8
2023-08-08 16:18:04 +08:00
pufit
2f46ae850e
Merge branch 'master' into pufit/role-from-storage
2023-08-07 17:57:41 -04:00
SmitaRKulkarni
75f81bdc44
Merge pull request #50795 from ClickHouse/azure_table_function_cluster
...
Table function azureBlobStorageCluster
2023-08-07 09:16:52 +02:00
Antonio Andelic
cafa5ef2f3
Merge branch 'master' into add-reading-from-archives
2023-08-06 10:21:47 +00:00
Alexey Milovidov
70630a273a
Merge branch 'master' into readBinary-specializations
2023-08-05 03:16:29 +03:00
SmitaRKulkarni
1e3ae89161
Merge branch 'master' into azure_table_function_cluster
2023-08-04 21:39:32 +02:00
Antonio Andelic
d4d93331dd
Merge branch 'master' into add-reading-from-archives
2023-08-04 09:00:20 +00:00
Alexey Milovidov
a7eddd6ffb
Merge branch 'master' into issue_#50808
2023-08-03 16:09:40 +03:00
Anton Popov
92cb5e9ae3
Merge pull request #52687 from alkorgun/fix-named-collections-on-cluster-23.7
...
Fix named collections on cluster 23.7
2023-08-03 14:50:28 +02:00
Alexander Tokmakov
7684e68008
Add system stop pulling replication log ( #52881 )
...
* add system stop pulling replication log
* add const
* fix another stupid test
* Update test.py
2023-08-03 13:34:43 +03:00
Alexey Milovidov
bffe3a314e
Merge branch 'master' into issue_#50808
2023-08-03 00:06:06 +03:00
Smita Kulkarni
2c47679918
Merge branch 'master' into azure_table_function_cluster
2023-08-02 14:19:45 +02:00
李扬
041af6899d
Merge branch 'master' into starts_ends_with_utf8
2023-08-02 10:29:29 +08:00
Antonio Andelic
2430ebabf5
Merge branch 'master' into add-reading-from-archives
2023-08-01 17:22:38 +00:00
Antonio Andelic
e366ca61f5
Merge branch 'master' into add-reading-from-archives
2023-08-01 15:33:20 +00:00
Kruglov Pavel
8f6526a930
Merge branch 'master' into structure-to-schema
2023-08-01 16:22:14 +02:00
Alexey Milovidov
4578d43f79
Merge pull request #52656 from Avogar/rename-setting-for-url-encoding
...
Rename setting disable_url_encoding to enable_url_encoding and add a test
2023-08-01 16:09:01 +03:00
Thom O'Connor
4894a357f5
Update datetime.md
...
Correct URLs for settings-formats.md to date_time_input_format and date_time_output_format
2023-07-31 17:49:59 -06:00
taiyang-li
292d2ecb9a
Merge branch 'starts_ends_with_utf8' of https://github.com/bigo-sg/ClickHouse into starts_ends_with_utf8
2023-07-31 12:08:46 +08:00
taiyang-li
fdfe64f1b0
change as request
2023-07-31 12:07:50 +08:00
Antonio Andelic
1fc1b6aae4
More fixes
2023-07-28 13:00:35 +00:00
Kruglov Pavel
3e1c409e60
Merge branch 'master' into structure-to-schema
2023-07-28 11:32:16 +02:00
Antonio Andelic
720d587e85
Merge branch 'master' into add-reading-from-archives
2023-07-28 08:49:00 +00:00
pufit
9dbb106dc1
Fix tests, docs
2023-07-27 23:37:09 -04:00
李扬
d0c9425711
Merge branch 'master' into starts_ends_with_utf8
2023-07-28 10:03:39 +08:00
Илья Коргун
d1f3849d99
Fix errata at named collections sql-reference
2023-07-27 22:08:36 +03:00
avogar
67b0993bdf
Add documentation
2023-07-27 18:54:41 +00:00
Robert Schulze
8c14c4b5e8
Remove unneeded readBinary() specializations + update docs
...
The default instantiation
template <typename T>
requires is_arithmetic_v<T>
inline void readBinary(T & x, ReadBuffer & buf) { readPODBinary(x, buf); }
covers Int32, Int128, Int256, UInt32, UInt128 and UInt256 cases already.
2023-07-27 15:13:54 +00:00
avogar
b5fc34b770
Rename setting disable_url_encoding to enable_url_encoding and add a test
2023-07-27 12:20:33 +00:00
Al Korgun
f026ccf11e
Merge branch 'ClickHouse:master' into fix-named-collections-on-cluster-23.7
2023-07-27 10:48:25 +03:00
Илья Коргун
e511072df1
Update named collections related docs
2023-07-27 09:42:38 +03:00
Alexey Milovidov
cb30e78bec
Merge branch 'master' into issue_#50808
2023-07-27 07:51:55 +03:00
robot-ch-test-poll2
7bcef0a6c0
Merge pull request #52520 from zvonand/revert-52450-remove-to-decimal-string
...
Fix `toDecimalString` function
2023-07-27 00:18:36 +02:00
Nikolay Degterinsky
d89e2e6a27
Add SYSTEM STOP LISTEN query ( #51016 )
...
Co-authored-by: Nikita Mikhaylov <nikitamikhaylov@clickhouse.com>
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-07-26 19:58:41 +02:00
taiyang-li
27f3c5cfa2
change as requested
2023-07-26 10:53:07 +08:00
Julian Maicher
b91852de3a
fix(docs): Document correct MODIFY COLUMN REMOVE syntax
2023-07-25 16:07:29 +02:00
Yakov Olkhovskiy
e133db7937
Merge pull request #51472 from bigo-sg/substring_index
...
Add function substring_index, as in spark or mysql
2023-07-25 08:43:13 -04:00