Commit Graph

127289 Commits

Author SHA1 Message Date
Konstantin Bogdanov
6aa90117ed
Poke CI 2023-10-25 17:51:57 +02:00
Maksim Kita
108df081b7 Add documentation 2023-10-25 18:49:00 +03:00
Maksim Kita
258a71a25d Added tests 2023-10-25 18:49:00 +03:00
Maksim Kita
82d4d52b06 Add SHOW SETTING query 2023-10-25 18:49:00 +03:00
Anton Popov
3e6ecf1858 correct the implementation of function jsonMergePatch 2023-10-25 15:17:28 +00:00
Smita Kulkarni
72f6a3b029 Removed unwanted conversion 2023-10-25 17:09:58 +02:00
Dmitry Novik
3973b24302
Update docs/en/sql-reference/functions/date-time-functions.md 2023-10-25 16:58:25 +02:00
Raúl Marín
62088772d2 Fuzzer: Use the known pid instead of reading the file
The file might not exists yet
2023-10-25 16:12:18 +02:00
alesapin
0d68a52c06
Merge pull request #50181 from ClickHouse/repro_49887
Make exception about `ALTER TABLE ... DROP COLUMN|INDEX|PROJECTION` more clear
2023-10-25 15:57:17 +02:00
Konstantin Bogdanov
b0bbb4d804
Fix ASan failure 2023-10-25 15:54:10 +02:00
Sergei Trifonov
b78cab88cd
Merge pull request #55964 from azat/perf-tests/fix-rg
Fix possible performance test error
2023-10-25 15:36:39 +02:00
Anton Popov
6ba59b8408
Merge pull request #54364 from Joeywzr/master
Support jsonMerge function
2023-10-25 15:27:16 +02:00
flynn
229762e4c1 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-union-distinct 2023-10-25 13:10:56 +00:00
jsc0218
8f8fbb59c1
Merge pull request #55975 from ClibMouse/client_connection_credentails_test
S390x by default uses openssl. Update the function test to match the error message in case of s390x.
2023-10-25 09:09:17 -04:00
taiyang-li
d5feaa72c1 improve thrown exception message 2023-10-25 20:16:18 +08:00
Robert Schulze
50c92dfe11
Update protobuf to v21.9 2023-10-25 11:56:29 +00:00
Han Fei
b4ab47380a
Merge pull request #55146 from zvonand/zvonand-parsing-dt64-fix
Improve parsing DateTime64 from timestamp represented as string
2023-10-25 12:32:15 +02:00
Raúl Marín
ef2740052e Attempt to wait until server is responsive after gdb detach 2023-10-25 10:15:35 +00:00
Antonio Bonuccelli
8861f8b6ea
Fix toDayOfWeek return value description
Fix toDayOfWeek return value description
2023-10-25 11:50:41 +02:00
Raúl Marín
6068277af9
Merge pull request #55815 from jetgm/master
Add SHOW MERGES
2023-10-25 11:44:30 +02:00
Robert Schulze
a7e582fb11
Fix style, pt. II 2023-10-25 09:35:39 +00:00
Robert Schulze
04272fa481
Convert unnecessary std::scoped_lock to std::lock_guard 2023-10-25 09:26:16 +00:00
Salvatore Mesoraca
0bda99e880
Fix code style 2023-10-25 11:07:34 +02:00
Robert Schulze
665dfe6135
Merge pull request #55278 from kitaisreal/context-added-tsa
Context added TSA
2023-10-25 10:41:00 +02:00
Robert Schulze
975f954a26
Merge pull request #54629 from aiven-sal/aiven-sal/cast2
Re-add fix for accurateCastOrNull
2023-10-25 10:31:40 +02:00
Raúl Marín
bee9eb5df4
Merge pull request #55962 from Algunenano/show_databases_limit
Fix `SHOW DATABASES LIMIT <N>`
2023-10-25 10:27:43 +02:00
Robert Schulze
3f30342bc7
Add isInt() convenience function 2023-10-25 08:12:34 +00:00
Salvatore Mesoraca
a95a2a5d66
formatQueryOneLine: create new function format queries on one line 2023-10-25 10:10:04 +02:00
Robert Schulze
9838e0ce3a
Update docs 2023-10-25 08:01:57 +00:00
Robert Schulze
46d34a412f
Fix style 2023-10-25 07:56:10 +00:00
jetgm
ca766e3033 update doc and change order by 2023-10-25 11:08:25 +08:00
robot-ch-test-poll1
ef78889aa2
Merge pull request #55952 from ClickHouse/disable_apply_deleted_mask
Added a setting to allow reading rows marked as deleted
2023-10-25 01:14:07 +02:00
MeenaRenganathan22
d378e10a4d Fixed the sytle check 2023-10-24 14:09:46 -07:00
avogar
c080ba9d7e Fix output LowCardinality as Arrow dictionary 2023-10-24 19:49:04 +00:00
Andrey Zvonov
22cab68524
Merge branch 'ClickHouse:master' into zvonand-parsing-dt64-fix 2023-10-24 21:10:57 +02:00
李扬
465962df7f
Support orc filter push down (file + stripe + rowgroup level) (#55330)
* support orc filter push down

* update orc lib version

* replace setqueryinfo with setkeycondition

* fix issue https://github.com/ClickHouse/ClickHouse/issues/53536

* refactor source with key condition

* fix building error

* remove std::cout

* update orc

* update orc version

* fix bugs

* improve code

* upgrade orc lib

* fix code style

* change as requested

* add performance tests for orc filter push down

* add performance tests for orc filter push down

* fix all bugs

* fix default as null issue

* add uts for null as default issues

* upgrade orc lib

* fix failed orc lib uts and fix typo

* fix failed uts

* fix failed uts

* fix ast fuzzer tests

* fix bug of uint64 overflow in https://s3.amazonaws.com/clickhouse-test-reports/55330/de22fdcaea2e12c96f300e95f59beba84401712d/fuzzer_astfuzzerubsan/report.html

* fix asan fatal caused by reused column vector batch in native orc input format. refer to https://s3.amazonaws.com/clickhouse-test-reports/55330/be39d23af2d7e27f5ec7f168947cf75aeaabf674/stateless_tests__asan__[4_4].htm

* fix wrong performance tests

* disable 02892_orc_filter_pushdown on aarch64. https://s3.amazonaws.com/clickhouse-test-reports/55330/be39d23af2d7e27f5ec7f168947cf75aeaabf674/stateless_tests__aarch64_.html

* add some comments

* add some comments

* inline range::equals and range::less

* fix data race of key condition

* trigger ci
2023-10-24 12:08:17 -07:00
Robert Schulze
57df56733f
Merge pull request #55963 from rschu1ze/bump-protobuf
Bump protobuf to v3.19.6
2023-10-24 19:20:30 +02:00
AN
f8348681aa
Update architecture.md
Russian language fixes (hyphens in compounds, tautologies etc.), term unification («column» → «столбец», а было то «столбец», то «колонка», «строка/столбец» is traditional translation for ‘row/column‘ in translations (see translations of Date)
2023-10-24 19:47:27 +03:00
Maksim Kita
0e176fa0ed Fixed code review issues 2023-10-24 19:39:25 +03:00
Sergei Trifonov
8f3eb23f3c
Merge pull request #55956 from bigo-sg/json_seder_skip_null
Allow skip null values when serailize tuple to json objects
2023-10-24 18:32:01 +02:00
Robert Schulze
f94c33586c
Fix issue #42966 2023-10-24 15:14:20 +00:00
xuzifu666
010cc6918a
Add get_direct_children_number command to keeper-client (#55898) 2023-10-24 17:02:54 +02:00
Robert Schulze
1375733643
Merge pull request #55955 from rschu1ze/test-bug-43644
Test for Bug 43644
2023-10-24 16:16:52 +02:00
Robert Schulze
0955107e8e
Merge pull request #55948 from rschu1ze/arrayFold-switch-args
arrayFold: Switch accumulator and array arguments
2023-10-24 16:16:02 +02:00
Salvatore Mesoraca
2d2eaceb77
formatQuery: move doc 2023-10-24 16:13:15 +02:00
Salvatore Mesoraca
3e0b6eb77b
formatQuery: validate args using helper function 2023-10-24 16:10:43 +02:00
Azat Khuzhin
66c4a3bdbc tests: more robust 02903_rmt_retriable_merge_exception
- separate uuid extraction
- add preliminary exit
- disable for ordinary database
- less number of attempts
- add optimize_throw_if_noop and missing sync replica, to fix:

  2023.10.24 15:18:35.925533 [ 640 ] {da7418c6-3d51-45bc-a0d0-4970bb0cdd51} <Debug> test_3kgjgry1.rmt1 (d18afb81-3a4b-4c02-b281-5575dce2f440): Cannot select parts for optimization: Entry for part all_1_1_0 hasn't been read from the replication log yet (in partition all)

- fix in case of ZooKeeper retries

  2023.10.24 11:50:24.792511 [ 1437 ] {c39fd15b-e2e6-4291-9912-39fda75ebcd5} <Trace> test_qxkzmigq.rmt1 (1c086c74-9ebe-495c-bbd2-87ab2d8ec43d): Renaming temporary part tmp_insert_all_1_1_0 to all_1_1_0 with tid (1, 1, 00000000-0000-0000-0000-000000000000).
  2023.10.24 11:50:24.797320 [ 1437 ] {c39fd15b-e2e6-4291-9912-39fda75ebcd5} <Trace> test_qxkzmigq.rmt1 (1c086c74-9ebe-495c-bbd2-87ab2d8ec43d) (Replicated OutputStream): ZooKeeperWithFaultInjection call FAILED: seed=17644626169032325693 func=tryMulti path=/clickhouse/zero_copy code=Session expired message=Fault injection before operation
  2023.10.24 11:50:24.797536 [ 1437 ] {c39fd15b-e2e6-4291-9912-39fda75ebcd5} <Debug> test_qxkzmigq.rmt1 (1c086c74-9ebe-495c-bbd2-87ab2d8ec43d): Undoing transaction. Rollbacking parts state to temporary and removing from working set: all_1_1_0.
  ...
  2023.10.24 11:50:25.000349 [ 1437 ] {c39fd15b-e2e6-4291-9912-39fda75ebcd5} <Trace> test_qxkzmigq.rmt1 (1c086c74-9ebe-495c-bbd2-87ab2d8ec43d): Renaming temporary part tmp_insert_all_1_1_0 to all_2_2_0 with tid (1, 1, 00000000-0000-0000-0000-000000000000).
  2023.10.24 11:50:25.007477 [ 760 ] {} <Trace> test_qxkzmigq.rmt1 (ReplicatedMergeTreeQueue): Insert entry queue-0000000000 to queue with type GET_PART with virtual parts [all_2_2_0]

CI:
- https://s3.amazonaws.com/clickhouse-test-reports/55944/da408df4a7296835897d7cef80d63f252df79b75/stateless_tests__tsan__s3_storage__[2_5].html
- https://s3.amazonaws.com/clickhouse-test-reports/55944/da408df4a7296835897d7cef80d63f252df79b75/stateless_tests_flaky_check__asan_.html
- https://s3.amazonaws.com/clickhouse-test-reports/55944/02fdd0513f7d413ce4ac39a70566855327ebfade/stateless_tests__aarch64_.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-24 16:03:57 +02:00
Andrey Zvonov
b5e7955298
Merge branch 'ClickHouse:master' into zvonand-parsing-dt64-fix 2023-10-24 16:02:38 +02:00
Salvatore Mesoraca
457e7ba7bd
formatQuery: improve doc 2023-10-24 15:38:24 +02:00
Salvatore Mesoraca
6be7fd0fa1
Ignore formatQuery word during spell check 2023-10-24 15:38:24 +02:00