Maksim Kita
e66735e21e
Fixed style check
2021-10-15 18:55:28 +03:00
Maksim Kita
c9638bacbf
Added HashedArray dictionary
2021-10-15 18:53:17 +03:00
Maksim Kita
7beaeb8b13
Merge branch 'master' into indexcache
2021-10-15 12:59:09 +03:00
Maksim Kita
27fdeef4b6
Merge pull request #29650 from kitaisreal/add-default-database-visitor-support-dict-get
...
AddDefaultDatabaseVisitor support dictGet
2021-10-15 12:28:58 +03:00
Maksim Kita
8d9f593a61
Merge pull request #30217 from azat/fix-clang-tidy-json
...
Fix clang-tidy warnings in FunctionsJSON code
2021-10-15 12:27:24 +03:00
Azat Khuzhin
07adc847db
Fix clang-tidy warnings in FunctionsJSON code
2021-10-15 10:11:03 +03:00
Azat Khuzhin
a063097fdf
Fix INSERT SELECT incorrectly fills MATERIALIZED column based of Nullable column
...
Required columns of the default expression should not be converted to NULL,
since this map value to default and MATERIALIZED values will not work.
Consider the following structure:
- A Nullable(Int64)
- X Int64 materialized coalesce(A, -1)
With recursive_null_as_default=true you will get:
_CAST(coalesce(A, -1), 'Int64') AS X, NULL AS A
And this will ignore default expression.
Fixes : #23524 (Cc: @kssenii)
Fixes : #29729 (Cc: @tavplubix)
Backport: 21.7+
2021-10-15 01:36:09 +03:00
alexey-milovidov
bc1662b9fe
Merge pull request #29946 from azat/log-fix-data-race
...
Fix data-race between LogSink::writeMarks() and LogSource in StorageLog
2021-10-15 01:30:58 +03:00
alexey-milovidov
8d694cbcdc
Merge pull request #29959 from azat/log-data-race-file-checker-fix
...
Fix possible data-race between FileChecker and StorageLog/StorageStripeLog
2021-10-15 01:30:23 +03:00
Maksim Kita
5b5ba5fbc8
Merge pull request #30179 from kitaisreal/clickhouse-local-support-sql-user-defined-functions
...
Support SQL user defined functions for clickhouse-local
2021-10-14 23:14:18 +03:00
Maksim Kita
888c619472
Merge pull request #30145 from kitaisreal/functions-json-avoid-copying-object-element-during-iteration
...
FunctionsJSON avoid copying object element during iteration
2021-10-14 23:11:16 +03:00
Maksim Kita
5568461acf
FunctionsJSON move to cpp file
2021-10-14 23:10:53 +03:00
Maksim Kita
913a8f3640
Fixed style check
2021-10-14 22:15:21 +03:00
Maksim Kita
83879415b4
Fixed tests
2021-10-14 22:12:06 +03:00
Nikolai Kochetov
6b251ddd97
Merge pull request #30193 from ClickHouse/try-to-fix-01288_shard_max_network_bandwidth
...
Smaller smoothing window in throttler.
2021-10-14 22:10:37 +03:00
Nikolai Kochetov
e9cab3aaad
Smaller smoothing window in throttler.
2021-10-14 21:20:19 +03:00
Maksim Kita
04e07ed86d
FunctionsJSON avoid copying object element during iteration
2021-10-14 16:37:52 +03:00
Maksim Kita
c1f04452de
AddDefaultDatabaseVisitor support dictGet
2021-10-14 16:31:32 +03:00
tavplubix
746964af88
Merge pull request #30084 from vitlibar/fix-external-loader-without-extra-mutex
...
Fix ExternalLoader without additional mutex.
2021-10-14 16:18:17 +03:00
Maksim Kita
fbaa9e7be4
Support SQL user defined functions for clickhouse-local
2021-10-14 16:15:39 +03:00
Maksim Kita
4ed28d8e52
Merge pull request #29981 from kitaisreal/added-function-tokens
...
Added function tokens
2021-10-14 15:36:06 +03:00
Anton Popov
6c1da023f7
Merge pull request #30142 from kitaisreal/polygon-dictionary-support-read
...
Polygon dictionary support read
2021-10-14 15:03:10 +03:00
Anton Popov
5802037f1e
Merge pull request #29916 from ucasfl/format-alter
...
Format improvement of AlterQuery
2021-10-14 14:30:08 +03:00
Maksim Kita
8ed4e73705
Merge pull request #30000 from ClickHouse/profile-snapshot
...
Make read of Counters snapshot non-atomic
2021-10-14 13:22:44 +03:00
Maksim Kita
562c8984a4
Added documentation
2021-10-14 13:15:45 +03:00
Maksim Kita
6c6dd7a0c8
Merge pull request #30056 from orloffv/orloffv.JSONExtractKeys
...
Add JSONExtractKeys function
2021-10-14 12:50:19 +03:00
Nikolai Kochetov
3d3e143c29
Merge pull request #30001 from ClickHouse/remove-streams-from-formats
...
Remove streams from formats.
2021-10-14 12:39:07 +03:00
Maksim Kita
f589084a94
Merge pull request #29899 from Enmk/Governance/dictionary_comment
...
Governance/dictionary comment
2021-10-14 12:35:10 +03:00
Maksim Kita
8d544a55b7
Merge pull request #30075 from kitaisreal/sql-user-defined-functions-fix-alias
...
SQL user defined functions fix alias
2021-10-14 11:15:32 +03:00
Maksim Kita
659a46a972
WriteBufferToRabbitMQProduced fixed queue usage
2021-10-14 00:33:18 +03:00
Maksim Kita
35f2d914dc
Fixed build
2021-10-14 00:33:18 +03:00
Maksim Kita
3d2e1a24d9
Fixed tests
2021-10-14 00:33:18 +03:00
Maksim Kita
201523f4e6
Fixed build
2021-10-14 00:33:18 +03:00
Maksim Kita
c6eece5a03
Fixed tests
2021-10-14 00:33:18 +03:00
Maksim Kita
46ba649821
Fixed tests
2021-10-14 00:33:18 +03:00
Maksim Kita
04047f76c7
Fixed tests
2021-10-14 00:33:18 +03:00
Maksim Kita
d55561422f
Fixed tests
2021-10-14 00:33:18 +03:00
Maksim Kita
aae409b321
Fixed tests
2021-10-14 00:33:18 +03:00
Maksim Kita
afdc2fe50d
Fixed tests
2021-10-14 00:33:18 +03:00
Maksim Kita
c9b6c2661b
Refactor ConcurrentBoundedQueue
2021-10-14 00:33:18 +03:00
Azat Khuzhin
eba6410fd5
Fix data-race between LogSink::writeMarks() and LogSource::readData() in StorageLog
...
CI founds [1], TSan report:
WARNING: ThreadSanitizer: data race (pid=497)
Write of size 8 at 0x7b1c00e4e8d8 by thread T922:
4 DB::LogSink::writeMarks() obj-x86_64-linux-gnu/../src/Storages/StorageLog.cpp:462:72 (clickhouse+0x1665cdaa)
5 DB::LogSink::consume() obj-x86_64-linux-gnu/../src/Storages/StorageLog.cpp:324:5 (clickhouse+0x1665c216)
Previous read of size 8 at 0x7b1c00e4e8d8 by thread T711:
1 DB::LogSource::readData()::$_0::operator()(bool) const::'lambda'()::operator()() const obj-x86_64-linux-gnu/../src/Storages/StorageLog.cpp:188:26 (clickhouse+0x16661baf)
9 DB::LogSource::readData() obj-x86_64-linux-gnu/../src/Storages/StorageLog.cpp:204:20 (clickhouse+0x1665bbcb)
[1]: https://clickhouse-test-reports.s3.yandex.net/29930/4bc90d1dd7dbd4b8a9b6920d00ca24e8b160358e/stress_test_(thread).html#fail1
Fixes : #29470
v2: rework locking, but this produce deadlock for 01499_log_deadlock test
v3: introduce per-file marks mutex
2021-10-14 00:17:45 +03:00
Azat Khuzhin
e4db862d85
Fix possible data-race between FileChecker and StorageLog/StorageStripeLog
2021-10-14 00:16:58 +03:00
Maksim Kita
58728fe78f
Fixed tests
2021-10-14 00:08:43 +03:00
Maksim Kita
66f2163b60
Added function tokens
2021-10-14 00:08:15 +03:00
mergify[bot]
c3a0abc430
Merge branch 'master' into profile-snapshot
2021-10-13 18:44:57 +00:00
Nikolai Kochetov
b24b458df7
Update HTTPDictionarySource.cpp
2021-10-13 20:13:30 +03:00
Maksim Kita
d1a184c500
Fixed style check
2021-10-13 19:37:16 +03:00
Maksim Kita
5802213722
PolygonDictionary support read method
2021-10-13 19:31:59 +03:00
alesapin
f1ccb88f3f
Merge pull request #29999 from ClickHouse/use_dns_cache_for_s3_in_most_cases
...
Cache DNS in Poco handler for S3 if no proxy specified
2021-10-13 18:09:52 +03:00
Nikolai Kochetov
49ac602ee6
Fix GRPC
2021-10-13 15:06:56 +03:00