Commit Graph

93598 Commits

Author SHA1 Message Date
avogar
821f006a7a Allow CREATE TEMPORARY TABLE ... (list of columns) AS ... 2022-07-21 14:24:11 +00:00
Alexander Tokmakov
9e9969cea7
Merge pull request #37827 from arthurpassos/host_regexp_multiple_domains
Test host_regexp against all PTR records instead of only one
2022-07-21 16:43:05 +03:00
Alexander Tokmakov
633e67b055
Merge pull request #39461 from ClickHouse/revert-39385-jawm/direct-dicthas
Revert "Remove broken optimisation in Direct dictionary dictHas implementation"
2022-07-21 16:25:06 +03:00
Alexander Tokmakov
9a55f84885
Revert "Remove broken optimisation in Direct dictionary dictHas implementation" 2022-07-21 16:24:18 +03:00
Alexander Tokmakov
8bd674186a
Update getStructureOfRemoteTable.cpp 2022-07-21 16:15:42 +03:00
Antonio Andelic
fdd79e62da
Merge pull request #39393 from ClickHouse/keeper-disable-digest-default
Disable real-time digest in Keeper by default
2022-07-21 15:15:22 +02:00
Alexander Tokmakov
a8da5d96fc remove some dead and commented code 2022-07-21 15:05:48 +02:00
Nikolai Kochetov
80f2c6f2d4
Merge pull request #39456 from ClickHouse/respect-alias-for-additional-table-filter
Respect table alias for additional_table_filters.
2022-07-21 14:02:18 +02:00
Anton Popov
68aab132a5
Merge pull request #38989 from lokax/tuple_elem
feat(function): tupleElement with default value
2022-07-21 13:58:08 +02:00
Alexander Tokmakov
f79f12408d fixes 2022-07-21 13:57:24 +02:00
Kruglov Pavel
64a189249f
Merge pull request #39423 from ClickHouse/Avogar-patch-1
Disable format_csv_allow_single_quotes by default
2022-07-21 13:36:45 +02:00
Alexey Milovidov
ad77b84b82 Update changelog 2022-07-21 13:32:34 +02:00
Arthur Passos
03bd7ce7b8 Minor style fix in dns integ test 2022-07-21 08:29:40 -03:00
Nikolai Kochetov
e6969d5010 Respect table alias for additional_table_filters. 2022-07-21 11:23:09 +00:00
Mikhail f. Shiryaev
c24800c7d5
Merge pull request #39307 from ClickHouse/ci-simple-check-fix-rerun
Simple Check should be updated on rerun
2022-07-21 13:01:59 +02:00
Alexey Milovidov
1a771846aa Merge branch 'master' of github.com:ClickHouse/ClickHouse into changelog-22.7-2 2022-07-21 13:01:00 +02:00
Alexey Milovidov
558c0bdb7c Continue updating the changelog 2022-07-21 13:00:36 +02:00
Maksim Kita
baea3b01b1
Merge pull request #39385 from jawm/jawm/direct-dicthas
Remove broken optimisation in Direct dictionary dictHas implementation
2022-07-21 11:43:48 +02:00
Kruglov Pavel
49c839bdc1
Merge pull request #39413 from vitlibar/fix-interactive-client-with-older-server
Fix interactive client with older server
2022-07-21 11:37:20 +02:00
Maksim Kita
e28152ec36
Merge pull request #39427 from ltrk2/bugfix/missing-dependency
Introduce a dependency to libuv when building NATS
2022-07-21 11:37:05 +02:00
avogar
d63786e709 Better 2022-07-21 09:07:23 +00:00
avogar
076d1c0bb1 Merge branch 'Avogar-patch-1' of github.com:ClickHouse/ClickHouse into Avogar-patch-1 2022-07-21 08:58:13 +00:00
avogar
49d980d16c Extend time units in parseTimeDelta function 2022-07-21 08:55:51 +00:00
Vitaly Baranov
da0bdd474b Fix code style. 2022-07-21 10:48:53 +02:00
Alexey Milovidov
7781b4c06b
Merge pull request #39439 from ClickHouse/changelog-22.7
Changelog 22.7
2022-07-21 11:24:47 +03:00
Amos Bird
98ff54700a
Fix trivial count optimization with array join 2022-07-21 16:23:25 +08:00
avogar
394fcf33ef Fix test 2022-07-21 07:53:11 +00:00
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
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
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
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
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