Commit Graph

116827 Commits

Author SHA1 Message Date
Boris Kuschel
1fa1215d15 Avoid UB 2023-06-06 19:08:42 -04:00
Boris Kuschel
7c2b88a00e Make test invariant 2023-06-06 19:08:42 -04:00
Boris Kuschel
689e0cabe0 Add space to if 2023-06-06 19:08:42 -04:00
Boris Kuschel
f552b96451 Add docs for ignore index 2023-06-06 19:08:42 -04:00
Boris Kuschel
068b1fbbcc Add ability to ignore index 2023-06-06 19:08:42 -04:00
robot-clickhouse
707abc85f4
Merge pull request #50608 from Misz606/patch-1
Update aggregatingmergetree.md
2023-06-07 01:07:51 +02:00
robot-ch-test-poll1
9783f8c746
Merge pull request #50643 from ClickHouse/rfraposa-patch-2
Style fix
2023-06-07 00:42:54 +02:00
Dmitry Novik
280e80fcd4
Merge branch 'master' into analyzer-distr-query 2023-06-07 00:32:09 +02:00
Rich Raposa
5f48f02023
Update index.md 2023-06-06 16:10:22 -06:00
Rich Raposa
a89c129c49
Update nyc-taxi.md
Use gcs function (instead of s3) for the GCS files
2023-06-06 15:54:57 -06:00
Rich Raposa
195cc51c43
Style fix 2023-06-06 15:51:03 -06:00
johanngan
be8e048799 Revert invalid RegExpTreeDictionary optimization
This reverts the following commits:
- e77dd81036
- e8527e720b

Additionally, functional tests are added.

When scanning complex regexp nodes sequentially with RE2, the old code
has an optimization to break out of the loop early upon finding a leaf
node that matches. This is an invalid optimization because there's no
guarantee that it's actually a VALID match, because its parents might
NOT have matched. Semantically, a user would expect this match to be
discarded and for the search to continue. Instead, since we skipped
matching after the first false positive, subsequent nodes that would
have matched are missing from the output value. This affects both
dictGet and dictGetAll.

It's difficult to distinguish a true positive from a false positive
while looping through complex_regexp_nodes because we would have to scan
all the parents of a matching node to confirm a true positive. Trying to
do this might actually end up being slower than just scanning every
complex regexp node, because complex_regexp_nodes is only a subset of
all the tree nodes; we may end up duplicating work with scanning
that Vectorscan has already done, depending on whether the parent nodes
are "simple" or "complex". So instead of trying to fix this
optimization, just remove it entirely.
2023-06-06 16:28:44 -05:00
alesapin
6ab2a50c39 Fix two tests and build 2023-06-06 22:48:53 +02:00
Smita Kulkarni
99f0be8ef5 Refactored to StorageAzureBlob 2023-06-06 21:58:54 +02:00
Han Fei
4130e1e9ac
Merge branch 'master' into revert_incorrect_optimizations 2023-06-06 21:44:39 +02:00
Robert Schulze
42c0547895
Remove clang-tidy exclude 2023-06-06 19:25:43 +00:00
alesapin
5637858182 Fix the most important check in the world 2023-06-06 21:06:45 +02:00
alesapin
8eaa32e89d Merge branch 'azure_table_function' of github.com:ClickHouse/ClickHouse into azure_table_function 2023-06-06 20:41:13 +02:00
alesapin
ceab5117a9 Fxi style 2023-06-06 20:39:54 +02:00
Smita Kulkarni
49b019b26d Refactored TableFunction name to TableFunctionAzureBlobStorage 2023-06-06 20:23:20 +02:00
robot-clickhouse
95b054b425 Automatic style fix 2023-06-06 18:01:22 +00:00
avogar
e9c267ed69 Fix converting Null to LowCardinality(Nullable) in values table function 2023-06-06 17:51:53 +00:00
alesapin
934df5e5bb Rename to AzureBlobStorage 2023-06-06 19:44:41 +02:00
Kruglov Pavel
5af1819143
Merge pull request #50586 from Avogar/better-avro-decimal
Better support for avro decimals
2023-06-06 19:40:59 +02:00
alesapin
d902592703 Fix new tests 2023-06-06 19:38:15 +02:00
Nikita Taranov
b6c8ce30ec
Disable 01676_clickhouse_client_autocomplete under UBSan 2023-06-06 19:38:11 +02:00
Kruglov Pavel
b83b057045
Merge branch 'master' into renamefile 2023-06-06 19:38:05 +02:00
alesapin
454c23fecb Merge branch 'azure_table_function' of github.com:ClickHouse/ClickHouse into azure_table_function 2023-06-06 19:34:22 +02:00
alesapin
7100bc5152 Fixes for azure table function 2023-06-06 19:31:50 +02:00
Smita Kulkarni
b2db6b4789 Renamed to azure_blob_storage 2023-06-06 19:19:56 +02:00
Smita Kulkarni
6a96cf441e Renamed to azure_blob_storage 2023-06-06 19:19:17 +02:00
robot-clickhouse
ae97f45c1c Automatic style fix 2023-06-06 17:10:48 +00:00
Robert Schulze
a74d3ca328
Fix style check 2023-06-06 17:06:47 +00:00
Robert Schulze
2a756a7e6c
Cosmetics: Make default tree count / distance function constants 2023-06-06 17:05:23 +00:00
alesapin
a6185da220 Merge branch 'azure_table_function' of github.com:ClickHouse/ClickHouse into azure_table_function 2023-06-06 18:50:51 +02:00
alesapin
e76a7022fc Add some tests 2023-06-06 18:50:45 +02:00
alesapin
c910f0034b Some code for table function 2023-06-06 18:48:20 +02:00
Raúl Marín
473743b49f
Disable pure parallel replicas if trivial count optimization is possible (#50594) 2023-06-06 18:38:32 +02:00
Nikolay Degterinsky
38edd6c3e7
Update src/Interpreters/tests/gtest_convertFieldToType.cpp 2023-06-06 18:28:34 +02:00
Nikolay Degterinsky
6c82ee45e2
Fix build 2023-06-06 18:27:16 +02:00
robot-clickhouse
3bda231203 Automatic style fix 2023-06-06 15:11:21 +00:00
alesapin
14470b46c7 Merge branch 'azure_table_function' of github.com:ClickHouse/ClickHouse into azure_table_function 2023-06-06 16:58:05 +02:00
alesapin
ebae79f7d4 Schema inference 2023-06-06 16:57:51 +02:00
Smita Kulkarni
cbe4ea67ae Removed unwanted code & debug lines 2023-06-06 16:42:56 +02:00
Smita Kulkarni
75d0f9fc97 Updated to use readObjects for async 2023-06-06 16:32:05 +02:00
Smita Kulkarni
88f2f4f5fc Added createAsyncAzureReadBuffer 2023-06-06 16:16:49 +02:00
Raúl Marín
1910d6580e Add test for the reverted broken optimizations 2023-06-06 16:13:51 +02:00
Raúl Marín
8d2b868312 Revert "Merge pull request #50062 from ZhiguoZh/20230511-toyear"
This reverts commit 55c2dbcc2d, reversing
changes made to 23f894b995.
2023-06-06 16:10:22 +02:00
Raúl Marín
68a9ea72de Revert "Merge pull request #50307 from ZhiguoZh/20230527-toyyyymm"
This reverts commit 17261e52da, reversing
changes made to d302eae85e.
2023-06-06 16:10:01 +02:00
Denny Crane
08331ebcfe
Merge branch 'master' into patch-25 2023-06-06 10:32:32 -03:00