Commit Graph

119178 Commits

Author SHA1 Message Date
Alexey Milovidov
43cd600e21
Update 02813_any_value.sql 2023-07-16 17:35:51 +03:00
flynn
1eaa387da7 update doc 2023-07-16 05:23:15 +00:00
flynn
315f4afe11 Add any_value as a compatibility alias for any 2023-07-16 05:20:09 +00:00
robot-ch-test-poll2
9df928eb13
Merge pull request #52028 from nicelulu/master
Update CompletedPipelineExecutor exception log name
2023-07-13 00:18:09 +02:00
Alexey Milovidov
58877d796a
Merge pull request #52061 from ClickHouse/auto/v23.4.6.25-stable
Update version_date.tsv and changelogs after v23.4.6.25-stable
2023-07-13 01:15:01 +03:00
pufit
1f05e6b99f
Merge pull request #51359 from azat/keeper-client-fix-parser
Improve parsing of path in clickhouse-keeper-client
2023-07-12 12:23:25 -04:00
robot-clickhouse
798f31a612 Update version_date.tsv and changelogs after v23.4.6.25-stable 2023-07-12 12:36:57 +00:00
robot-ch-test-poll3
484bf00c06
Merge pull request #52036 from ZhiguoZh/20230711-ontime-get128-inline
Inline SipHash::get128(char *)
2023-07-12 07:20:01 +02:00
robot-clickhouse-ci-2
6c0eed47eb
Merge pull request #52039 from johnspurlock/patch-1
Fix a few typos in docker readme.
2023-07-12 06:37:57 +02:00
pufit
e87e3f8678
Merge branch 'master' into keeper-client-fix-parser 2023-07-11 20:13:51 -04:00
pufit
12432ac582
Merge pull request #51290 from arenadata/Fix-formatDateTime-with-fractional-negative-datetime64
Fix formatDateTime() with fractional negative datetime64
2023-07-11 19:55:49 -04:00
robot-ch-test-poll3
ea7ff2f37e
Merge pull request #51723 from arenadata/ADQM-956
Added ASK_PASSWORD client constant instead of hardcoded '\n'
2023-07-12 00:37:59 +02:00
robot-ch-test-poll4
139f59f51f
Merge pull request #52038 from azat/s3-plain-send_metadata
Prohibit send_metadata for s3_plain disks
2023-07-12 00:37:50 +02:00
Alexey Milovidov
ea15825494
Merge pull request #51357 from ClickHouse/add-test-34626
Add a test for #34626
2023-07-12 00:47:07 +03:00
robot-clickhouse-ci-1
1eef5086d4
Merge pull request #52030 from myrrc/feature/auto-reload-tls-certs
Watch for certificate files updates in ConfigReloader
2023-07-11 23:41:19 +02:00
Nikolai Kochetov
62b4b448da
Merge pull request #51954 from ClickHouse/vdimir/fix_race_in_remove_objects
Check refcount in `RemoveManyObjectStorageOperation::finalize` instead of `execute`
2023-07-11 23:17:50 +02:00
Dmitry Kardymon
2a7bbf5d48 Merge remote-tracking branch 'origin/master' into Fix-formatDateTime-with-fractional-negative-datetime64 2023-07-11 19:56:22 +00:00
John Spurlock
7c7a447fd2
Fix a few typos in docker readme. 2023-07-11 12:16:55 -05:00
Azat Khuzhin
326d51c3fb Prohibit send_metadata for s3_plain disks
send_metadata changes the filenames (includes revision), while
s3_plain do not care about this, and expect that the file name
will not be changed.

So during initialization s3_plain will do some basic checks and will
write file clickhouse_access_check_e0f72fcc-d6f8-44fe-8997-96cb87767515, but instead
r0000000000000000000000000000000000000000000000000000000000000001-file-clickhouse_access_check_e0f72fcc-d6f8-44fe-8997-96cb87767515
will be written, later read will not find the file and it will fail:

    Application: Code: 33. DB::Exception: Cannot read all data. Bytes read: 0. Bytes expected: 4.: While checking access for disk s3_plain: Cannot attach table `system`.`crash_log` ...

And besides, send_metadata does not make sense for s3_plain.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-11 18:34:23 +02:00
Zhiguo Zhou
b0fb96c8b6 Inline SipHash::get128(char *)
The SipHash-128 values of the strings are calculated and stored in
a set when the UniqExact aggregate function is applied to a Column-
String, as the following snippet shows:

StringRef value = column.getDataAt(row_num);
UInt128 key;
SipHash hash;
hash.update(value.data, value.size);
hash.get128(key);

The implementation of SipHash requires an internal 8-byte buffer,
current_word (or current_bytes), for holding the input data in the
cross function calls of SipHash::update and SipHash::get128. But,
in the above situation, where the update and get128 only take place
once, the copy of input data to the buffer is unnecessary.

With get128 inlined, the compiler could optimize the code as a whole
and reduce the unexpected memory operations, and as a result, the
query performance is improved.
2023-07-11 23:17:55 +08:00
Mike Kot
d0f81fb1cd fix 2023-07-11 13:33:07 +00:00
Mike Kot
da3de04470 fix 2023-07-11 12:27:23 +00:00
Alexey Gerasimchuck
49c1beb870
Used timeout function instead of undefined clickhouse_client_loop_timeout in functional tests (#51923)
* removed undefined clickhouse_client_loop_timeout

* test fix and improvement

* Changes after review iteration
2023-07-11 15:25:30 +03:00
Mike Kot
3e8906e5a2 fix build for non-ssl systems 2023-07-11 12:23:10 +00:00
Mike Kot
471e5a056d fix 2023-07-11 10:40:55 +00:00
Mike Kot
23e3c57a6a reload certificates for Keeper 2023-07-11 10:13:30 +00:00
Mike Kot
062b1c464c watch for certificate file updates in configreloader 2023-07-11 10:04:43 +00:00
Ilya Yatsishin
627e924a1b
Merge pull request #51696 from CheSema/write-to-finalized
fix write to finalized buffer
2023-07-11 11:48:49 +02:00
Nikolai Kochetov
ab6356f9bc
Merge branch 'master' into vdimir/fix_race_in_remove_objects 2023-07-11 11:22:04 +02:00
xiao
bc16531876
Update CompletedPipelineExecutor.cpp 2023-07-11 17:01:56 +08:00
Han Fei
2ab41ed665
Merge pull request #51291 from arenadata/ADQM-868
Millisecond and microsecond support in date_diff / age functions
2023-07-11 10:48:57 +02:00
Dmitry Kardymon
44550d8cdd Merge remote-tracking branch 'origin/master' into ADQM-868 2023-07-11 08:27:01 +00:00
Dmitry Kardymon
2edb529a93 Merge remote-tracking branch 'origin/master' into Fix-formatDateTime-with-fractional-negative-datetime64 2023-07-11 08:26:07 +00:00
Kruglov Pavel
2492f1bb78
Merge pull request #51273 from arenadata/ADQM-870
Added input_format_csv_allow_variable_number_of_columns options
2023-07-11 10:00:40 +02:00
Alexey Gerasimchuck
8f882b270e
Merge branch 'master' into ADQM-956 2023-07-11 16:02:14 +10:00
vdimir
bd5f393515
Always remove blobs in MetadataStorageFromPlainObjectStorageTransaction::unlinkMetadata 2023-07-11 05:14:39 +00:00
Dmitry Kardymon
3237169c9a Merge remote-tracking branch 'origin/master' into ADQM-868 2023-07-10 13:24:17 +00:00
Dmitry Kardymon
973c96c7ab Merge remote-tracking branch 'origin/master' into Fix-formatDateTime-with-fractional-negative-datetime64 2023-07-10 13:22:26 +00:00
Dmitry Kardymon
385a210fee Merge remote-tracking branch 'origin/master' into ADQM-870 2023-07-10 13:19:21 +00:00
Sema Checherinda
9aef39a788
Merge pull request #51320 from CheSema/less-logs-2
decrease log level, make logs shorter
2023-07-10 11:07:39 +02:00
lgbo
344bc05156
wip: reserve hash table size (#50875) 2023-07-10 10:44:01 +02:00
robot-ch-test-poll3
cb26301a5a
Merge pull request #51996 from simpl1g/patch-1
[DOCS] Add REMOVE SAMPLE BY to docs
2023-07-10 04:59:34 +02:00
Alexey Milovidov
4509939572
Merge branch 'master' into add-test-34626 2023-07-10 01:26:04 +03:00
Alexey Milovidov
7b3b6531ee
Merge pull request #51305 from ClickHouse/add-test-44816
Add a test for #44816
2023-07-10 01:24:53 +03:00
Alexey Milovidov
dd1c528d2f
Merge pull request #51985 from azat/cleanup-remote-servers
[RFC] Cleanup remote_servers in dist config.xml
2023-07-10 01:24:06 +03:00
Alexey Milovidov
1daa8828ce
Merge pull request #51990 from ClickHouse/add-check-for-stateful-tests
Add a check to validate that the stateful tests are stateful
2023-07-10 00:59:21 +03:00
Alexey Milovidov
dd80bdb859
Merge pull request #51993 from azat/symbol-index-cleanup
Cleanup SymbolIndex after reload got removed
2023-07-10 00:58:16 +03:00
vdimir
790b438b7c
add test_delete_race_leftovers 2023-07-09 16:19:00 +00:00
Azat Khuzhin
2db092f9d8 Cleanup remote_servers in dist config.xml
At first, there was no such amount of clusters in dist config, they
added when someone need to write some new cluster for tests.

So let's move them to the clusters.xml that is deployed only for tests,
and leave only default cluster.

And cleanup also some configs that had been copied from dist config in
the repo (about test_config_* integration tests, this should be OK,
since there are more_clusters.xml as well, that covers additional
cases).

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-09 16:55:27 +02:00
Han Fei
03201bb3ec
Merge pull request #51795 from ClickHouse/revert-51390-revert-50951
Revert "Revert "Merge pull request #50951 from ZhiguoZh/20230607-toyear-fix""
2023-07-09 16:48:35 +02:00