Kseniia Sumarokova
9ff4e6d6a3
Merge pull request #50334 from valbok/pool-mem-leak
...
Fix crash when Pool::Entry::disconnect() is called
2023-06-01 18:01:56 +02:00
Han Fei
17261e52da
Merge pull request #50307 from ZhiguoZh/20230527-toyyyymm
...
Optimize predicate with toYYYYMM converter
2023-06-01 16:51:45 +02:00
Robert Schulze
45b1fcdeda
Merge pull request #50315 from arenadata/ADQM-810
...
Add new function toLastDayOfWeek()
2023-06-01 16:19:14 +02:00
Alexander Tokmakov
e1d044dfd7
Merge pull request #50392 from ClickHouse/fix_materialized_mysql_poll_timeout
...
Fix poll timeout in MaterializedMySQL
2023-06-01 15:16:59 +03:00
Alexander Tokmakov
9a2b3afb7e
Revert "Fix msan issue in keyed siphash"
2023-06-01 15:02:32 +03:00
Kruglov Pavel
7485962443
Merge pull request #50343 from Avogar/fix-bit-shift-func
...
Fix bitShift* functions with both constant arguments
2023-06-01 13:53:36 +02:00
SmitaRKulkarni
06432929a7
Merge pull request #50339 from ClickHouse/43983_Updated_to_hold_lock_fetch_part
...
Improved fetch part by holding directory lock longer
2023-06-01 13:42:34 +02:00
Alexey Milovidov
a44c00c926
Merge pull request #50411 from ClickHouse/remove-something
...
Remove something
2023-06-01 13:14:24 +03:00
Kseniia Sumarokova
064c15f2ab
Merge branch 'master' into fix-async-buffer
2023-06-01 11:13:54 +02:00
Sema Checherinda
de62c9e558
Merge pull request #50410 from ClickHouse/clang-17-2
...
Support clang-17
2023-06-01 10:48:58 +02:00
Robert Schulze
669b795ec8
Merge pull request #50245 from rschu1ze/msan-siphash-keyed
...
Fix msan issue in keyed siphash
2023-06-01 10:04:59 +02:00
Zhiguo Zhou
3d0f336643
Optimize predicate with toYYYYMM converter
...
Like toYear(PR #50062 ), the predicate with toYYYYMM could also be
optimized with its preimage. For example, we could transform the
predicate "toYYYYMM(c) = 202305" to "c >= '2023-05-01' AND c <=
'2023-05-31'", so that the invocation of toYYYYMM is avoided. The
similar transformation also applies to other comparisons.
This commit extends OptimizeDateFilterInPlaceVisitor by having it
recognize the toYYYYMM converter in the WHERE/PREWHERE clauses and
replace it with the above tranformed predicate in-place at the AST
level.
2023-06-01 10:20:45 +08:00
Alexey Milovidov
fb86fe8f9d
Remove useless code
2023-06-01 03:08:05 +02:00
Alexey Milovidov
956c399b2a
Remove useless code
2023-06-01 03:04:29 +02:00
Alexey Milovidov
75de3ffba8
Merge branch 'master' into fix-async-buffer
2023-06-01 03:40:28 +03:00
Alexey Milovidov
8e6100b0f9
Merge branch 'clang-17-2'
2023-06-01 01:33:23 +02:00
Alexey Milovidov
c54abdb4f8
Support clang-17
2023-06-01 01:32:03 +02:00
Nikita Mikhaylov
3543d95980
Parallel replicas always skip unavailable ones ( #50293 )
2023-05-31 22:10:33 +02:00
SmitaRKulkarni
123cd505ee
Merge branch 'master' into 43983_Updated_to_hold_lock_fetch_part
2023-05-31 21:59:55 +02:00
Alexander Tokmakov
2357c03388
Merge branch 'master' into fix_materialized_mysql_poll_timeout
2023-05-31 19:47:14 +03:00
Sema Checherinda
aedd3afb8a
fix hung in unit tests ( #50391 )
...
* fix hung in unit tests
* Update gtest_writebuffer_s3.cpp
* Update gtest_writebuffer_s3.cpp
---------
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-05-31 19:20:58 +03:00
Kruglov Pavel
0beca0336d
Merge pull request #49112 from ClickHouse/Avogar-patch-3
...
Fix possible terminate called for uncaught exception in some places
2023-05-31 16:55:43 +02:00
Alexander Tokmakov
f74d7474d2
fix poll timeout in MaterializedMySQL
2023-05-31 15:04:41 +02:00
Alexander Tokmakov
4d4112ff53
Revert "less logs in WriteBufferFromS3" ( #50390 )
2023-05-31 15:26:56 +03:00
Kruglov Pavel
3460667cac
Merge pull request #47496 from iiiuwioajdks/allow_empty
...
Allow empty column names in CSVWithNames/TSVWithNames
2023-05-31 13:24:39 +02:00
Vitaly Baranov
6d45d0c374
Use fingerprints instead of key IDs in encrypted disks ( #49882 )
...
* Use fingerprints instead of key IDs to find keys in encrypted disks.
Always use little endian in the headers of encryption files.
* Add tests.
* Fix copying binary files to test containers.
* Fix ownership for copied files in test containers.
* Add comments after review.
---------
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-05-31 13:11:10 +02:00
vdimir
9e4eafc75f
Merge pull request #49359 from ClickHouse/vdimir/matcher_join_use_nulls
2023-05-31 13:04:14 +02:00
Sema Checherinda
ab027ca1ce
Merge pull request #50275 from CheSema/d-tor-free
...
buffers d-tor finalize free
2023-05-31 12:26:19 +02:00
Kseniia Sumarokova
410eb44f0f
Merge branch 'master' into fix-logging
2023-05-31 11:55:53 +02:00
Sema Checherinda
fbae970b8e
Merge branch 'master' into less-logs
2023-05-31 10:21:24 +02:00
Robert Schulze
c5343679df
Merge branch 'master' into msan-siphash-keyed
2023-05-31 09:05:24 +02:00
Robert Schulze
f171ad93bc
Merge pull request #49656 from ClickHouse/rs/entropy-learned-hashing
...
Add SQL functions for Entropy Learned Hashing
2023-05-31 08:26:57 +02:00
Robert Schulze
fc157b3dad
Merge branch 'master' into msan-siphash-keyed
2023-05-30 21:30:33 +02:00
kssenii
f15769ee6c
Fix
2023-05-30 21:29:08 +02:00
kssenii
7fcafaabd5
Fix
2023-05-30 20:56:48 +02:00
Kseniia Sumarokova
55b2e42150
Merge pull request #50232 from kssenii/fix-iceberg
...
Fix iceberg metadata parsing
2023-05-30 20:11:11 +02:00
Michael Kolupaev
536c4a99c8
Fix clickhouse-local crashing when writing empty Arrow or Parquet output
2023-05-30 10:45:49 -07:00
vdimir
783b54624b
add comment to join_use_nulls in QueryAnalyzer::resolveMatcher
2023-05-30 16:49:10 +00:00
vdimir
d727893693
Handle function nodes in getColumnSideFromJoinTree
2023-05-30 16:40:40 +00:00
vdimir
12141bb6cd
Check can become nullable before applying join_use_nulls
2023-05-30 16:40:39 +00:00
vdimir
40d658e467
Fix join_use_nulls in analyzer
2023-05-30 16:40:36 +00:00
Kruglov Pavel
7966fa2da6
Merge pull request #50034 from Avogar/fiber-local-var-2
...
Fix assert in SpanHolder::finish() with fibers attempt 2
2023-05-30 17:50:31 +02:00
Kruglov Pavel
2dd4701115
Merge branch 'master' into allow_empty
2023-05-30 16:04:12 +02:00
Sema Checherinda
91a3c88126
less logs in WriteBufferFromS3
2023-05-30 15:49:47 +02:00
Sema Checherinda
84d6bfe5f6
Merge pull request #50204 from azat/InsertSelectQueries-pe
...
Add new profile events for queries with subqueries
2023-05-30 15:19:04 +02:00
avogar
c87e8c1f23
Fix bitShift* functions with both constant arguments
2023-05-30 12:12:54 +00:00
Robert Schulze
1cbce21968
Better, pt. II
2023-05-30 11:46:23 +00:00
Smita Kulkarni
fe944a55dc
Updated to hold temporary_directory_lock till part is fetched, renamed and committed
2023-05-30 13:30:47 +02:00
Sema Checherinda
0a128cec61
remove tricky debug trap
2023-05-30 12:28:58 +02:00
Sema Checherinda
2d2b411c26
fix build
2023-05-30 12:26:20 +02:00