Vladimir C
9bd777ad76
Merge pull request #39443 from vdimir/cross_to_inner_join_rewrite_1
...
Set default value cross_to_inner_join_rewrite = 1
2022-07-21 09:30:55 +02:00
vdimir
43a0129425
Set default value cross_to_inner_join_rewrite = 1
2022-07-21 08:43:38 +02:00
Yakov Olkhovskiy
bdd11f671d
different path of endian.h for FreeBSD
2022-07-21 02:08:07 -04:00
Nikolai Kochetov
e15967e9db
Merge pull request #38475 from ClickHouse/additional-filters
...
Additional filters for a table (from setting)
2022-07-21 07:52:04 +02:00
Yakov Olkhovskiy
baff8327b9
do not recreate Simple Check if already exists
2022-07-21 01:41:55 -04:00
Yakov Olkhovskiy
f30b54a392
fail_simple_check is added
2022-07-21 01:36:13 -04:00
Yakov Olkhovskiy
c4073328fa
add get_finished_status function
2022-07-21 01:36:12 -04:00
Igor Nikonov
8bd423f7dc
Fix test: move test to stateful tests
2022-07-21 05:27:31 +00:00
Yakov Olkhovskiy
e7438cc433
Merge branch 'master' into cmake-self-extracting-executable
2022-07-21 00:25:08 -04:00
Yakov Olkhovskiy
29ed2083d1
endian.h in different path on __APPLE__ and __FreeBSD__
2022-07-21 00:20:23 -04:00
Mingliang Pan
e019b6ba69
Update getStructureOfRemoteTable.cpp
2022-07-21 12:11:33 +08:00
Alexey Milovidov
5517e2069e
Merge pull request #39392 from azat/fix-make-clean
...
Fix make clean (due to crosscompile of llvm)
2022-07-21 07:06:22 +03:00
Alexey Milovidov
844042fc18
Merge pull request #39433 from ClickHouse/revert-39396-try-fix-write-buffer-terminate
...
Revert "Fix WriteBuffer finalize in destructor when cacnel query"
2022-07-21 07:04:07 +03:00
Mingliang Pan
3f76c8d7fd
optimize select query from cluster table function
...
Use local node as first priority to get Structure Of Remote Table.
we have many distributed queries( like select xx from cluster('xx',view (xxxx) ) on a clickhouse cluster. we found that the first node (shard_num=1) have 2 times of query number compared to other shards.
The reason is that the getStructureOfRemoteTableInShard func always take the first shard to execute "DESC TABLE xx" query.
The better way is to use local node as first priority which save the network rpc and reduce the pressure of first shard .
2022-07-21 11:56:35 +08:00
Alexey Milovidov
4305eacd92
Merge pull request #39434 from ClickHouse/revert-39299-fix-lsan-v3
...
Revert "[RFC] Fix LSan by fixing getauxval()"
2022-07-21 06:47:54 +03:00
Alexey Milovidov
41045ba704
Update Settings.h
2022-07-21 06:42:51 +03:00
Alexey Milovidov
19c4c0bd6e
Update CoordinationSettings.cpp
2022-07-21 06:41:42 +03:00
Alexey Milovidov
443f7c1237
Merge branch 'master' into Avogar-patch-1
2022-07-21 05:28:26 +02:00
Alexey Milovidov
ac6b9ef051
Prepare changelog
2022-07-21 05:18:35 +02:00
Yakov Olkhovskiy
b766552481
add native build for cross-compilation
2022-07-20 23:09:05 -04:00
Alexey Milovidov
fd691000b7
Merge pull request #39342 from azat/bg-executor-fix
...
Fix possible UB in MergeTreeBackgroundExecutor (leads to SIGSEGV on race with DROP/DETACH)
2022-07-21 05:22:51 +03:00
Alexey Milovidov
f4f5a5e044
Merge pull request #39397 from azat/fix-extractAll
...
Fix UB (stack-use-after-scope) in extactAll()
2022-07-21 05:21:18 +03:00
Alexey Milovidov
dcda9d3bd1
Merge pull request #39365 from Avogar/fix-capnproto-abort
...
Avoid possible abort() in CapnProto on exception descruction
2022-07-21 05:20:45 +03:00
Alexey Milovidov
6d7403d78c
Add changelog for 22.7
2022-07-21 03:39:34 +02:00
Alexey Milovidov
72dda35108
Revert "[RFC] Fix LSan by fixing getauxval()"
2022-07-21 04:34:04 +03:00
Kruglov Pavel
92995a832b
Revert "Fix WriteBuffer finalize in destructor when cacnel query"
2022-07-21 01:45:16 +02:00
Nikita Taranov
f7c6830433
Merge branch 'master' into hlee-s390x-LZ4
2022-07-21 01:34:03 +02:00
Azat Khuzhin
4b3f90870d
Remove specialization global lock/unlock from ActionLocksManager ( #39215 )
...
This had been done in InterpreterSystemQuery explicitly, with grants
checking.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-21 01:29:35 +02:00
Azat Khuzhin
40d5627510
Avoid loading toolchain file multiple times to avoid confusing ccache ( #39387 )
...
During first run of cmake the toolchain file will be loaded twice,
- /usr/share/cmake-3.23/Modules/CMakeDetermineSystem.cmake
- /bld/CMakeFiles/3.23.2/CMakeSystem.cmake
But once you already have non-empty cmake cache it will be loaded only
once:
- /bld/CMakeFiles/3.23.2/CMakeSystem.cmake
This has no harm except for double load of toolchain will add
--gcc-toolchain multiple times that will not allow ccache to reuse the
cache.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-21 01:26:28 +02:00
Igor Nikonov
052e7d3fbc
hits_v1 -> test.hits
2022-07-20 22:43:55 +00:00
Igor Nikonov
a3eb75beca
Test: compare result of DISTINCT with and w/o optimization
2022-07-20 22:33:57 +00:00
Igor Nikonov
635a566bec
Comment change
2022-07-20 21:37:46 +00:00
Igor Nikonov
e50aebb5f0
Merge branch 'master' into distinct_sorted_chunk_perf_impr
2022-07-20 23:17:11 +02:00
avogar
b0e7d348f1
Fix tests
2022-07-20 21:16:59 +00:00
Nikolai Kochetov
3b755ffb2a
Merge pull request #39391 from ClickHouse/fix-date-time-64-columns-dor-dict
...
Fix scale for DateTime64 dictionary attribute.
2022-07-20 23:14:33 +02:00
Igor Nikonov
965f96bd84
DISTINCT in order: perf improvement
...
+ reduce allocations in DistinctSortedChunkTransform
+ use it for final distinct as well
2022-07-20 20:44:47 +00:00
Nikolai Kochetov
91043351aa
Fixing build.
2022-07-20 20:30:16 +00:00
Alexander Gololobov
6578d4f2b4
Mix lightweight deletes with old-style alter-delete's
2022-07-20 22:25:39 +02:00
Kseniia Sumarokova
3759ee76a7
Merge pull request #39386 from ClickHouse/kssenii-patch-4
...
Rethrow exception on cache initialisation on server startup, better error message
2022-07-20 21:26:25 +02:00
Smita Kulkarni
605fc5f121
Addressed review comments
...
- Added finalizeImpl() override in ForkWriteBuffer to call finalize() of all the buffers.
- Removed clearing buffer in ForkWriteBuffer destructor.
2022-07-20 21:02:54 +02:00
Nikolai Kochetov
0341c6c54b
Try to firx keeper build.
2022-07-20 17:30:52 +00:00
Arthur Passos
8b49952c7a
remove custom debugging log
2022-07-20 14:21:06 -03:00
Arthur Passos
29613f4277
remove unused coredns symbols
2022-07-20 14:20:28 -03:00
Arthur Passos
828de2a674
Add host regexp multiple PTR records integration tests
2022-07-20 14:09:38 -03:00
Nikolai Kochetov
91aa2385ca
Merge branch 'master' into additional-filters
2022-07-20 18:56:24 +02:00
Igor Nikonov
7616a24c40
Merge pull request #38980 from ClickHouse/explain_ast_rewrite_follow_up
...
EXPLAIN AST rewrite: rename to optimize
2022-07-20 18:42:14 +02:00
Nikolai Kochetov
85e5597798
Fix some tests.
2022-07-20 15:54:12 +00:00
Kruglov Pavel
55c625deb1
Fix typo
2022-07-20 17:52:18 +02:00
Kruglov Pavel
d4c399d7f7
Update settings history
2022-07-20 17:50:24 +02:00
Kruglov Pavel
eb4dcdb6a0
Disable format_csv_allow_single_quotes by default
2022-07-20 17:47:47 +02:00