Maksim Kita
c372c3d6aa
Fix performance tests
2022-05-25 11:49:59 +02:00
Maksim Kita
9a9df26eec
Fixed tests
2022-05-25 11:44:37 +02:00
Maksim Kita
6c033f340b
Fixed tests
2022-05-25 11:44:37 +02:00
Maksim Kita
0e5f13e53e
MergingSortedAlgorithm single column specialization
2022-05-25 11:44:37 +02:00
KinderRiven
1ce219bae2
fix
2022-05-25 17:24:38 +08:00
Kseniia Sumarokova
b50d4549c9
Merge pull request #37356 from amosbird/partition-prune-for-s3
...
"Partition pruning" for s3
2022-05-25 11:03:07 +02:00
avogar
9518c41dda
Try to fix tests
2022-05-25 09:01:12 +00:00
KinderRiven
e3f76cab55
impl improve remote fs cache
2022-05-25 16:54:28 +08:00
avogar
f782fa31c6
Merge branch 'master' of github.com:ClickHouse/ClickHouse into check-format-on-storage-creation
2022-05-25 08:42:54 +00:00
Robert Schulze
05e4fa7df1
Fix special case of trivial regexp
...
Previously, we would alsays set 1 in case of a trivial regex (which is
correct). If someone in future builds a negated operator, then this
will produce wrong results. Right now, negation of regexp (SQL: NOT
MATCH) is implemented at a higher level, so we are safe and this is more
a preventive fix.
2022-05-25 10:05:55 +02:00
Robert Schulze
01ab7b9bad
Pass strings in some places as string_view
...
The original goal was to get change
const auto & needle = String(
reinterpret_cast<const char *>(cur_needle_data),
cur_needle_length);
in Functions/MatchImpl.h into a std::string_view to save an allocation +
copy. The needle is eventually passed as search pattern into the re2
library. Re2 has an alternative constructor taking a const char * i.e. a
NULL-terminated string. Here, the needle is NULL-terminated but
1. this is only because it is passed inside a ColumnString yet this is
not always the case (e.g. fixed string columns has a dense layout w/o
NULL terminator).
2. assuming NULL termination for users != MatchImpl of the regex code is
too dangerous.
So, for now we'll stay with copying to be on the safe side. One fine day
when re2 has a ptr/size ctor, we can use std::string_view.
Just changing a few other places from std::string to std::string_view
but this will not help with performance.
2022-05-25 10:05:51 +02:00
Robert Schulze
e8c96777f6
Make OptimizedRegularExpression::analyze() private
2022-05-25 10:05:45 +02:00
Robert Schulze
040fbf3686
Tighter sanity checks in matching code
2022-05-25 10:05:06 +02:00
Robert Schulze
35bef17302
Introduce variables to hold the match result
...
--> nicer when debugging
2022-05-25 10:04:47 +02:00
Robert Schulze
b044d44fef
Refactoring: Make template instantiation easier to read
...
- introduced class MatchTraits with enums that replace bool template
parameters
- (minor: made negation the last template parameters because negation
executes last during evaluation)
2022-05-25 10:03:58 +02:00
Alexey Milovidov
0b5cfa4094
Fix split build
2022-05-25 04:24:02 +02:00
Alexey Milovidov
4556904dae
Fix stress test
2022-05-25 04:21:25 +02:00
Bharat Nallan Chakravarthy
c586c91c09
add more tests
2022-05-25 07:16:45 +05:30
Bharat Nallan Chakravarthy
57cfc0bd04
check for validity of h3 index
2022-05-25 06:17:15 +05:30
Alexey Milovidov
eaf862c3b1
Merge pull request #37504 from guyco87/adjustable_query_div
...
Adjustable query div
2022-05-25 03:36:02 +03:00
guykohen
122511292c
Merge remote-tracking branch 'origin/adjustable_query_div' into adjustable_query_div
...
# Conflicts:
# programs/server/play.html
2022-05-24 20:32:30 -04:00
guykohen
938e766d7e
Remove height restrictions from the query div in play web tool, and make sure width of the query box won't shrink below 100%.
...
Default height is set to 20% which should be big enough for medium queries.
2022-05-24 20:32:13 -04:00
guykohen
ef187fca54
Remove height restrictions from the query div in play web tool, and make sure width of the query box won't shrink below 100%.
...
Default height is set to 20% which should be big enough for medium queries.
2022-05-24 20:20:51 -04:00
Alexey Milovidov
63264d33ac
Merge pull request #37496 from ClickHouse/changelogs
...
Improve changelog.py script, get changelogs for 2021
2022-05-25 03:00:12 +03:00
Alexey Milovidov
4a9e95d1a5
Merge pull request #37479 from azat/fix-flags-for-asm
...
Set compiler flags for ASM same as for C/CXX
2022-05-25 01:36:01 +03:00
guykohen
0036b1a6ee
Remove height restrictions from the query div in play web tool, and make sure width of the query box won't shrink below 100%.
2022-05-24 18:24:54 -04:00
Mikhail f. Shiryaev
b3a93601a8
Add changelogs for 2020 where the script works
2022-05-25 00:05:55 +02:00
Mikhail f. Shiryaev
352c7d6c21
Add changelogs for 2021
2022-05-25 00:05:54 +02:00
Mikhail f. Shiryaev
cd9486b103
Update changed descriptions for v22.1.1.2542-prestable.md and v22.1.3.7-stable.md
2022-05-25 00:05:53 +02:00
Mikhail f. Shiryaev
0e494c9ee7
Add caching for GitHub PR objects
2022-05-25 00:05:53 +02:00
Mikhail f. Shiryaev
4b28ea92ca
Use commit date for cherry-picked commits (later)
2022-05-25 00:05:52 +02:00
Mikhail f. Shiryaev
fbe16a1d33
Don't compare tags to testing by default
2022-05-25 00:05:50 +02:00
Alexey Milovidov
e120ce1abb
Merge pull request #37501 from ClickHouse/revert-37488-adjustable-query-block
...
Revert "Remove height restrictions from the query div in play web tool, and m…"
2022-05-25 00:59:05 +03:00
Alexey Milovidov
d773bd610d
Revert "Remove height restrictions from the query div in play web tool, and m…"
2022-05-25 00:58:57 +03:00
Alexey Milovidov
79ca4afb13
Merge pull request #37488 from guyco87/adjustable-query-block
...
Remove height restrictions from the query div in play web tool, and m…
2022-05-25 00:57:35 +03:00
Alexey Milovidov
94e693f96e
Fix Docker
2022-05-24 23:40:10 +02:00
Alexey Milovidov
516fba27dc
Merge branch 'master' into allow-setuid-inside-clickhouse
2022-05-24 23:31:14 +02:00
Alexey Milovidov
5dc3c9989e
Merge pull request #37498 from ClickHouse/gravitons-benchmark
...
Add Graviton 3 vs Graviton 2 comparison
2022-05-24 23:34:34 +03:00
Alexey Milovidov
60f060a3bb
Fix README
2022-05-24 22:21:40 +02:00
Alexey Milovidov
9fc935d062
Correct copy-paste
2022-05-24 22:21:02 +02:00
Alexey Milovidov
919a0ae835
Fix trash
2022-05-24 22:14:13 +02:00
Alexey Milovidov
de6506819e
Add Graviton 3 vs Graviton 2 comparison
2022-05-24 22:10:23 +02:00
Alexey Milovidov
72623c2e14
Add Graviton 3 vs Graviton 2 comparison
2022-05-24 22:08:46 +02:00
Maksim Kita
c1777aec1e
Merge pull request #37481 from kitaisreal/partial-sorting-transform-optimization-fix
...
Column compareImpl devirtualize compare call
2022-05-24 22:05:41 +02:00
Igor Nikonov
04e2737a57
Merge pull request #37337 from ClickHouse/column_decl_null_before_default_value
...
Column declaration: [NOT] NULL right after type
+ fixed: data_type_default_nullable=true, it didn't make columns nullable
if the column declaration contains default expression w/o type
Issue #37229
2022-05-24 21:16:25 +02:00
Alexander Gololobov
2ff747785e
Merge pull request #37394 from ClickHouse/array_norm_dist_fixes
...
Do computations on the raw input data without copying to Eigen::Matrix
2022-05-24 20:59:04 +02:00
Dmitry Novik
c4dc0f7cda
Fix ORDER BY optimization in case of GROUPING SETS
2022-05-24 18:56:22 +00:00
Maksim Kita
96833b8696
ColumnImpl compareImpl added assert for compare result
2022-05-24 20:41:48 +02:00
Robert Schulze
7348a0eb28
Merge pull request #37251 from ClickHouse/non_const_like
...
Support non-constant SQL functions (NOT) (I)LIKE and MATCH
2022-05-24 20:28:31 +02:00
Alexander Tokmakov
13bdabce3a
Update 02302_join_auto_lc_nullable_bug.sql
2022-05-24 21:21:12 +03:00