Commit Graph

111152 Commits

Author SHA1 Message Date
Rich Raposa
8568975c78
Merge branch 'master' into s3-fix 2023-03-21 11:03:55 -06:00
Rich Raposa
cd0ac7a0e1
Update s3.md 2023-03-21 11:03:44 -06:00
vdimir
c25170381c
Better ComparisonTupleEliminationVisitor 2023-03-21 16:23:09 +00:00
vdimir
030ee3a525
Add ComparisonTupleEliminationVisitor 2023-03-21 16:11:06 +00:00
jinjunzh
d65d23bf0e remove blank spaces 2023-03-21 12:06:29 -04:00
jinjunzh
ffc8d831c5 improve doc path and structure 2023-03-21 12:00:57 -04:00
Azat Khuzhin
d45d55969a Improve empty query detection for PostgreSQL (for pgx golang driver)
From PostgreSQL documentation [1]:

    If a completely empty (no contents other than whitespace) query string
    is received, the response is EmptyQueryResponse followed by
    ReadyForQuery.

  [1]: https://www.postgresql.org/docs/current/protocol-flow.html

So without it it will try to process the query and send "Empty query"
instead, that's why it is important.

Refs: 9ae852eb58/conn.go (L388)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-21 17:48:55 +02:00
robot-clickhouse
f7e29d1e92
Merge pull request #47806 from ClickHouse/rfraposa-patch-2
Update string-search-functions.md
2023-03-21 16:29:49 +01:00
flynn
db31af84c3 fix build 2023-03-21 15:09:10 +00:00
Dmitry Novik
49ffda181b Update test reference 2023-03-21 14:52:13 +00:00
Rich Raposa
2848bc5b35
Merge branch 'master' into rfraposa-patch-2 2023-03-21 08:40:01 -06:00
Alexander Tokmakov
9c4c7948e5
Update src/Interpreters/Session.cpp
Co-authored-by: alesapin <alesapin@clickhouse.com>
2023-03-21 17:39:45 +03:00
Alexander Tokmakov
be4884d07a
Update src/Interpreters/Session.cpp
Co-authored-by: alesapin <alesapin@clickhouse.com>
2023-03-21 17:39:40 +03:00
Antonio Andelic
85641a1bf8
Merge pull request #47820 from ClickHouse/odbc-roundtrip-flaky
Make 01086_odbc_roundtrip less flaky
2023-03-21 15:37:02 +01:00
flynn
db7582e060 AST fuzzer support fuzzing SELECT query to EXPLAIN query randomly 2023-03-21 14:26:39 +00:00
iammagicc
e11a253be3
Merge branch 'master' into patch-2 2023-03-21 22:12:02 +08:00
iammagicc
214bcdda47
delete quoat English text,change the translation
As the title says,I delete quoat English text.The Chinese translation has been modified to make it easier for readers to understand.
2023-03-21 22:09:10 +08:00
Alexander Tokmakov
17e1c6be8e fix race condition on session close 2023-03-21 15:01:39 +01:00
Vitaly Baranov
840e825282 Fix test test_replicated_merge_tree_encryption_codec. 2023-03-21 14:29:00 +01:00
Robert Schulze
15ac5610f2
Merge pull request #47850 from ClickHouse/revert-47608-varuint
Revert "Add sanity checks for writing number in variable length format"
2023-03-21 14:26:25 +01:00
Robert Schulze
4eeab9fd25
Revert "Add sanity checks for writing number in variable length format" 2023-03-21 14:24:53 +01:00
Vitaly Baranov
27ef59d46e Remove wrong chassert() in UserDefinedSQLObjectsLoaderFromZooKeeper.cpp 2023-03-21 13:56:27 +01:00
robot-clickhouse-ci-1
455e55c6ea
Merge pull request #47811 from azat/tests/fix-opentelemetry_insert_on_distributed_table
Fix flaky test 02417_opentelemetry_insert_on_distributed_table
2023-03-21 13:17:42 +01:00
robot-ch-test-poll2
5e763ccad1
Merge pull request #47822 from ClickHouse/merge-pr-logging
Place short return before big block, improve logging
2023-03-21 13:10:57 +01:00
iammagicc
04bfc1848b
Merge branch 'master' into patch-2 2023-03-21 19:56:04 +08:00
iammagicc
82d71a1044
image errors and adaptive index granularity
Add a description of the relationship between image errors and adaptive index granularity.And create a new node with this description.
2023-03-21 19:53:00 +08:00
Kruglov Pavel
dc8f38c039
Merge pull request #47812 from Vigor-jpg/master
Fixed error print message while Decimal parameters is incorrect
2023-03-21 12:45:43 +01:00
Kseniia Sumarokova
3c550b4314
Merge pull request #46647 from kssenii/named-collections-finish
Named collections: finish replacing old code for storages
2023-03-21 12:36:46 +01:00
Kseniia Sumarokova
a9bcd022d5
Merge pull request #46241 from kssenii/named-collections-granular-access
Allow separate grants for every named collection
2023-03-21 12:27:53 +01:00
Mikhail f. Shiryaev
fa84c376b6
Merge pull request #47798 from ClickHouse/autoscaler-ratio
Decrease scale_down ratio for faster deflation
2023-03-21 13:44:28 +03:00
Vladimir C
ab1105a5a6
Merge pull request #47685 from ClickHouse/vdimir/issue_47533 2023-03-21 11:41:00 +01:00
Mikhail f. Shiryaev
b9dca4e0df
Place short return before big block, improve logging 2023-03-21 11:29:16 +01:00
Vladimir C
5add1e1b2e
Merge pull request #47684 from ClickHouse/vdimir/improve_log_queries_cut 2023-03-21 11:17:54 +01:00
robot-ch-test-poll3
01df1008bb
Merge pull request #47608 from azat/varuint
Add sanity checks for writing number in variable length format
2023-03-21 11:14:41 +01:00
robot-ch-test-poll3
4303b91ee7
Merge pull request #47808 from ClickHouse/rfraposa-3
Fix font colors on sparse-primary-indexes.md
2023-03-21 11:11:04 +01:00
Antonio Andelic
f218f3671d Make 01086_odbc_roundtrip less flaky 2023-03-21 09:40:10 +00:00
robot-ch-test-poll
5b20fc96d2
Merge pull request #47807 from tbragin/patch-8
Update query profiler docs to remove self-managed only
2023-03-21 10:32:38 +01:00
Robert Schulze
a2ed794518
Merge pull request #47771 from ClickHouse/rs/more-llvm-16-preparation
More preparation for upgrade to libcxx(abi), llvm, clang-tidy 16
2023-03-21 10:13:07 +01:00
robot-ch-test-poll2
5adac9bd11
Merge pull request #47791 from ClickHouse/kssenii-patch-6
Try fix window view test
2023-03-21 10:06:35 +01:00
robot-ch-test-poll1
de0f964b7b
Merge pull request #47803 from ucasfl/fuzz-explain
Support fuzz Explain query
2023-03-21 10:05:14 +01:00
iammagicc
130f449f3d
Merge branch 'master' into patch-2 2023-03-21 16:34:39 +08:00
Robert Schulze
2bc789d1da
Merge branch 'master' into rs/more-llvm-16-preparation 2023-03-21 09:33:49 +01:00
robot-ch-test-poll1
67bb647a54
Merge pull request #47652 from joker234/patch-1
Documentation: Update debian setup, remove apt-key
2023-03-21 09:21:27 +01:00
iammagicc
08549c0a02
增加最后一个索引条目存储了上图中颗粒1082的主键列的最大值与图片不符的描述
为什么图中显示的数据与结论不符合?因为图中的数据是禁用了自适应索引粒度后得到的,默认情况下索引粒度是自适应的。
https://clickhouse.com/docs/en/optimize/sparse-primary-indexes
We mentioned in the beginning of this guide in the "DDL Statement Details", that we disabled adaptive index granularity (in order to simplify the discussions in this guide, as well as make the diagrams and results reproducible).
For tables with adaptive index granularity (index granularity is adaptive by default) the size of some granules can be less than 8192 rows depending on the row data sizes.
我们在本指南开头的“DDL 语句详细信息”中提到,我们禁用了自适应索引粒度(为了简化本指南中的讨论,并使图表和结果可重现)。
对于具有自适应索引粒度的表(默认情况下索引粒度是自适应的),某些粒度的大小可以小于 8192 行,具体取决于行数据大小。


https://clickhouse.com/docs/en/whats-new/changelog/2019#experimental-features-1
ClickHouse Release 19.6.3.18, 2019-06-13
Experimental Features:实验性特性   
Add setting index_granularity_bytes (adaptive index granularity) for MergeTree* tables family.
为合并树家族的表系列添加设置index_granularity_bytes(自适应索引粒度)。

ClickHouse Release 19.10.1.5, 2019-07-12
Performance Improvement:优化改进
Add the possibility to write the final mark at the end of MergeTree columns. It allows to avoid useless reads for keys that are out of table data range. It is enabled only if adaptive index granularity is in use.
添加在合并树列末尾写入最终标记的可能性。它允许避免对超出表数据范围的键进行无用的读取。仅当使用自适应索引粒度时,才会启用它。
2023-03-21 15:53:45 +08:00
Mikhail f. Shiryaev
83a8da9e50
Make new deb signed working on old deb systems 2023-03-21 08:50:42 +01:00
Ilya Golshtein
5091b4e224 orphaned role - expiration_time => expiration_time_seconds 2023-03-21 08:44:08 +01:00
Azat Khuzhin
0b9d847882 Fix flaky test 02417_opentelemetry_insert_on_distributed_table
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-21 08:41:31 +02:00
Rich Raposa
7fa9ee5452
Update s3.md 2023-03-20 23:20:49 -06:00
rfraposa
2c9761bca8 Update sparse-primary-indexes.md 2023-03-20 23:09:54 -06:00
Tanya Bragin
d3515dd7ae
Update query profiler docs to remove self-managed only
Query profiler works in ClickHouse Cloud - update docs to reflect it and add an example. 

cc @alexey-milovidov
2023-03-20 22:05:10 -07:00