Commit Graph

3376 Commits

Author SHA1 Message Date
Kruglov Pavel
966f57ef68
Merge pull request #42777 from Avogar/improve-streaming-engines
Refactor and Improve streaming engines Kafka/RabbitMQ/NATS and data formats
2023-01-02 15:59:06 +01:00
Azat Khuzhin
b9125bb351
Introduce groupArrayLast() (useful to store last X values) (#44521)
* Cleanup DataTypeCustomSimpleAggregateFunction::checkSupportedFunctions()

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Remove unused GroupArrayGeneralListImpl

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Introduce groupArrayLast() (useful to store last X values)

Also do some refactoring to make code cleaner:
- rename insert() to insertWithSampler() (since it is used only for
  groupArraySample())
- split merge methods into Last/RNG/...

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-02 15:20:21 +01:00
Robert Schulze
545576fe01
Merge pull request #43818 from bigo-sg/improve_from_unixtime
Add new functions to format datetime in joda datetime style
2023-01-02 13:41:50 +01:00
Robert Schulze
e9e04166d9
Merge remote-tracking branch 'origin/master' into query-result-cache 2023-01-02 08:20:27 +00:00
DanRoscigno
ec5314ff84 full path for links, split sql from response 2022-12-30 11:17:43 -05:00
Alexey Milovidov
5ca6b317b0
Update type-conversion-functions.md 2022-12-30 15:57:39 +03:00
Kruglov Pavel
894726bd8f
Merge branch 'master' into improve-streaming-engines 2022-12-29 22:59:45 +01:00
taiyang-li
3e44f6574c update doc 2022-12-28 14:58:18 +08:00
taiyang-li
5ae280611b merge master and solve conflict 2022-12-28 14:44:10 +08:00
SmitaRKulkarni
4d7459bd65
Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-12-27 08:15:42 +01:00
Denny Crane
850f77f4d2
Update external-dicts-dict-sources.md 2022-12-26 16:21:36 -04:00
Denys Golotiuk
f364c28f4a
Added docs for randUniform
Implemented in [22.10](https://clickhouse.com/docs/en/whats-new/changelog/#new-feature-2) and delivered in https://github.com/ClickHouse/ClickHouse/pull/42411
2022-12-23 11:59:43 +02:00
Dan Roscigno
5c860133d6
Merge pull request #44514 from mrcrypster/patch-1
Added docs for new rand* functions (distributions)
2022-12-22 13:12:16 -05:00
Dan Roscigno
8da98001da
Merge pull request #44488 from DanRoscigno/from-final
From final
2022-12-22 11:30:10 -05:00
Dan Roscigno
37826d6301
Update docs/en/sql-reference/statements/select/from.md 2022-12-22 11:13:36 -05:00
Denys Golotiuk
83d2b4da52
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:14:59 +02:00
Denys Golotiuk
d33670d965
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:14:55 +02:00
Denys Golotiuk
859fa04dfb
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:14:48 +02:00
Denys Golotiuk
6e5703125c
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:14:14 +02:00
Denys Golotiuk
e8d8b60e34
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:14:08 +02:00
Denys Golotiuk
ddd3b99d40
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:14:02 +02:00
Denys Golotiuk
5a2e6ec568
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:13:57 +02:00
Denys Golotiuk
88ad6d47b4
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:13:51 +02:00
Denys Golotiuk
fd81509a48
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:13:45 +02:00
Denys Golotiuk
344dfb0064
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:13:28 +02:00
Denys Golotiuk
3de02287bc
Added docs for new rand* functions (distributions) 2022-12-22 16:10:25 +02:00
Yakov Olkhovskiy
a8cb29da4b
Merge branch 'master' into refactoring-ip-types 2022-12-21 23:56:24 -05:00
Alexander Gololobov
c95e10777f
Fixed formatiing 2022-12-21 21:40:30 +01:00
Alexander Gololobov
269700df42
Merge branch 'master' into feature/format-datetime-fractional-second 2022-12-21 21:34:46 +01:00
Dan Roscigno
37af44501d
Update docs/en/sql-reference/functions/hash-functions.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2022-12-21 09:12:06 -05:00
DanRoscigno
4da00b0b1d clarify which engines support final 2022-12-21 09:07:40 -05:00
DanRoscigno
e791e7bbfe clarify which engines support final 2022-12-21 08:58:12 -05:00
DanRoscigno
4981d4a013 clarify which engines support final 2022-12-21 08:55:38 -05:00
Dan Roscigno
30eb95d7d1
Update hash-functions.md 2022-12-21 08:39:44 -05:00
wineternity
1544e412f5 [DOC] Add support for signed arguments in range() #43333 2022-12-21 19:58:01 +08:00
Kruglov Pavel
5e01a3d74e
Merge branch 'master' into improve-streaming-engines 2022-12-21 10:51:50 +01:00
Robert Schulze
3f03b0b53d
Revert "Revert "Add function 'age'""
This reverts commit 4549b14027.
2022-12-20 10:18:43 +00:00
Robert Schulze
b93c56323c
Merge remote-tracking branch 'origin/master' into query-result-cache 2022-12-19 09:18:36 +00:00
Bharat Nallan Chakravarthy
633f2bc9d8 add docs for quantileInterpolatedWeighted 2022-12-16 10:27:22 -08:00
Dale Mcdiarmid
1f5e6799ec revert contents change 2022-12-16 12:03:57 +00:00
Dale Mcdiarmid
ba52210124 revert format issue 2022-12-16 12:00:12 +00:00
Smita Kulkarni
16d8fd02fb Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-12-16 08:52:48 +01:00
Robert Schulze
3790952631
Move server-level settings into the appropriate document 2022-12-15 22:51:47 +00:00
Kruglov Pavel
c5b2e4cc23
Merge branch 'master' into improve-streaming-engines 2022-12-15 18:44:35 +01:00
Robert Schulze
537c64aad2
Merge remote-tracking branch 'origin/master' into query-result-cache
Conflicts:
- tests/queries/0_stateless/02117_show_create_table_system.reference
2022-12-15 12:17:58 +00:00
李扬
db0091d5f2
Merge branch 'master' into improve_from_unixtime 2022-12-15 10:11:32 +08:00
Dale Mcdiarmid
22e8477b2a cross link dictionaries + udf posts£ 2022-12-14 15:01:15 +00:00
Vladimir C
06ff93d801
Merge pull request #39129 from unbyte/issue-28967
closes https://github.com/ClickHouse/ClickHouse/issues/28967
2022-12-14 12:17:44 +01:00
taiyang-li
58cbd8162f Add new functions to format datetime in joda datetime style 2022-12-14 14:28:43 +08:00
Alexey Milovidov
4549b14027
Revert "Add function 'age'" 2022-12-13 23:28:09 +03:00
vdimir
a591213925
Add info about underscores in numbers to doc 2022-12-13 13:00:39 +01:00
李扬
6e5e2d5923
Merge branch 'master' into improve_concat 2022-12-13 12:12:48 +08:00
Peignon Melvyn
69fc75a717
Clearer message about Float vs Decimal (#44175)
* Clearer message about Float vs Decimal

* Update docs/en/sql-reference/data-types/float.md

Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2022-12-12 23:19:07 +01:00
Robert Schulze
b78652e138
Query result cache 2022-12-12 10:37:10 +00:00
ltrk2
4cbda15acf Drop toFractionalSecond 2022-12-09 07:52:27 -08:00
Nikolay Degterinsky
43ef217134
Merge branch 'master' into patch-1 2022-12-09 10:01:18 +01:00
ltrk2
cae7a1d24a Implement formatDateTime fractional second formatter 2022-12-08 14:53:16 -08:00
Dan Roscigno
b026f5583b
Merge pull request #44048 from ClickHouse/fix-case
Update exponentialmovingaverage.md
2022-12-08 15:45:15 -05:00
Dan Roscigno
e99456605d
Update exponentialmovingaverage.md 2022-12-08 11:40:27 -05:00
Yakov Olkhovskiy
0641066183
Merge branch 'master' into refactoring-ip-types 2022-12-08 11:12:05 -05:00
Nikolay Degterinsky
bd23b0fa61
Fix docs 2022-12-08 14:17:55 +01:00
vahid-sohrabloo
8594274e99
fix docs 2022-12-07 22:50:27 +01:00
李扬
c297f9d22a
Merge branch 'master' into improve_concat 2022-12-07 19:59:01 +08:00
Dan Roscigno
c5eb269515
Merge pull request #43943 from DanRoscigno/update-operations-docs
Update operations docs
2022-12-05 20:58:42 -05:00
Dale Mcdiarmid
5ab5aa13f4 cross link docs to blogs 2022-12-05 17:28:03 +00:00
Robert Schulze
b14de0017c
Merge pull request #43788 from arenadata/ADQM-626
Add support of array parameters in `cutURLParameter` function
2022-12-05 16:18:42 +01:00
DanRoscigno
538d9cf598 update link 2022-12-05 08:26:59 -05:00
DanRoscigno
08e8ea1bfa update link 2022-12-05 08:23:51 -05:00
taiyang-li
88c9438515 rename function 2022-12-05 17:38:25 +08:00
Roman Vasin
a09e7fddcc
Merge branch 'master' into ADQM-626 2022-12-04 20:34:55 +03:00
Roman Vasin
bcb65eb420
Merge branch 'master' into ADQM-623 2022-12-04 20:21:27 +03:00
Amila Welihinda
34d420cb3f
fix broken link 2022-12-02 14:27:57 -08:00
Roman Vasin
373a353ed9 Update docs 2022-12-02 17:34:02 +00:00
Robert Schulze
da0002c4c4
Document how the library-bridge port can be changed
Fixes #43605
2022-12-02 10:54:54 +00:00
Roman Vasin
325cd07fa1 Update docs 2022-12-01 13:47:44 +00:00
Roman Vasin
cea63dbca0 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-626 2022-12-01 07:32:06 +00:00
taiyang-li
f14582334c Add function concatWs 2022-12-01 10:56:53 +08:00
Roman Vasin
96d7cf319b
Merge branch 'master' into ADQM-623 2022-11-30 19:25:53 +03:00
Roman Vasin
107a0d50f3 Update docs 2022-11-30 16:12:58 +00:00
Dan Roscigno
d8d364914d
Merge pull request #43774 from ClickHouse/DanRoscigno-patch-2
Clarify CREATE TABLE AS SELECT docs
2022-11-29 07:52:34 -05:00
Roman Vasin
668366af4a Update documentation 2022-11-29 07:10:31 +00:00
Camden Cheek
92c9ebe4ee
Update documentation example for REPLACE TABLE
The example statement for `REPLACE TABLE` using a `SELECT` query does not run as written. The example was missing a query engine, engine options, and the `AS` keyword, all of which seem required to replace a table with the output of some query.
2022-11-28 17:41:52 -07:00
Alexander Gololobov
8c6fc171fc Fix EN doc as in #43765 2022-11-28 21:24:43 +01:00
DanRoscigno
bad28f4a25 fix highlight 2022-11-28 14:19:00 -05:00
Dan Roscigno
4ab04d6461
Update table.md 2022-11-28 14:08:08 -05:00
Smita Kulkarni
953e1068b5 Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-11-28 19:10:32 +01:00
Yakov Olkhovskiy
770b520ded
Merge branch 'master' into refactoring-ip-types 2022-11-28 08:50:19 -05:00
Robert Schulze
dce0b78198
Merge pull request #42778 from FArthur-cmd/annoy_cosine
Add cosine distance for annoy
2022-11-28 09:53:17 +01:00
Nikolay Degterinsky
02ec25cdfe
Update explain.md 2022-11-27 13:40:46 +01:00
Vladimir C
ff5bb69584
Merge branch 'master' into zvonand-decdiv 2022-11-25 17:05:22 +01:00
Yakov Olkhovskiy
19a01b77eb refactoring on settings for casting, dirty hack for inaccessable context in cast function (will require review), docs appended 2022-11-25 15:57:49 +00:00
zvonand
d42a29ac0f fix ubsan + expand docs 2022-11-24 01:23:59 +03:00
Dan Roscigno
b2b4e1017f
Merge pull request #43363 from CamiloSierraH/patch-6
ATTACH query ignores the SELECT query on MV
2022-11-23 11:35:15 -05:00
Dan Roscigno
31f346e2e5
Merge pull request #43330 from CamiloSierraH/patch-5
adding one link and note about disk usage for projections
2022-11-23 11:32:56 -05:00
Camilo Sierra
ca3f819401
Update docs/en/sql-reference/statements/create/view.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-11-23 16:53:21 +01:00
Dan Roscigno
0e0fef4f51
Merge branch 'master' into patch-6 2022-11-23 10:41:39 -05:00
Dan Roscigno
02a0d4f2e5
Update docs/en/sql-reference/statements/alter/projection.md 2022-11-23 10:39:10 -05:00
Maksim Kita
db1b971643
Merge pull request #43451 from ClickHouse/explain-query-tree-run
Set run_passes to 1 by default
2022-11-23 01:30:49 +03:00
Alexey Milovidov
25780be0c6
Merge pull request #42265 from taofengliu/group_by_all
Support GROUP BY ALL
2022-11-22 20:08:23 +01:00
zvonand
faef0699b6 fix issues 2022-11-22 17:30:44 +03:00
Dmitry Novik
18cea75f4f Add docs for EXPLAIN QUERY TREE 2022-11-21 17:07:04 +00:00
Kruglov Pavel
406c50277b
Merge pull request #42779 from Avogar/add-format-func-doc
Add documentation for 'format' table function
2022-11-21 15:16:26 +01:00
taofengliu
a529943d9f Merge remote-tracking branch 'upstream/master' into group_by_all 2022-11-19 21:11:23 +08:00
Camilo Sierra
bbf311ea94
We can not update the select query
An issue was opened as the select query was not updated after the alert of the view was executed, this is because the select gets ignored, the only way to change it is DROP/CREATE the view again.
So I want to add this information into our doc.
2022-11-18 12:31:33 +01:00
Nikolay Degterinsky
e7e21adf17
Merge pull request #43207 from freedomDR/improve_unhex
unhex support FixedString arguments
2022-11-18 03:09:58 +01:00
Camilo Sierra
d527ca5d9d
adding one link and note about disk usage
I have found a great page that explain more in deep the Projections, and with images explain how they work behind the scenes.
I have also added a note as it's true we do not mention that creating projections will increase the disk usage.
2022-11-17 15:41:47 +01:00
Nikita Taranov
11b535d443
impl (#43283) 2022-11-17 11:17:27 +01:00
DanRoscigno
93dde0b3f9 Update docs for Date32 2022-11-16 16:18:20 -05:00
Dan Roscigno
15bd5db4dd
Merge branch 'ClickHouse:master' into add-tutorial-link 2022-11-16 11:59:06 -05:00
DanRoscigno
5e087ae967 link to tutorial 2022-11-16 11:54:06 -05:00
Nikolay Degterinsky
00554ecd00
Merge pull request #43271 from evillique/fix-docs-2
Fix docs
2022-11-16 15:12:28 +01:00
Smita Kulkarni
c84a50e77c Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-11-16 12:40:04 +01:00
Maksim Kita
64b2a4d1bf
Merge pull request #43110 from bigo-sg/function_factorial
Add function factorial
2022-11-16 12:49:47 +03:00
Alexey Milovidov
1ec21e5890
Merge branch 'master' into group_by_all 2022-11-16 06:14:04 +01:00
Nikolay Degterinsky
81971acf35 Fix docs 2022-11-16 02:40:51 +00:00
李扬
d9adf2f02d
fix doc 2022-11-16 09:34:04 +08:00
Dan Roscigno
b178a3711c
Merge branch 'master' into standardize-dictionary-categories 2022-11-15 16:18:18 -05:00
DanRoscigno
c60b98f576 updates from review 2022-11-15 16:17:43 -05:00
Dan Roscigno
fbff52847c
Merge pull request #43242 from cwurm/datetime_spelling
Docs: Unify spelling of DateTime
2022-11-15 15:09:35 -05:00
DanRoscigno
7e08798fa8 edits 2022-11-15 13:47:50 -05:00
Camilo Sierra
2a48fb344d
Added examples and extra info to projections
I have added two examples about how we can use projections
2022-11-15 19:22:46 +01:00
DanRoscigno
63ae261119 move tip to snippet 2022-11-15 12:44:54 -05:00
DanRoscigno
5aae1d0724 update note ot include default user 2022-11-15 10:49:13 -05:00
Christoph Wurm
2a9ab046dd Unify spelling of DateTime 2022-11-15 11:51:14 +00:00
freedomDR
37c448c6be complete unhex doc 2022-11-15 12:33:14 +08:00
Dan Roscigno
b5a306c4db
Merge branch 'master' into standardize-dictionary-categories 2022-11-14 21:30:05 -05:00
taiyang-li
7178d80c51 Merge branch 'function_factorial' of https://github.com/bigo-sg/ClickHouse into function_factorial 2022-11-15 09:46:44 +08:00
taiyang-li
5eba20e119 modify return type from Int64 to UInt64 2022-11-15 09:46:24 +08:00
李扬
10449247fd
Merge branch 'master' into function_factorial 2022-11-15 09:34:43 +08:00
李扬
1de5bb2392
Add function canonicalRand (#43124)
* add function canonicalRand

* add perf test

* revert rand.xml
2022-11-15 00:27:19 +01:00
李扬
ef45889ecb
Add function pmod which return non-negative result based on modulo (#42755)
* add function positive_modulo

* add ducument

* fix type deduction of positive_modulo

* add function positive_modulo

* add ducument

* fix type deduction of positive_modulo

* add notice

* fix typo

* fix typo

* fix bug

* fix ub error

* fix ub error
2022-11-15 00:15:58 +01:00
Dan Roscigno
4b182e7b58
Update set-role.md 2022-11-14 12:17:31 -05:00
Roman Vasin
ee0baa679b Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-623 2022-11-14 09:45:32 +00:00
李扬
bf88816da4
Merge branch 'master' into function_factorial 2022-11-14 10:30:41 +08:00
FArthur-cmd
5eebc27d24 improve test 2022-11-12 09:23:49 +00:00
Smita Kulkarni
4dec8337f0 Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-11-11 19:04:35 +01:00
Kruglov Pavel
0270f6003c
Merge branch 'master' into add-format-func-doc 2022-11-11 14:05:34 +01:00
Roman Vasin
35a1c406ad Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-623 2022-11-11 07:35:44 +00:00
taiyang-li
f58e960a7d update as request 2022-11-10 21:07:44 +08:00
Roman Vasin
753895026f Improve docs and add more queries to 02477_age test 2022-11-10 12:18:29 +00:00
Roman Vasin
31d84d5aed Add doc for age() function 2022-11-10 12:05:53 +00:00
taiyang-li
839de0cd09 add function factorial 2022-11-10 16:03:11 +08:00
zvonand
90e3aed957 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-decdiv 2022-11-09 15:05:31 +03:00
李扬
9b2dd49b4a
Merge branch 'master' into enable_max_splits 2022-11-09 15:31:06 +08:00
DanRoscigno
c822c8161f fix nav 2022-11-08 20:21:26 -05:00
DanRoscigno
45c9debeaf update links 2022-11-08 19:17:58 -05:00
DanRoscigno
d225366335 update links 2022-11-08 18:04:22 -05:00
DanRoscigno
090b153b1e a dir named index with index.md broke nav 2022-11-08 17:37:20 -05:00
SmitaRKulkarni
658036d179
Merge pull request #42708 from ClickHouse/42414_Enable_functions_in_readonly_mode
42414 enable functions in readonly mode
2022-11-08 15:22:31 +01:00
taofengliu
eff3d121e9 Merge remote-tracking branch 'upstream/master' into group_by_all 2022-11-08 10:44:53 +08:00
李扬
1728f1e436
Merge branch 'master' into enable_max_splits 2022-11-08 10:15:42 +08:00
alesapin
c88dcba36e
Merge pull request #42852 from SaltTan/patch-1
Docs. Add PARTITION clause  to CHECK TABLE
2022-11-07 22:49:33 +01:00
Alexander Tokmakov
c5edea19f3
Merge pull request #43004 from ClickHouse/devcrafter-restart-replica-patch
Simple fixes for restart replica description
2022-11-07 22:18:28 +03:00
Igor Nikonov
434c0f24f9
Update docs/en/sql-reference/statements/system.md
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2022-11-07 19:40:59 +01:00
Vitaly Baranov
ab8feb5bff
Merge pull request #42782 from mdonkers/session-log-support-sslcertificate-auth
Add SSL_CERTIFICATE auth method to all places missing
2022-11-07 16:36:42 +01:00
DanRoscigno
34f90ff6ef update pages that refer to dictionaries 2022-11-07 09:26:50 -05:00
Igor Nikonov
e7fbe40b1c
Simple fixes for restart replica description 2022-11-07 14:30:52 +01:00
SmitaRKulkarni
c563e124c2
Merge branch 'master' into 42414_Enable_functions_in_readonly_mode 2022-11-07 09:50:05 +01:00
李扬
70fd664dd1
Merge branch 'master' into ascii_function 2022-11-07 10:30:10 +08:00
taofengliu
fb6616895a Merge remote-tracking branch 'upstream/master' into group_by_all 2022-11-05 22:29:50 +08:00
Nikolay Degterinsky
fbf891d375
Merge pull request #42774 from alexon1234/add_format_redable_decimal_size
Published formatReadableDecimalSize so it can be used as function
2022-11-05 12:34:20 +03:00
taofengliu
1864ed3363 Merge remote-tracking branch 'upstream/master' into group_by_all 2022-11-05 17:22:52 +08:00
Dan Roscigno
fb43aa3db9
Merge pull request #42939 from DanRoscigno/add-vis-to-cell-towers
Add vis to cell towers
2022-11-04 15:47:13 -04:00
Dan Roscigno
c88a214865
Merge branch 'ClickHouse:master' into standardize-dictionary-categories 2022-11-04 09:19:09 -04:00
Nikolay Degterinsky
16fc05b734
Merge branch 'master' into add_format_redable_decimal_size 2022-11-04 15:02:01 +03:00
Robert Schulze
6df8f7ef25
Merge pull request #42907 from ClickHouse/cleanup-regexpreplace
Cleanup implementation of regexpReplace(All|One)
2022-11-04 12:49:44 +01:00
李扬
fccf6c037f
Merge branch 'master' into ascii_function 2022-11-03 22:48:55 -05:00
李扬
e65b0f1c2e
Merge branch 'master' into enable_max_splits 2022-11-03 22:47:15 -05:00
Yakov Olkhovskiy
4012fcbf01
Merge pull request #42285 from ClibMouse/feature/base64-encode-fixed-string
Add support for FixedString input to base64 functions
2022-11-03 18:56:21 -04:00
Kruglov Pavel
b124875257
Merge branch 'master' into improve-streaming-engines 2022-11-03 13:22:06 +01:00
Robert Schulze
43df3f9607
Merge branch 'master' into cleanup-regexpreplace 2022-11-03 13:13:10 +01:00
taiyang-li
0df7e95845 improve doc and uts 2022-11-03 16:12:19 +08:00
Alejandro
62ab271b82 fix docs 2022-11-03 09:04:22 +01:00
Alejandro
4e3f43650a Added function to docs 2022-11-03 09:04:22 +01:00
taiyang-li
5fa0968bd5 reset to original solution 2022-11-03 15:05:23 +08:00
taiyang-li
6770723027 modify as requested 2022-11-03 12:02:31 +08:00
taiyang-li
aeea21e4d7 Merge branch 'master' into ascii_function 2022-11-03 11:13:20 +08:00
DanRoscigno
7271d4d122 add note to embedded dict 2022-11-02 17:52:35 -04:00
DanRoscigno
df4868587b add note to use DDL 2022-11-02 17:40:55 -04:00
DanRoscigno
3dd5df4615 update examples 2022-11-02 16:58:07 -04:00
DanRoscigno
c8f9af1afa start renaming 2022-11-02 15:47:11 -04:00
Dan Roscigno
0c21434ec7
Merge pull request #42903 from CamiloSierraH/patch-1
range hashed missing parameters on query + example
2022-11-02 14:05:08 -04:00
Robert Schulze
494d6ca3df
Cleanup implementation of regexpReplace(All|One)
This is a pure refactoring, there are no semantic changes.

Cherry-picked from #42682.
2022-11-02 15:49:53 +00:00
taofengliu
e08c33ac85 Merge remote-tracking branch 'upstream/master' into group_by_all 2022-11-02 23:08:52 +08:00
Camilo Sierra
b6d84ef5fa
range hashed missing parameters
On the query we have missing two options:
- `LIFETIME` Is not on the example if you copy paste you will have an Exception `DB::Exception: Cannot create dictionary with empty lifetime.`
- `SOURCE` was not mentioned and it's important to link to the main/source table.
- There was an error on the `dictGetT` function there was an additional T this function do not exist (I have tested and we need to use `dictGet`).
- Also in the Dictionary example we have no extra attribute other than the id and the two dates, and for running the queries and the `dicGet` function you need an additional attribute this is why I have added `advertiser_id` (BTW I use advertiser_id as this was use in the example just before) and also add one example, without the example it was not easy to understand what was the 'attr_name' mentioned before.
- I add an example as an user did not knew how to cast the date to a Uint64 (Because most of the time the original/raw dates are defined on the range as Date64, so this example will explain them how to cast when doing the query)
2022-11-02 15:43:57 +01:00
Dan Roscigno
4c77987bf8
Update projection.md
Experiment with Algolia search
2022-11-02 10:41:55 -04:00
ltrk2
14141c9071 Add support for FixedString input to base64 functions 2022-11-02 08:14:28 -04:00
Dan Roscigno
8d7d1cf682
Merge branch 'ClickHouse:master' into add-vis-to-cell-towers 2022-11-02 07:58:15 -04:00
Habibullah Oladepo
ba34ad37d1
Fix minor typos in intersect statement documentation 2022-11-02 08:02:01 +01:00
taofengliu
c9576e3761 Merge remote-tracking branch 'upstream/master' into group_by_all 2022-11-02 10:33:27 +08:00
DanRoscigno
e5f9c65590 add to page title for search 2022-11-01 12:56:41 -04:00
zvonand
3c46673534 upd docs 2022-11-01 16:40:26 +03:00
Kruglov Pavel
95e64310a6
Update format.md 2022-11-01 14:06:45 +01:00
SaltTan
3afc688751
Update docs/en/sql-reference/statements/check-table.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2022-11-01 13:04:24 +00:00
SaltTan
97d361bce0
Update check-table.md 2022-11-01 10:02:04 +00:00
taofengliu
4862586417 fix docs 2022-11-01 16:27:34 +08:00
taofengliu
d0767cab1d GROUP BY ALL in Analyzer 2022-11-01 16:18:56 +08:00
taofengliu
5630bc4d44 Merge remote-tracking branch 'upstream/master' into group_by_all 2022-11-01 16:17:04 +08:00
Vitaly Baranov
9d46547daa
Merge branch 'master' into session-log-support-sslcertificate-auth 2022-11-01 08:32:09 +01:00
zvonand
83fb05e5ca Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-decdiv 2022-11-01 09:03:29 +03:00
Smita Kulkarni
9aa06e48f6 Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-10-31 15:46:52 +01:00
SmitaRKulkarni
54035270b2
Merge branch 'master' into 42414_Enable_functions_in_readonly_mode 2022-10-31 14:15:29 +01:00
Nikolay Degterinsky
81a812c1ea
Merge pull request #42822 from ClickHouse/serxa-patch-3
Link to proper place in docs
2022-10-31 13:11:15 +01:00
Sergei Trifonov
e43ecf9ca0
Link to proper place in docs 2022-10-31 12:52:31 +01:00
Sergei Trifonov
b677e68c4e
Update column.md 2022-10-31 12:46:14 +01:00
Sergei Trifonov
9066e0c3da
Merge pull request #42760 from ClickHouse/serxa-patch-2
Fix anchor links
2022-10-31 12:38:48 +01:00
Roman Vasin
24a4f4afe7
Merge branch 'master' into ADQM-605 2022-10-30 18:03:07 +03:00
Filatenkov Artur
66c179217c
Merge branch 'master' into annoy_cosine 2022-10-29 11:55:20 +03:00
Alexander Gololobov
800e789ac4
Small fix 2022-10-29 09:26:16 +02:00
taofengliu
73a35f1bc4 Merge remote-tracking branch 'upstream/master' into group_by_all 2022-10-29 13:58:27 +08:00
Dan Roscigno
bb15156b1f
Merge branch 'ClickHouse:master' into add-vis-to-cell-towers 2022-10-28 15:58:30 -04:00
Miel Donkers
fb1623a5f8 Add SSL_CERTIFICATE auth method to all places missing 2022-10-28 21:17:59 +02:00
Denny Crane
7fa71d8c04
Update column.md 2022-10-28 16:04:00 -03:00
Denny Crane
e903efda0a
Update column.md 2022-10-28 16:00:37 -03:00
avogar
5412911592 Add documentation for 'format' table function 2022-10-28 17:43:28 +00:00
Filatenkov Artur
21c024b043
Merge branch 'master' into annoy_cosine 2022-10-28 20:15:53 +03:00
FArthur-cmd
f187d4e1d4 add cosine distance for annoy and fix docs for cosineDistance 2022-10-28 17:03:35 +00:00
avogar
8e13d1f1ec Improve and refactor Kafka/StorageMQ/NATS and data formats 2022-10-28 16:41:10 +00:00
UnamedRus
d4c6268806
Fix Polygon dict xml config
Missing  <attribute> tag
2022-10-28 18:47:32 +04:00
Vitalii S
665fcf55aa
Update database.md
Minor text correction
2022-10-28 10:08:04 -04:00
DanRoscigno
1ec10ade5b add link to geo fn, fix index 2022-10-28 09:56:16 -04:00
taofengliu
7d1fbdbfeb Merge remote-tracking branch 'upstream/master' into group_by_all 2022-10-28 21:48:56 +08:00
taofengliu
56ab264ec9 fix 2022-10-28 21:48:48 +08:00
Roman Vasin
fc16752844 Update docs for FROM_UNIXTIME 2022-10-28 12:56:52 +00:00
Sergei Trifonov
acec447526
Fix anchor links 2022-10-28 12:35:18 +02:00
SmitaRKulkarni
e860ecc80c
Merge branch 'master' into 42414_Enable_functions_in_readonly_mode 2022-10-27 08:26:44 +02:00
李扬
24ffaee18c
Merge branch 'master' into ascii_function 2022-10-26 21:43:46 -05:00
Smita Kulkarni
6a8fa2d4a5 Added new field allow_readonly in system.table_functions to allow using table functions in readonly mode.
Implementation:
* Added a new field allow_readonly to table system.table_functions.
* Updated to use new field allow_readonly to allow using table functions in readonly mode.
* Added TableFunctionProperties similar to AggregateFunctionProperties.
* The functions allowed in readonly mode are in this set table_functions_allowed_in_readonly_mode.
Testing:
* Added a test for filesystem tests/queries/0_stateless/02473_functions_in_readonly_mode.sh
Documentation:
* Updated the english documentation for Table Functions.
2022-10-26 18:45:23 +02:00
Dan Roscigno
4bf48bce90
Merge branch 'master' into update-backup-for-s3 2022-10-26 10:38:30 -04:00
李扬
04f8f38580
Merge branch 'master' into ascii_function 2022-10-26 07:29:49 -05:00
SmitaRKulkarni
5df138da82
Merge pull request #42376 from ClickHouse/36316_Support_glob_for_recursive_directory_traversal
Added ** glob support for recursive directory traversal to filesystem…
2022-10-26 11:49:20 +02:00
taiyang-li
2254bef74a implement function ascii 2022-10-26 14:19:26 +08:00
Dan Roscigno
690e4e70ae
Merge branch 'master' into update-backup-for-s3 2022-10-25 21:40:49 -04:00
DanRoscigno
91c3744cfe add backup to S3 endpoint 2022-10-25 21:33:09 -04:00
ltrk2
2c902bbc65
Implement support for different UUID binary formats (#42108)
* Implement support for different UUID binary formats

* Declare error codes that the implementation uses

* Make single-argument constructor explicit

* Modernize parts of the solution

* Make improvements based on review comments

* Declare an error code being used
2022-10-25 21:57:50 +02:00
SmitaRKulkarni
96c8260230
Merge branch 'master' into 36316_Support_glob_for_recursive_directory_traversal 2022-10-24 18:34:19 +02:00
Robert Schulze
b746224217
Merge pull request #42554 from arenadata/ADQM-604
Add support of Date32 arguments for dateName function
2022-10-22 17:20:10 +02:00
taofengliu
46b24380f2 Merge remote-tracking branch 'upstream/master' into group_by_all 2022-10-22 13:57:31 +08:00
Alexey Milovidov
bc6762d613
Merge pull request #42565 from alexeyerm/other-functions.md-fix
other-functions.md example fix
2022-10-22 04:20:23 +02:00
Alexey Milovidov
592fbb3eaf
Merge pull request #42367 from ClickHouse/revert-40217
Revert #40217
2022-10-21 21:56:15 +02:00
Dan Roscigno
440af00c74
Merge pull request #42151 from ClickHouse/remove-misc-statements
Docs: Remove obsolete misc page
2022-10-21 13:48:53 -04:00
alexeyerm
9abfe76fbb
doc fix fix 2022-10-21 20:08:44 +03:00
alexeyerm
95943dbdda
fix transform() example 2022-10-21 19:44:35 +03:00
Robert Schulze
2d448c139c
Merge pull request #42308 from arenadata/ADQM-584
Add support of Date32 arguments for date_diff function
2022-10-21 13:18:44 +02:00
Roman Vasin
537f7000d6 Update documentation 2022-10-21 06:55:24 +00:00
taofengliu
66c0765c8a fix docs 2022-10-20 18:26:11 +08:00
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
zvonand
890b292c88 added docs 2022-10-19 13:55:24 +03:00
Smita Kulkarni
32fad205f0 Added documentation for file and s3 - 36316 Support ** glob for recursive directory traversal 2022-10-18 14:08:26 +02:00