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
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
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
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 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
Dmitry Kardymon
2a7bbf5d48
Merge remote-tracking branch 'origin/master' into Fix-formatDateTime-with-fractional-negative-datetime64
2023-07-11 19:56:22 +00: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
da3de04470
fix
2023-07-11 12:27:23 +00:00
Alexander Gololobov
9757e272b9
Check number of rows in the reader instead
2023-07-11 12:24:16 +02:00
Alexander Gololobov
6d712f595a
Make sure that remote query has non-zero columns
2023-07-11 12:24:16 +02: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
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
Alexey Gerasimchuck
800807c8a2
Merge branch 'master' into ADQM-970
2023-07-11 16:02:31 +10: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
Alexey Gerasimchuck
2c8564e45e
Merge branch 'master' into ADQM-970
2023-07-10 15:53:08 +10: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
Han Fei
4f48d92db4
Merge branch 'master' into revert-51390-revert-50951
2023-07-09 15:16:50 +02:00
robot-clickhouse
96d3060349
Merge pull request #51646 from amosbird/clickhouse_as_library_2
...
Make common macros extendable
2023-07-09 14:42:58 +02:00
Azat Khuzhin
d520413454
Cleanup SymbolIndex after reload got removed
...
Remove MultiVersion for SymbolIndex structure since after #51873 it is
useless.
Follow-up for: #51873
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-09 09:25:11 +02:00
Alexey Milovidov
59eadca95c
Merge branch 'master' into less-logs-2
2023-07-09 08:49:44 +03:00
Alexey Milovidov
612a785fd0
Merge pull request #51674 from ClickHouse/system_jemalloc
...
System table with jemalloc stats
2023-07-09 08:48:05 +03:00
Alexey Milovidov
d2fca36983
Merge branch 'master' into clickhouse_as_library_2
2023-07-09 08:47:53 +03:00
Alexey Milovidov
e74d42fe0d
Merge pull request #51802 from ClickHouse/fix-tsan-thread-local
...
Fix tsan signal-unsafe call
2023-07-09 08:46:00 +03:00
Alexey Milovidov
84600287a6
Merge pull request #50066 from bigo-sg/improve_geohash
...
Allow geoHashEncode when its arguments are mixed with const and non-const columns
2023-07-09 08:44:35 +03:00
robot-ch-test-poll4
8b329e83bd
Merge pull request #51959 from ClickHouse/fixes_for_transactions2
...
Fix some issues with transactions
2023-07-09 06:55:27 +02:00
robot-clickhouse-ci-1
4666838a5d
Merge pull request #49438 from azat/build/unwind
...
Force libunwind usage (removes gcc_eh support)
2023-07-09 05:38:34 +02:00
Alexey Milovidov
3d4800995f
Merge pull request #49732 from nickitat/impr_prefetch
...
Improve reading with prefetch
2023-07-09 06:10:58 +03:00
Alexey Milovidov
e2c8cea381
Merge pull request #51801 from ClickHouse/fix_broken_parts_handling
...
Fix broken parts handling in `ReplicatedMergeTree`
2023-07-09 05:32:51 +03:00
Alexey Milovidov
780a54afb4
Merge pull request #51545 from azat/dist/fix-selector-SIGSEGV
...
Fix SIGSEGV for clusters with zero weight across all shards (fixes INSERT INTO FUNCTION clusterAllReplicas())
2023-07-09 05:31:39 +03:00
Alexey Milovidov
ab93967fb4
Merge pull request #51171 from ClickHouse/retry
...
Decrease default timeouts for S3 and HTTP requests
2023-07-09 03:49:56 +03:00
robot-clickhouse
1343e5cc45
Merge pull request #51853 from kitaisreal/cache-dictionary-request-only-unique-keys-from-source
...
CacheDictionary request only unique keys from source
2023-07-08 20:58:16 +02:00
Azat Khuzhin
a10aa9ad50
Force libunwind usage (removes gcc_eh support)
...
libunwind is reentrant and signal safe, and works faster then then
gcc_eh (plus it has some custom patches for problems that have been
found during it's usage in ClickHouse).
gcc_eh may be missing in the system (if gcc was not installed), and
even if it exists clickhouse uses -nodefaultlibs, so some care should be
made to make it work.
Also this library is tiny and there shouln't be any problem to require
it always (there is already tendency to require some contrib libraries,
i.e. poco).
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-08 20:55:50 +02:00
Alexey Milovidov
5d385f5f14
Merge pull request #51881 from qoega/per-column-pk-syntax
...
Add support for PRIMARY KEY syntax in column definition
2023-07-08 21:52:29 +03:00
Alexey Milovidov
2a8c7d0ea2
Update src/Parsers/ParserCreateQuery.cpp
...
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2023-07-08 21:52:19 +03:00