Commit Graph

119454 Commits

Author SHA1 Message Date
ltrk2
132052fbf2 Implement partial support for endianness-independent serialization 2023-07-14 09:56:59 -04:00
Tyler Hannan
f7705fff58
Update README.md 2023-07-14 12:45:05 +02:00
therealnick233
103a689edc
Fixed typo in combinators.md
line 303, 'Jonh' -> 'John'
2023-07-14 18:36:42 +08:00
Val Doroshchuk
2d46da01a4
Merge branch 'master' into disconnect-on-dtor 2023-07-14 11:50:45 +02:00
taiyang-li
8ea3bf4ade improve ch to arrow 2023-07-14 16:09:22 +08:00
Alexey Milovidov
4bb95305a4
Merge pull request #52077 from ClickHouse/auto/v23.3.8.21-lts
Update version_date.tsv and changelogs after v23.3.8.21-lts
2023-07-14 00:35:33 +03:00
zvonand
f7505f0c77 update docs 2023-07-13 19:41:45 +02:00
Andrey Zvonov
54723d4822
typofix2 2023-07-13 20:14:06 +03:00
Andrey Zvonov
0de7fb5c62
typofix1 2023-07-13 20:12:59 +03:00
Andrey Zvonov
013e46e0ee
Merge branch 'master' into zvonand-docs-22948 2023-07-13 18:02:49 +02:00
zvonand
a87474cee1 rm \n 2023-07-13 17:25:49 +02:00
zvonand
7e1b5d8997 updated docs for toYearWeek() 2023-07-13 17:21:23 +02:00
Azat Khuzhin
2720e9177d Fix flakiness of test_keeper_s3_snapshot
This is part of "Why my PR is not merged?" patch set series.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-13 14:25:24 +02:00
Azat Khuzhin
3a54182f77 Fix test_extreme_deduplication flakiness
This is part of **"Why my PR is not merged?"** patch set series.

Since #50107 there one more tunable that can increase the cleanup period
- max_cleanup_delay_period.

Plus, increase the delay for the cleanup thread, otherwise it is too
fragile.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-13 13:58:19 +02:00
robot-clickhouse-ci-1
57c3941fa6
Merge pull request #51807 from ClickHouse/check_not_empty_header_for_remote
Make sure that we don't attempt to serialize/deserialize block with 0 columns and non-zero rows
2023-07-13 12:15:38 +02:00
Val Doroshchuk
22cedfec47
Merge branch 'master' into disconnect-on-dtor 2023-07-13 11:35:36 +02:00
Dmitry Novik
5c73a0b19c
Merge pull request #50926 from ClickHouse/analyzer-integration-tests
Add integration test check with enabled analyzer
2023-07-13 10:59:39 +02:00
robot-clickhouse
8916e7d69b Update version_date.tsv and changelogs after v23.3.8.21-lts 2023-07-13 08:49:48 +00:00
Han Fei
f3684f78b7
Merge pull request #51720 from arenadata/ADQM-970
Added a crash log flush to the disk after the unexpected crash.
2023-07-13 10:49:07 +02: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
Lars Eidnes
d891c4c9a2 MaterializedMySQL: Delay disconnection of mysqlxx::Pool::Entry until refcount==0
If Entry::disconnect() is called, it is removed from its pool
and underlying mysqlxx::Connection is disconnected.

Since Entry objects are copyable and some of them could be alive when disconnect() is called
which would lead to undefined behavior.

Suggesting to disconnect it when the last object is being destroyed.
2023-07-12 15:22:19 +02:00
robot-clickhouse
798f31a612 Update version_date.tsv and changelogs after v23.4.6.25-stable 2023-07-12 12:36:57 +00:00
Raúl Marín
09a6472874
Merge branch 'master' into async_to_query_log 2023-07-12 12:26:47 +02:00
robot-clickhouse
881a45ec83 Automatic style fix 2023-07-12 09:26:01 +00:00
Dmitry Novik
b4723ca8df Try to fix report 2023-07-12 09:16:13 +00:00
Dmitry Novik
8133a5960e Update tests/analyzer_integration_broken_tests.txt 2023-07-12 08:51:24 +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
Amos Bird
52246ab5b5
Ignore setting constraints for projection ASTs 2023-07-12 10:34:36 +08: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
Dan Roscigno
7756620f15
Merge branch 'master' into docs-organize-user-profiles 2023-07-11 17:59:48 -04:00
DanRoscigno
46fd88dca4 add session setting 2023-07-11 17:50:52 -04: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
Alexey Gerasimchuck
7b4e7cd203
Merge branch 'master' into ADQM-970 2023-07-12 07:44:54 +10: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
DanRoscigno
6086787957 add overview 2023-07-11 16:59:16 -04:00
Dmitry Kardymon
fdcf434b43 Merge remote-tracking branch 'origin/master' into ADQM-974 2023-07-11 19:57:43 +00: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
HarryLeeIBM
1b403ab3e6 Fix crc32(WeakHash) issue for s390x 2023-07-11 14:15:33 -04: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
Dmitry Kardymon
2eccead2d4 Fix const(Nullable) case, add test 2023-07-11 16:27:28 +00: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