Azat Khuzhin
cc9afe6f6e
Replace --no-system-tables with loading virtual tables of system database lazily
...
First of all the problem is that that simple 'SELECT 1' cannot be runned
without system.one, which makes --no-system-tables almost useless:
$ ./clickhouse-debug local --no-system-tables -q "select 1"
Code: 81. DB::Exception: Database system does not exist. (UNKNOWN_DATABASE)
Secondly there are just too much flags, and this one
(--no-system-tables) is too damn specific.
This patch should improve startup time of the clickhouse-local almost
3x in debug builds.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-09 23:08:29 +01:00
Alexey Milovidov
0d1bdff347
Deprecate LIVE VIEW
2023-12-09 16:57:42 +01:00
Chen Lixiang
7cd770e9a7
fix doc and comments
2023-12-09 20:09:41 +08:00
Alexey Milovidov
bb084466c4
Update build-cross-osx.md
2023-12-08 23:51:12 +03:00
avogar
ee7af95bc0
Merge branch 'master' of github.com:ClickHouse/ClickHouse into schema-inference-union
2023-12-08 20:29:28 +00:00
Bhavna Jindal
1f58b0f150
Merge branch 'master' into dev-seriesPeriodDetect
2023-12-08 10:26:39 -05:00
Bhavna Jindal
94943ec83d
fix for non-constant arguments
2023-12-08 07:10:47 -08:00
Bharat Nallan Chakravarthy
e01e6671b3
Merge remote-tracking branch 'upstream/master' into ncb/sha512-256
2023-12-07 23:53:18 -08:00
Bharat Nallan Chakravarthy
2c1f57ba40
add docs
2023-12-07 08:58:11 -08:00
robot-ch-test-poll1
9b517e4712
Merge pull request #57617 from hdhoang/master
...
fix typo TKSV
2023-12-07 15:58:10 +01:00
Alexey Milovidov
11920e751a
Merge pull request #57592 from bharatnc/ncb/alias-format-readable-size
...
Add FORMAT_BYTES as an alias for formatReadableSize
2023-12-07 15:15:56 +01:00
hdhoang
fc8292182c
fix typo TKSV
...
correct name is TS-KV
2023-12-07 20:19:00 +07:00
Andrey Zvonov
f0bf5ef3c8
Update fileCluster.md
2023-12-07 13:00:00 +01:00
Chen Lixiang
9e95fe5d29
conflict fixed.
2023-12-07 18:10:45 +08:00
Robert Schulze
554c5d690c
Merge remote-tracking branch 'rschu1ze/master' into format-arbitrary-types
2023-12-07 09:36:39 +00:00
Robert Schulze
0159a4d4a2
Merge pull request #57512 from rschu1ze/revert-revert-sqid
...
Revert "Revert "Add `sqid()` function""
2023-12-07 10:26:02 +01:00
Bharat Nallan Chakravarthy
19e96c4351
add docs
2023-12-06 14:08:51 -08:00
Bhavna Jindal
dad268c33b
Revert "Revert "Implemented series period detect method using pocketfft lib""
...
This reverts commit d7d83c99e5
.
2023-12-06 13:31:49 -08:00
Alexey Milovidov
05bc8ef1e0
Merge pull request #57548 from ClickHouse/s3queue_production_ready
...
`S3Queue` is production ready
2023-12-06 22:21:08 +01:00
Mikhail f. Shiryaev
9cf87f4261
Merge pull request #57571 from ClickHouse/fix-install-deb
...
Ignore rare removal race issue "No such file or directory"
2023-12-06 19:33:56 +01:00
Mikhail f. Shiryaev
7dbe435c36
Ignore rare removal race issue "No such file or directory"
2023-12-06 15:40:43 +01:00
Alexey Milovidov
f8de7f6bc2
Merge branch 'master' into s3queue_production_ready
2023-12-06 12:25:29 +01:00
Alexey Milovidov
b91e0f89ec
Address review comments
2023-12-06 12:24:58 +01:00
Alexey Milovidov
0b597eadf8
Clarify the usage of prefer_not_to_merge
option
2023-12-06 12:11:03 +01:00
Robert Schulze
1276c3ab80
Try to fix broken links
2023-12-06 08:48:56 +00:00
Robert Schulze
c0d56c7bee
Implement format() with arbitrary arguments
2023-12-05 22:51:30 +00:00
johnnymatthews
e9d9048903
Changes 'cannot run on cloud' message.
2023-12-05 17:14:10 -04:00
johnnymatthews
6c3a03d0c5
Merge branch 'master' into add/no-cloud-distributed-table-engine
2023-12-05 17:09:35 -04:00
Alexey Milovidov
76bbeaa676
S3Queue is production ready
2023-12-05 21:10:19 +01:00
Robert Schulze
afa6e4388b
Move docs of format() from general string functions to replacing string functions
2023-12-05 20:04:42 +00:00
Robert Schulze
b9f281f672
Docs: Remove mention of MV table engine
2023-12-05 19:24:47 +00:00
slvrtrn
e275080f52
Merge remote-tracking branch 'origin' into substr-with-enums
2023-12-05 19:48:10 +01:00
Robert Schulze
f56dd6561f
Merge remote-tracking branch 'rschu1ze/master' into revert-revert-sqid
2023-12-05 18:41:10 +00:00
Alexey Milovidov
d7d83c99e5
Revert "Implemented series period detect method using pocketfft lib"
2023-12-05 18:17:07 +03:00
robot-clickhouse
24edd44fe6
Merge pull request #57501 from xleoken/patch
...
fix tip doc
2023-12-05 16:03:42 +01:00
Nikolay Degterinsky
a776a5cac5
Merge pull request #57483 from joelynch/stop-listen-tcp-secure
...
bugfix: correctly parse SYSTEM STOP LISTEN TCP SECURE
2023-12-05 15:25:34 +01:00
Alexey Milovidov
2988f6f92a
Revert "Add new aggregation function groupArraySorted()"
2023-12-05 15:31:17 +03:00
Robert Schulze
f1a2b46d60
Incorporate feedback
2023-12-05 12:28:28 +00:00
Robert Schulze
a2cd240317
Revert "Revert "Add sqid()
function""
...
This reverts commit 8d5d0ef38f
.
2023-12-05 10:50:30 +00:00
Alexey Milovidov
8d5d0ef38f
Revert "Add sqid()
function"
2023-12-05 13:45:33 +03:00
Alexey Milovidov
cbea3545aa
Revert "add function getClientHTTPHeader"
2023-12-05 13:34:34 +03:00
xleoken
f07599b7c0
fix tip doc
2023-12-05 17:52:33 +08:00
robot-clickhouse
22f840e24b
Merge pull request #57487 from ClickHouse/update/uniqUpTo-usage-example
...
Adds usage example for uniqUpTo.
2023-12-05 07:04:28 +01:00
Alexey Milovidov
1f752b79db
Merge pull request #55894 from bharatnc/ncb/hostname-system-log-tables
...
add hostname column to system log tables
2023-12-05 06:42:43 +01:00
robot-clickhouse-ci-1
9321238515
Merge pull request #56647 from ClickHouse/docs-observability-dashboard
...
[Docs] Add built-in observability dashboard
2023-12-05 06:37:41 +01:00
Alexey Milovidov
8603b4e92a
Update docs/en/sql-reference/aggregate-functions/parametric-functions.md
...
Co-authored-by: Johnny <9611008+johnnymatthews@users.noreply.github.com>
2023-12-05 08:12:47 +03:00
Nikolay Degterinsky
9b2cf06eb1
Fix docs
2023-12-05 05:14:19 +01:00
凌涛
9e05e79d66
Merge branch 'master' into feature/more_warnings
2023-12-05 11:50:05 +08:00
凌涛
6794bbe196
rebase master
2023-12-05 11:42:25 +08:00
凌涛
8ea9403d0f
modify docs
2023-12-05 11:39:54 +08:00
johnnymatthews
c6ca43b341
Moves self-hosted-only box under page title.
2023-12-04 18:05:34 -04:00
johnnymatthews
06a52e1452
Merge branch 'master' into add/no-cloud-distributed-table-engine
2023-12-04 18:00:40 -04:00
johnnymatthews
40062405fb
Adds 'not available on cloud' to Distributed Table Engine.
2023-12-04 17:59:11 -04:00
johnnymatthews
e2eb47b2ec
Reverts last commit.
2023-12-04 17:58:19 -04:00
johnnymatthews
7ce33b0737
Adds 'not available on cloud' to Distributed Table Engine.
2023-12-04 17:57:33 -04:00
Johnny
ff746fb018
Grammar fixes.
2023-12-04 17:51:38 -04:00
Johnny
4d8084db31
Adds usage example for uniqUpTo.
...
A [user on Twitter](https://twitter.com/Dan_The_Goodman/status/1731453529078796740 ) pointed out that we didn't have a usage example here. This adds an example, and clarifies what `uniqUpTo` does.
2023-12-04 17:48:41 -04:00
joelynch
b312a9f4ee
bugfix: parse system stop listen tcp secure
2023-12-04 19:56:35 +01:00
Alexey Milovidov
02439eee58
Merge pull request #49351 from ClickHouse/async-loader-integration
...
Asynchronous loading of tables
2023-12-04 17:16:12 +01:00
Robert Schulze
8db3bac7bd
Merge pull request #57442 from awakeljw/dev
...
Add `sqid()` function
2023-12-04 15:50:28 +01:00
Bharat Nallan Chakravarthy
440dc66a5c
Merge remote-tracking branch 'upstream/master' into ncb/hostname-system-log-tables
2023-12-03 15:19:47 -08:00
Robert Schulze
f6036fbb29
Some fixups
2023-12-03 16:20:59 +00:00
awakeljw
06241de257
fix codes according to the reviews
2023-12-03 22:00:42 +08:00
robot-clickhouse
50dacbc7ac
Merge pull request #57440 from arvindpunk/patch-1
...
docs: fix arrayFold/arrayReduce anchors in see also section
2023-12-03 00:11:40 +01:00
Sema Checherinda
c61cd6aab2
Merge pull request #57335 from sichenzhao/increase_default_replicated_deduplication_window
...
increase default replicated_deduplication_window from 100 to 1k
2023-12-02 21:23:39 +01:00
Nikita Taranov
a32c5e976a
Don't print server revision in client on connect ( #57435 )
2023-12-02 16:32:34 +01:00
Arvind Pj
020f1d274d
docs: fix arrayReduce anchor in arrayFold see also
2023-12-02 18:49:58 +05:30
Arvind Pj
0e8cf43982
docs: fix arrayFold anchor in arrayReduce see also
2023-12-02 11:36:09 +05:30
JackyWoo
8a68d51261
Add index to table system.numbers ( #50909 )
2023-12-01 19:59:25 +01:00
slvrtrn
8eff62a4de
Merge remote-tracking branch 'origin' into substr-with-enums
2023-12-01 03:43:48 +01:00
凌涛
31894bc9df
Update settings.md
2023-12-01 10:38:42 +08:00
Julia Kartseva
1f8031c6e1
Merge pull request #56892 from icuken/alter_temporary_table
...
allow ALTER for TEMPORARY tables
2023-11-30 18:29:43 -08:00
Raúl Marín
46acd8736c
Merge pull request #57189 from Algunenano/fix_respect_nulls
...
Fix RESPECT NULLS
2023-11-30 20:21:42 +01:00
Sergey Kviatkevich
b76bedb53a
update docs
2023-11-30 21:42:13 +03:00
robot-ch-test-poll3
85be7cf6b8
Merge pull request #57383 from biggerfisch/docs/exists-examples
...
Add more doc examples for the EXISTS operator
2023-11-30 15:25:02 +01:00
Kruglov Pavel
575ee1e665
Merge pull request #56868 from zvonand/zvonand-fileCluster
...
Introduce `fileCluster` table function
2023-11-30 13:49:53 +01:00
Avery Fischer
b75653e449
Add more doc examples for the EXISTS operator
...
The existing documentation for EXISTS makes it look like it only works
as part of a WHERE clause, when in fact, it can be used in many places.
Changing the docs to note that a bit differently with another example
should provide more clarity on the use of this term.
2023-11-30 10:57:44 +01:00
Alexander Zaitsev
d001e25787
doc: update profile-guided-optimization.md
...
- update PGO recommendations according to the https://github.com/llvm/llvm-project/issues/45668
2023-11-30 06:41:59 +03:00
Nikolai Kochetov
024f41888e
Merge pull request #53562 from yariks5s/group_sorted_array_function
...
Add new aggregation function groupArraySorted()
2023-11-29 17:52:01 +01:00
zvonand
c329e382ab
resolve conflicts
2023-11-29 16:03:07 +01:00
Han Fei
4c0efb0262
Merge pull request #53240 from hanfei1991/hanfei/statistic
...
use statistic to order prewhere conditions better
2023-11-29 12:26:44 +01:00
robot-clickhouse-ci-1
1740ef80e5
Merge pull request #57209 from ClickHouse/errors-prometheus
...
Expose the number of errors occurred on server from the Prometheus endpoint.
2023-11-29 10:39:04 +01:00
Sichen Zhao
1b8b1c0a63
increase default replicated_deduplication_window from 100 to 1k
2023-11-28 14:24:06 -08:00
Denny Crane
e33efaff9f
Revert "Update date-time-functions.md"
2023-11-28 15:56:51 -04:00
Dmitry Novik
e9faad77cb
Simplify docs
2023-11-28 17:41:51 +01:00
Han Fei
6733438adc
Merge branch 'master' into hanfei/statistic
2023-11-28 16:35:00 +01:00
Robert Schulze
b56b48d2de
Update docs
2023-11-28 14:59:20 +00:00
zvonand
c306d21b54
merge master + resolve conflicts
2023-11-28 15:51:21 +01:00
abakhmetev
23e81d8234
Update date-time-functions.md
...
month as an integer number (01-12) == %m, and not %c
2023-11-28 17:26:42 +03:00
Kruglov Pavel
06b9f8129f
Merge pull request #57298 from nellicus/patch-2
...
replace incorrect field name in coalesce example
2023-11-28 14:59:01 +01:00
Raúl Marín
48fff248e5
Merge remote-tracking branch 'blessed/master' into fix_respect_nulls
2023-11-28 12:28:36 +01:00
Raúl Marín
1a3f4032b1
Fix doc reference
2023-11-28 12:27:35 +01:00
Antonio Andelic
a61f32867e
Merge pull request #56488 from lingtaolf/feature/getHTTPHeader
...
add function getClientHTTPHeader
2023-11-28 11:41:56 +01:00
Robert Schulze
1448276bae
Merge pull request #55872 from azat/hour-no-leading-zero
...
Add ability to parse hours/months without leading zeros
2023-11-28 11:07:00 +01:00
robot-ch-test-poll3
e24b9e5ca2
Merge pull request #57276 from phallstrom/patch-1
...
Update URL to related content about LowCardinality
2023-11-28 10:59:14 +01:00
Antonio Bonuccelli
612c6be204
replace incorrect field name in coalesce example
...
field in the example should be `telegram` (not `icq`)
2023-11-28 10:20:02 +01:00
Ubuntu
a85cf758b0
Fuzz JSON table function
...
Create a table function `fuzzJSON`
An example query:
```
CREATE NAMED COLLECTION json_fuzzer AS json_str={};
SELECT *
FROM fuzzJSON(json_fuzzer, json_str = '{"students" : ["Alice", "Bob"]}', random_seed = 666, max_output_length = 128, probability = 0.9)
LIMIT 3
Query id: 7f802052-efb0-41b4-87fa-03b7dd290e9d
┌─json──────────────────────────────────────────────────────────────────────────────────┐
│ {"ade0yX":[9200406572736542991, true, "sm"]} │
│ {"students":["Alice", "eSN3WO#a6NYTBe0$#OWwyIQ"], "cVoP2BuQugQ":17384271928263249403} │
│ {"students":["Alice", "Bob", "T+-k4+PJGkL%XRRaF2BoeN@&A"]} │
└───────────────────────────────────────────────────────────────────────────────────────┘
```
Next step:
* Generate invalid string
Fixes #35962
add Object('json')
use named collection
2023-11-28 01:58:24 +00:00
slvrtrn
497e5abc47
Add a doc entry.
2023-11-28 00:09:36 +01:00
Philip Hallstrom
6d7f160bcc
Update URL to related content about LowCardinality
2023-11-27 15:05:59 -08:00
Han Fei
7bd2ea3add
Merge branch 'master' into hanfei/statistic
2023-11-27 23:31:23 +01:00
Raúl Marín
010a6074f8
Try to fix docs
2023-11-27 23:29:03 +01:00
Raúl Marín
9fb19b5cb4
Merge remote-tracking branch 'blessed/master' into fix_respect_nulls
2023-11-27 19:42:58 +01:00
Raúl Marín
3395c7c745
Provide a custom implementation for respect_null aggregations
2023-11-27 19:29:20 +01:00
Bharat Nallan Chakravarthy
1d788ac1c1
fix docs
2023-11-27 08:05:14 -08:00
MikhailBurdukov
6f19e8ebd1
Merge branch 'master' into native_copy_for_s3_disks
2023-11-27 14:25:36 +03:00
Robert Schulze
4c236b34f0
Another small cleanup
2023-11-27 11:09:07 +00:00
vdimir
bbc202a891
Merge pull request #56816 from AVMusorin/improve-settings-rocksdb
...
Show total_bytes and total_rows in system tables for RocksDB storage
2023-11-27 11:42:15 +01:00
Kruglov Pavel
b10e46b2bc
Merge pull request #57126 from Avogar/size-virtual-column
...
Add _size virtual column to s3/file/hdfs/url/azureBlobStorage engines
2023-11-27 10:12:18 +01:00
Robert Schulze
a8671049e1
Various smaller fixups
2023-11-27 08:49:54 +00:00
Justin de Guzman
cc57e67e83
Fix docs check erorr
2023-11-26 23:57:33 -08:00
Bharat Nallan Chakravarthy
6454687fa6
Merge remote-tracking branch 'upstream/master' into ncb/hostname-system-log-tables
2023-11-26 16:24:18 -08:00
Nikolay Degterinsky
de0876ed68
Merge pull request #57234 from evillique/fix-docs-anchors
...
Fix docs
2023-11-27 01:22:43 +01:00
Nikolay Degterinsky
faa3a43803
Fix docs
2023-11-26 19:21:39 +00:00
Azat Khuzhin
315906b380
Add ability to parse hours/months without leading zeros
...
Recently I was looking into one dataset, that has such format.
So I've changed the meaning of the following formatters for
formatDateTime()/parseDateTime(), like in other implementations [1]:
- %l/%k - to handle hours without leading zeros
- %c - handle months without leading zeros
[1]: https://www.php.net/strftime
And since this is kind of behaviour change (even though it is unlikely
will break something), there is a new setting to control this new
behaviour:
- parsedatetime_enable_format_without_leading_zeros=1 (default ON)
- formatdatetime_enable_format_without_leading_zeros=0 (default OFF, since this could change users output)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-26 19:10:17 +01:00
Alexey Milovidov
f636dea879
Merge pull request #54327 from den-crane/background_fetches_pool_size
...
increase background_fetches_pool_size to 16, background_schedule_pool_size to 512
2023-11-26 02:50:38 +01:00
robot-ch-test-poll1
a956cec61f
Merge pull request #57228 from rschu1ze/docs-alias
...
Docs: Mention alias `database` for `name` in `system.databases`
2023-11-26 02:25:32 +01:00
Robert Schulze
e074629749
Docs: Mention alias 'database' for 'name' in system.databases
2023-11-25 22:04:49 +00:00
Robert Schulze
4088ec0eac
Merge pull request #57199 from rschu1ze/docs-math-funcs
...
Docs: Improve math function docs
2023-11-25 21:22:53 +01:00
Robert Schulze
2e7c16e138
Fix broken links
2023-11-25 19:47:32 +00:00
Robert Schulze
5b7d2a903d
Merge pull request #57152 from rschu1ze/fine-granular-plan-opt-settings
...
Fine-granular enablement/disabling of plan-level optimizations
2023-11-25 20:44:23 +01:00
Nikita Mikhaylov
1b623b0e48
Done
2023-11-24 20:03:02 +00:00
Vitaly Baranov
5769a88b92
Merge pull request #57133 from vitlibar/change-default-for-wait_dictionaries_load_at_startup
...
Change the default for wait_dictionaries_load_at_startup to true
2023-11-24 17:09:05 +01:00
Kseniia Sumarokova
ea7c68febe
Merge pull request #56705 from ClickHouse/docs-s3-gcs-improvements
...
[Docs] Add details to S3 and GCS table functions
2023-11-24 16:17:40 +01:00
Kseniia Sumarokova
13187bf4f1
Merge pull request #56959 from melvynator/master
...
Add experimental flag for MaterializedPostgreSQL table engine.
2023-11-24 16:16:42 +01:00
Robert Schulze
ca63881357
Mention that the settings are dev settings
2023-11-24 14:46:02 +00:00
Robert Schulze
75ceaf6200
Docs: Improve math function docs
2023-11-24 14:31:39 +00:00
vdimir
1044e3366b
Update http_make_head_request doc
2023-11-24 09:32:20 +00:00
Tim Windelschmidt
51e3899f73
Add setting http_make_head_request
...
Clickhouse always does a HEAD request before actually executing the GET request,
this adds a settings to skip that request.
2023-11-24 09:32:16 +00:00
vdimir
e5284c125f
Update blob_storage_log.md
2023-11-24 10:02:47 +01:00
Chen Lixiang
2b35e98ef8
add comments and doc
2023-11-24 16:40:19 +08:00
Robert Schulze
a8a3214185
+ documentation
2023-11-23 19:43:40 +00:00
Yarik Briukhovetskyi
69205769d0
Merge branch 'ClickHouse:master' into group_sorted_array_function
2023-11-23 20:23:47 +01:00
Sergei Trifonov
9436ae6d7d
Merge pull request #56771 from ClickHouse/dashboards-table
...
Load queries for dashboard page from new `system.dashboards` table
2023-11-23 19:07:52 +01:00
Tomáš Hromada
956a8add35
Update other-functions.md
...
Fix `initializeAgregation` typo
2023-11-23 15:57:19 +01:00
Vitaly Baranov
5f461ff780
Change the default for "wait_dictionaries_load_at_startup" to true,
...
and use this setting only if "dictionaries_lazy_load" is false.
2023-11-23 14:45:42 +01:00
serxa
663c8cd944
Merge branch 'master' into dashboards-table
2023-11-23 10:29:48 +00:00
serxa
0fc25fbda8
Merge branch 'master' into async-loader-integration
2023-11-23 09:32:43 +00:00
Kruglov Pavel
b84e3cf683
Merge branch 'master' into size-virtual-column
2023-11-22 19:25:00 +01:00
avogar
6b64efb55a
Add docs
2023-11-22 18:21:30 +00:00
Julia Kartseva
753b22f64c
Merge pull request #56171 from ClibMouse/dev-seriesPeriodDetect
...
Implemented series period detect method using pocketfft lib
2023-11-22 09:49:58 -08:00
zvonand
5153798aeb
Introduced fileCluster table function
...
Added fileCluster function
Added test and docs
2023-11-22 15:06:04 +01:00
vdimir
a139ae97eb
Merge pull request #52918 from ClickHouse/vdimir/s3_blob_log
...
Add system table with blob storage operations log
2023-11-21 17:40:42 +01:00
Bhavna Jindal
a324bd2780
added macro to enable/disable pocketfft lib
2023-11-21 06:52:47 -08:00
Bhavna Jindal
baaa15b5b0
added macro to enable/disable pocketfft lib
2023-11-21 06:52:47 -08:00
Bhavna Jindal
ad99cb902f
changed method name, updated pocketfft repo reference
2023-11-21 06:52:47 -08:00
Bhavna Jindal
e3826786f1
Added testcases, documentation and addressed comments
2023-11-21 06:52:47 -08:00
凌涛
e86aa433c5
Merge branch 'master' into feature/getHTTPHeader
2023-11-21 19:48:47 +08:00
Aleksandr Musorin
ee0ae17ce2
Added optimize_trivial_approximate_count_query documentatiosn for RocksDB
2023-11-21 11:31:56 +01:00
vdimir
15234474d7
Implement system table blob_storage_log
2023-11-21 09:18:25 +00:00
凌涛
c5f16725ec
add function getClientHTTPHeader
2023-11-21 11:12:01 +08:00