alesapin
813a6e991c
Remove wait_for_mutation from test
2020-09-15 18:16:29 +03:00
zhang2014
30352f096d
Init buffer in constructor
2020-09-15 22:59:21 +08:00
zhang2014
9c329996ff
Revert param name in header file
2020-09-15 22:56:57 +08:00
alesapin
6130cd7365
More stable test_no_ttl_merges_in_busy_pool
2020-09-15 17:53:55 +03:00
zhang2014
1c659de8b1
ISSUES-14809 fix MaterializeMySQL empty transaction test failure
2020-09-15 22:44:18 +08:00
zhang2014
fb92c56beb
Fix bad and nice buffer size
2020-09-15 22:22:23 +08:00
Denis Zhuravlev
c4a90a9bc9
Update ext-dict-functions.md
2020-09-15 11:15:30 -03:00
Denis Zhuravlev
8ed698e1dc
Update ext-dict-functions.md
2020-09-15 11:14:51 -03:00
Denis Zhuravlev
11fb255155
Update ext-dict-functions.md
2020-09-15 11:11:34 -03:00
zhang2014
84c68947b9
Add test for MySQLBinlogReadBuffer
2020-09-15 22:07:03 +08:00
Nikolai Kochetov
69b02c7500
Remove space.
2020-09-15 16:35:04 +03:00
alesapin
e20c54998c
Better exception on non physical columns
2020-09-15 16:29:11 +03:00
zhang2014
c517df0b1a
Merge branch 'master' into fix/mysql_protocol_parser
2020-09-15 20:29:27 +08:00
zhang2014
106e05ab2f
Try fix mysql protocol parse failure
2020-09-15 20:28:42 +08:00
alesapin
7fc09b930e
Clang 11 in binary build
2020-09-15 15:16:23 +03:00
alexey-milovidov
018f596d21
Merge pull request #14685 from ClickHouse/remap-executable
...
Attempt to make performance test more reliable
2020-09-15 15:09:47 +03:00
alesapin
eaf5e293ad
Move to clang-11 in most CI builds
2020-09-15 14:37:51 +03:00
alesapin
8828a78174
Fix alias on default columns
2020-09-15 14:17:58 +03:00
Nikolai Kochetov
6eac433c55
Review fixes.
2020-09-15 13:40:39 +03:00
Artem Zuikov
1ba67ea8a1
Improve DecimalBinaryOperation specializations ( #14743 )
2020-09-15 13:31:15 +03:00
Nikolai Kochetov
dd4d5bc931
Fix build
2020-09-15 13:10:41 +03:00
Artem Zuikov
51ba12c2c3
Try speedup build ( #14809 )
2020-09-15 12:55:57 +03:00
Nikolai Kochetov
c1f61984e5
Merge pull request #14513 from amosbird/mf1
...
Binary operator monotonicity
2020-09-15 12:45:23 +03:00
Pavel Kovalenko
01ab28a182
Don't throw exception if Distributed storage has multi-volume storage policy configuration.
2020-09-15 12:26:56 +03:00
Nikolai Kochetov
8c2aa7ce8c
Added comment.
2020-09-15 12:22:45 +03:00
tavplubix
1d8ee50769
Merge pull request #14628 from ClickHouse/enable_some_tests_with_database_atomic
...
Enable more tests with Atomic database
2020-09-15 12:13:40 +03:00
Nikolai Kochetov
fe9c451966
Fix build.
2020-09-15 10:20:34 +03:00
alesapin
6f8da7dfdf
Merge branch 'master' into fix_compression_codec_perf
2020-09-15 09:59:45 +03:00
Nikolai Kochetov
2e7da0e2f9
Fix build.
2020-09-15 09:56:49 +03:00
Nikolai Kochetov
c044c040a8
Fix build.
2020-09-15 09:53:14 +03:00
alesapin
a75254766e
Merge pull request #14609 from ClickHouse/update_to_gcc_10
...
Update default build to gcc-10
2020-09-15 09:49:43 +03:00
bharatnc
90e0ef9b70
QueryLog,QueryThreadLOg - better test for query_start_time_microseconds
2020-09-14 20:04:29 -07:00
bharatnc
e4e3105014
Construct query_start_time(_microseconds) from same timespec
2020-09-14 20:04:16 -07:00
Amos Bird
4770175aa3
more tests
2020-09-15 10:02:26 +08:00
Nikolai Kochetov
95ae1105d9
Remove virtual destructors for Visitor.
2020-09-15 02:05:43 +03:00
Vitaly Baranov
0f53b449fd
Add 'params' column to system.user_directories table.
2020-09-15 01:51:53 +03:00
Azat Khuzhin
85b63ecadf
Bump revision manually (to make it compatible with other version from this tag)
...
As @alexey-milovidov wrote.
P.S. I did not use ./utils/release/release_lib.sh (via ./release), since
it is pretty complex (it fetches tags and so on)
The following macros has been updated:
- VERSION_REVISION -- usually bumped with utils/release/release_lib.sh
(interesting that even if there were no changes)
- DBMS_MIN_REVISION_WITH_INTERSERVER_SECRET
- DBMS_TCP_PROTOCOL_VERSION -- does not affect anything, some internal
yandex stuff
2020-09-15 01:36:28 +03:00
Azat Khuzhin
3fb548b3bb
Cluster: use boost::range::remove_erase() over std::erase (c++20)
...
@vitlibar:
"Yandex synchronization check says
src/Interpreters/Cluster.cpp:299:10: error: no member named 'erase' in namespace 'std'
std::erase(config_keys, "secret");
~~~~~^
1 error generated.
Please replace std::erase with boost::range::remove_erase."
"That's quite an unusual build which links ClickHouse with a lot of closed source code and which still can't use most of C++20 features."
2020-09-15 01:36:28 +03:00
Azat Khuzhin
785d1b2a75
OpenSSLHelpers cleanup
...
Add few more specializations for encodeSHA256():
- std::string encodeSHA256(const std::string_view &);
- std::string encodeSHA256(const void *, size_t);
- void encodeSHA256(const void *, size_t, unsigned char *);
2020-09-15 01:36:28 +03:00
Azat Khuzhin
0159c74f21
Secure inter-cluster query execution (with initial_user as current query user) [v3]
...
Add inter-server cluster secret, it is used for Distributed queries
inside cluster, you can configure in the configuration file:
<remote_servers>
<logs>
<shard>
<secret>foobar</secret> <!-- empty -- works as before -->
...
</shard>
</logs>
</remote_servers>
And this will allow clickhouse to make sure that the query was not
faked, and was issued from the node that knows the secret. And since
trust appeared it can use initial_user for query execution, this will
apply correct *_for_user (since with inter-server secret enabled, the
query will be executed from the same user on the shards as on initator,
unlike "default" user w/o it).
v2: Change user to the initial_user for Distributed queries if secret match
v3: Add Protocol::Cluster package
v4: Drop Protocol::Cluster and use plain Protocol::Hello + user marker
v5: Do not use user from Hello for cluster-secure (superfluous)
2020-09-15 01:36:28 +03:00
Azat Khuzhin
ec9d7745f3
Break the query loop on UNEXPECTED_PACKET_FROM_CLIENT
2020-09-15 01:36:28 +03:00
Azat Khuzhin
d53bbd3394
Not only send the exception to the client but also log it
...
Otherwise there will be only tricky "Unknown packet" exception after
exception during handling INSERT queries.
2020-09-15 01:36:28 +03:00
Azat Khuzhin
2fce2b21a8
Use pytest.raises(match=) in test_allowed_client_hosts
...
Since pytest.raises() produces excinfo not exception, hence at least
str(excinfo.value) should be used to match the exception message.
2020-09-15 01:36:28 +03:00
Azat Khuzhin
65e48663e7
Drop policy on start in 01308_row_policy_and_trivial_count_query
2020-09-15 01:36:22 +03:00
Nikolai Kochetov
65a1057aae
Revert "Try simplify Visitor."
...
This reverts commit 9fcfa560ae
.
2020-09-15 00:40:41 +03:00
Nikolai Kochetov
31660ddb4d
Fix build
2020-09-15 00:30:55 +03:00
Nikolai Kochetov
1b618fd130
Fix build
2020-09-14 23:56:56 +03:00
Nikolai Kochetov
9fcfa560ae
Try simplify Visitor.
2020-09-14 23:35:45 +03:00
Nikolai Kochetov
45098f7112
Fix build.
2020-09-14 23:32:38 +03:00
Alexander Tokmakov
da6beb1a91
Merge branch 'master' into enable_some_tests_with_database_atomic
2020-09-14 23:00:14 +03:00