Commit Graph

95027 Commits

Author SHA1 Message Date
Maksim Kita
a120452c3d
Merge pull request #39956 from kitaisreal/ast-destructor-intrusive-list
IAST destructor intrusive list
2022-08-09 10:51:03 +02:00
Alexander Gololobov
595171a0cf
Merge branch 'master' into lwd_merge_tree_small_fix 2022-08-09 10:31:48 +02:00
Yakov Olkhovskiy
78cc2a970d
copy self-extracting to output 2022-08-09 02:40:17 -04:00
Yakov Olkhovskiy
b827f3bccf
Merge pull request #40011 from ClickHouse/self-extracting-path
Self-extracting: decompressor, extract real path of executable instead of argv[0]
2022-08-09 02:37:33 -04:00
Tanya Bragin
eb61db3b67 initial changes to close #37492 2022-08-08 19:45:00 -07:00
Heena Bansal
f426b3a663
Update 02360_small_notation_h_for_hour_interval.sql 2022-08-08 21:55:06 -04:00
Alexey Milovidov
48bed932ec
Merge pull request #39931 from HarryLeeIBM/hlee-s390x-coordination
Fix Endian issue in KeeperSnapshotManager for s390x
2022-08-09 04:24:32 +03:00
Yakov Olkhovskiy
cccff115a2
Merge branch 'master' into fix-quota-key 2022-08-08 18:05:12 -04:00
Yakov Olkhovskiy
2c3732ed3a extract real path of executable instead of argv[0] 2022-08-08 17:56:16 -04:00
Mikhail f. Shiryaev
a34a9b581c
Merge pull request #39871 from ClickHouse/universal-lambdas
Get api url from event, not from const/ENV
2022-08-08 23:34:04 +02:00
Alexander Gololobov
bc42220051
Merge branch 'master' into lwd_merge_tree_small_fix 2022-08-08 23:29:19 +02:00
Nikita Taranov
c67b554789
Update 02354_distributed_with_external_aggregation_memory_usage.sql (#39979) 2022-08-08 22:22:00 +02:00
Robert Schulze
e0d5020a92
Add simple versioning to the *-bridge-to-server protocol
- In general, it is expected that clickhouse-*-bridges and
  clickhouse-server were build from the same source version (e.g. are
  upgraded "atomically"). If that is not the case, we should at least
  be able to detect the mismatch and abort.

- This commit adds a URL parameter "version", defined in a header shared
  by the server and bridges. The bridge returns an error in case of
  mismatch.

- The version is *not* send and checked for "ping" requests (used for
  handshake), only for regular requests send after handshake. This is
  because the internally thrown server-side exception due to HTTP
  failure does not propagate the exact HTTP error (it only stores the
  error as text), and as a result, the server-side handshake code
  simply retries in case of error with exponential backoff and finally
  fails with a "timeout error". This is reasonable as pings typically
  fail due to time out. However, without a rework of HTTP exceptions,
  version mismatch during ping would also appear as "timeout" which is
  too misleading. The behavior may be changed later if needed.

- Note that introducing a version parameter does not represent a
  protocol upgrade itself. Bridges older than the server will simply
  ignore the field. Only servers older than the bridges receive an error
  but such a situation should never occur in practice.
2022-08-08 19:40:37 +00:00
vdimir
29efed0c77
Project input for rename joined columns step 2022-08-08 19:11:53 +00:00
HeenaBansal2009
d2bdf6fc3e Added tests 2022-08-08 11:51:05 -07:00
HarryLeeIBM
d609da182b Fix Endian issue in Codec for s390x 2022-08-08 11:28:35 -07:00
HarryLeeIBM
42323cfb92 Use constexpr char array as magic number 2022-08-08 10:59:09 -07:00
Robert Schulze
9952ab1099
Prefix class names "LibraryBridge*Handler" with "ExternalDictionary"
- necessary to disambiguate the names from "CatBoost"-"LibraryBridgeHandler"
  which will be added in a next step
2022-08-08 17:16:46 +00:00
Robert Schulze
e584d1276b
Factorize generic code from ExternalDictLibBridgeHelper into base class
- When catboost will be added into library-bridge later on, a lot of
  code will need to be duplicated.

- Avoid that by factorizing stuff which is not specific to external
  dictionaries for reuse into a common base class.

- This is a refactoring without semantic change.
2022-08-08 17:16:46 +00:00
Alexander Tokmakov
5d507c593b
Merge pull request #40005 from ClickHouse/revert-39617-ci-self-extracting-s3-deployment
Revert "copy self-extracting to output"
2022-08-08 20:15:56 +03:00
Alexander Tokmakov
3bc583c22b
Revert "copy self-extracting to output" 2022-08-08 20:13:40 +03:00
Alexander Gololobov
4c86130796 More generic check for MergeTree table family 2022-08-08 19:04:35 +02:00
Nikolai Kochetov
8a4c57f641 Added __init__.py 2022-08-08 16:41:11 +00:00
Raúl Marín
c8f8ceea8d Fix hashId crash and salt not applying 2022-08-08 18:25:34 +02:00
Alexander Tokmakov
664b4355bf
Merge pull request #39941 from azat/tests-rwlock-fix
tests: fix 02352_rwlock flakiness
2022-08-08 19:24:08 +03:00
Alexander Tokmakov
95645d7491 try to avoid timeouts when checking for replication consistency 2022-08-08 18:01:48 +02:00
Maksim Kita
c030fd05e7 ActionsDAG rename index to outputs 2022-08-08 18:01:32 +02:00
HeenaBansal2009
17f04a6e6e Added H literal for Hour IntervalKind 2022-08-08 08:54:53 -07:00
Yakov Olkhovskiy
d39e9f65de
Merge branch 'master' into fix-quota-key 2022-08-08 11:54:21 -04:00
Yakov Olkhovskiy
1ef9c30e82
enable fast test for http 2022-08-08 11:49:27 -04:00
Robert Schulze
4c3153b2ba
Merge pull request #39988 from ClickHouse/document-disable-self-extracting-binary
Mention how the build can be speed up by disabling self-extraction
2022-08-08 16:57:40 +02:00
Maksim Kita
c67378124f
Merge branch 'master' into ast-destructor-intrusive-list 2022-08-08 16:28:00 +02:00
Antonio Andelic
5cd3558d07 Use different root path for counter test 2022-08-08 14:10:13 +00:00
Kruglov Pavel
704bdd08ec
Merge branch 'master' into revert-39804-revert-39510-update-arrow 2022-08-08 15:51:29 +02:00
robot-clickhouse
f10d4f6c61 Automatic style fix 2022-08-08 13:46:38 +00:00
avogar
1304e3487c Add comments, remove unneded stuff 2022-08-08 13:43:14 +00:00
Nikolai Kochetov
540ae64f37 Fix big memory usage for fetch. 2022-08-08 13:32:49 +00:00
Yakov Olkhovskiy
eb4913e4c5
fix user and quota_key 2022-08-08 09:07:38 -04:00
Robert Schulze
5a434577f6
Mention how the build can be speed up by disabling self-extraction 2022-08-08 13:01:32 +00:00
Alexander Tokmakov
2a62910fb5
Merge pull request #39985 from ClickHouse/tavplubix-patch-3
Disable 02380_insert_mv_race.sh with Ordinary
2022-08-08 15:55:05 +03:00
Maksim Kita
a9c8e13344 Fixed code review issues 2022-08-08 14:54:11 +02:00
Alexander Tokmakov
0ba6751849
Update 02380_insert_mv_race.sh 2022-08-08 15:53:37 +03:00
avogar
2f95726b06 Fix comments 2022-08-08 12:41:00 +00:00
vdimir
708747ca0b
Merge branch 'master' into refactor-prepared-sets 2022-08-08 14:27:18 +02:00
Vladimir C
6bd4821656
Merge pull request #39575 from vdimir/join_pushdown_column_not_found
Fix column not found for push down with join
2022-08-08 14:04:42 +02:00
Yakov Olkhovskiy
8fe8208133
Merge pull request #39967 from ClickHouse/ci-mergeable-add
Add Stateful tests (release), Stateless tests (release) to Mergeable Check
2022-08-08 07:58:20 -04:00
Robert Schulze
ad0d060dc1
Merge pull request #39904 from ClickHouse/library-bridge-refactoring
Prepare library-bridge for catboost integration
2022-08-08 12:15:01 +02:00
Kseniia Sumarokova
d1b436597f
Merge pull request #39940 from azat/file-log-fix
Create metadata directory on CREATE for FileLog engine
2022-08-08 11:39:17 +02:00
Kseniia Sumarokova
ec4a4d31ea
Fix style check 2022-08-08 11:23:57 +02:00
Alexey Milovidov
0921548a37
Merge pull request #39527 from pkit/pkit/fix_nats_tls
fix nats-io TLS support
2022-08-08 08:28:14 +03:00