Alexey Milovidov
2db25df706
Merge branch 'master' into geodist-less-wrong
2019-12-09 18:42:37 +03:00
alesapin
642ce2d751
Fix escaping and add string expressions support
2019-12-09 17:05:58 +03:00
Pavel Kovalenko
971c48e1cf
AWS SDK integration - fixed test with remote host filter.
2019-12-09 15:05:16 +03:00
alexey-milovidov
9106b2854a
Merge pull request #8084 from azat/read-temporary-tables-on-failure
...
Read temporary tables on failure to avoid interpreting that bits as query
2019-12-09 13:49:09 +03:00
alexey-milovidov
79215bd029
Merge pull request #8025 from excitoon/patch-2
...
Added `-D LINKER_NAME=lld` to instruction to sanitizers.
2019-12-09 04:56:17 +03:00
alexey-milovidov
4aa6b61859
Update sanitizers.md
2019-12-09 04:55:58 +03:00
alexey-milovidov
624be3679b
Merge branch 'master' into mysql
2019-12-09 04:53:30 +03:00
alexey-milovidov
abb823af7f
Merge pull request #8079 from yurriy/mysql-types-test
...
Fixed Float64 conversion in MySQL protocol
2019-12-09 04:32:22 +03:00
alexey-milovidov
a3c6402e8b
Added perf test for collations ( #8087 )
2019-12-09 04:23:58 +03:00
Alexey Milovidov
2afdb4f6a8
Added a test
2019-12-09 03:20:34 +03:00
Alexey Milovidov
4f3e7427e8
Fixed error in perf test
2019-12-09 01:41:45 +03:00
Alexey Milovidov
eca601239f
Removed a test with typo in its name
2019-12-09 00:37:04 +03:00
alexey-milovidov
a7f5ac7099
Merge pull request #8081 from errx/master
...
Added new function JSONExtractArrayRaw
2019-12-08 23:52:56 +03:00
alexey-milovidov
16754bfff5
Merge pull request #8043 from excitoon-favorites/systemmergespaths
...
Added information about paths to `system.merges`.
2019-12-08 23:30:39 +03:00
Azat Khuzhin
7b4fcc5fc5
Read temporary tables on failure to avoid interpreting that bits as query
...
Before this patch if the query failes (due to "Too many simultaneous
queries" for example) it will not read external tables info, and the
next request will interpret them as the query beginning at got:
DB::Exception: Unknown packet 11861 from client
v2: reordering in the executeQuery() is not enough, since the query
can fail in other places, before, i.e. quotas
v3: I cannot make non-intergration test (since there is no ability to
receive "Unknown packet" via client, only from the server log),
hence added one
2019-12-08 23:26:43 +03:00
Oleg Matrokhin
36303a82f7
add tests
2019-12-08 17:24:37 +03:00
alesapin
af7b8f9274
Merge pull request #8051 from ClickHouse/fix_collations_behaviour
...
Fix several bugs with collations.
2019-12-08 11:10:23 +03:00
Yuriy
e0796261aa
mysql protocol: fixed Float32 conversion and added types test
2019-12-08 08:40:08 +03:00
Vladimir Chebotarev
bb0de2509a
Fixed test_system_merges/test.py::test_mutation_simple[replicated]
test.
2019-12-07 22:23:25 +03:00
Vladimir Chebotarev
c60493fe72
Fixed test_system_merges/test.py::test_merge_simple[replicated]
test.
2019-12-07 22:02:01 +03:00
Vladimir Chebotarev
ed2ec2d15d
Fixed test_system_merges
to correctly check replicated node set.
2019-12-07 13:35:13 +03:00
Vladimir Chebotarev
1513e5a854
Added replicated tests for system.merges
.
2019-12-07 13:15:01 +03:00
Vladimir Chebotarev
b64b2cff09
Added simple non-replicated tests for system.merges
.
2019-12-07 11:40:49 +03:00
alesapin
5b828a6cbf
Better test
2019-12-07 01:25:14 +03:00
alesapin
3881a85c39
Review fixes
2019-12-07 01:22:12 +03:00
Mikhail Korotov
688ca7bfde
performance test added
2019-12-06 21:10:03 +03:00
Mikhail Korotov
f63fe65e53
Simple tests added
2019-12-06 20:23:41 +03:00
Mikhail Korotov
cb05dee547
Merge branch 'master' into hashes_from_values_of_UUID_type
2019-12-06 18:24:41 +03:00
Pavel Kovalenko
dbcc06cc80
Removed CH docker image building in tests.
2019-12-06 17:57:43 +03:00
Pavel Kovalenko
c840fdefc0
Merge branch 'master' into aws-s3-sdk-integration
...
# Conflicts:
# dbms/src/Common/ErrorCodes.cpp
# dbms/src/IO/ReadBufferFromS3.cpp
# dbms/src/IO/ReadBufferFromS3.h
# dbms/src/IO/WriteBufferFromS3.cpp
# dbms/src/IO/WriteBufferFromS3.h
# dbms/src/Storages/StorageS3.cpp
2019-12-06 17:52:29 +03:00
alexey-milovidov
3d279499d0
Merge pull request #7632 from hczhcz/patch-2
...
Allow relative user_files_path
2019-12-06 17:44:18 +03:00
Nikolai Kochetov
a73975d6a3
Merge pull request #8063 from Akazz/tests/better_server_pid_detection
...
Improved getting ClickHouse server pid in clickhouse-test
2019-12-06 16:26:47 +03:00
Alexander Kazakov
faedac0b95
Rewrite command line for getting server pid
2019-12-06 13:58:46 +03:00
Nikita Mikhaylov
34d20a0ef4
updating test after resolving conflicts
2019-12-06 13:17:51 +03:00
Nikita Mikhaylov
6fc5248a27
Merge branch 'master' into limit_with_ties
2019-12-06 13:16:54 +03:00
alesapin
de6cd490ef
Merge pull request #8037 from vitlibar/system-reload-dictionary-causes-complete-reloading
...
SYSTEM RELOAD DICTIONARY reloads a dictionary completely
2019-12-06 12:55:41 +03:00
Yuriy
5237e3c059
better exception text
2019-12-06 04:42:12 +03:00
Yuriy
6c8e2d8b85
fixed getting double SHA1 in mysql_native_password auth plugin
2019-12-06 04:35:49 +03:00
Yuriy
e91d4722a4
fixed occasional federated server test failures
2019-12-06 04:35:49 +03:00
Vitaly Baranov
2133492598
Merge pull request #7257 from vitlibar/RBAC-2
...
RBAC-2
2019-12-06 03:19:39 +03:00
Nikita Mikhaylov
88027947a1
update test after resolving conflicts
2019-12-05 21:59:30 +03:00
Nikita Mikhaylov
4946409a78
Merge branch 'master' into limit_with_ties
2019-12-05 21:58:47 +03:00
Nikita Mikhaylov
de2d996063
Merge pull request #7786 from nikitamikhaylov/incorrect_count
...
Incorrect count() with condition query result for SummingMergeTree.
2019-12-05 21:56:54 +03:00
Nikita Mikhaylov
5e60e0661f
delete useless reference
2019-12-05 21:54:18 +03:00
Nikita Mikhaylov
826a675974
delete useless reference
2019-12-05 21:53:44 +03:00
Nikita Mikhaylov
7783475aaa
delete useless test
2019-12-05 21:53:26 +03:00
alesapin
6afafef86c
Merge pull request #8047 from ClickHouse/fix_check_query_again
...
Fix bug in checkDataPart
2019-12-05 21:31:36 +03:00
Vitaly Baranov
6306e2ab91
Add DCL to manage quotas.
2019-12-05 21:03:57 +03:00
Vitaly Baranov
ae29628779
Add an integration test for quotas.
2019-12-05 21:03:57 +03:00
Vitaly Baranov
4d784d6f44
Add test.
2019-12-05 20:07:33 +03:00
alesapin
772bb0b70b
Fix collation locales
2019-12-05 18:35:09 +03:00
alesapin
227d0ba9d6
Add one more test
2019-12-05 15:39:02 +03:00
alesapin
cd43debd79
Test with non adaptive parts
2019-12-05 15:18:18 +03:00
alesapin
ee46a73d25
Fix bug in checkDataPart when last granule has same number of rows as in .mrk file
2019-12-05 15:01:36 +03:00
Nikolai Kochetov
26e415736a
Merge pull request #7665 from 4ertus2/joins
...
New ANY, SEMI, ANTI JOIN (HashJoin only)
2019-12-05 14:38:20 +03:00
Mikhail Korotov
88e37020e0
JSONCompactEachRow and JSONCompactEachRowWithNamesAndTypes ( #7841 )
...
* Research commit
* Created Output EachRow Format
* Fixed bugs
* Created output format JSONCompactEachRowWithNamesAndTypes without totals
* Fixed bugs
* Fixed bugs
* Totals for JSONCompactEachRowWithNamesAndTypes
* Deleted needless debug
* Working commit
* Working commit
* Working commit
* Working commit
* Working commit
* Working commit
* Working commit
* Working commit
* Working commit
* Working commit
* Working commit
* Working commit
* Tests added
* Input Format for JSONCompactEachRow
* Fixed bugs for JSONCompactEachRow Input format
* Fixed bugs for JSONCompactEachRowRowInputFormat.cpp
* JSONCompactEachRow and JSONCompactEachRowWithNamesAndTypes united
* Created input format for both formats
* fixed bugs
* fixed bugs
* Working commit
* Working commit
* Working commit
* Working commit
* tests
* Working commit
* Final tests
* Performance tests added
2019-12-05 13:13:40 +03:00
Vladimir Chebotarev
73b0315b2f
Added information about lld
to instruction to sanitizers.
2019-12-05 13:08:34 +03:00
Vladimir Chebotarev
b9db05e1fd
Revert "Added -D LINKER_NAME=lld
to instruction to sanitizers."
...
This reverts commit c5a30d39a0
.
2019-12-05 13:04:53 +03:00
Vladimir Chebotarev
60077e2311
Revert "Minor typo was fixed."
...
This reverts commit e436bf140c
.
2019-12-05 13:04:47 +03:00
Nikita Mikhaylov
a3f3a333e2
better test
2019-12-05 12:55:06 +03:00
Nikita Mikhaylov
9d005d1565
true changes
2019-12-05 12:50:42 +03:00
hcz
8a464995e7
Fix
2019-12-05 17:22:00 +08:00
Vitaly Baranov
2cc78413ed
Merge pull request #7914 from azat/dist-send-extra-checksum
...
Add checksum for extra info/query in distributed sends
2019-12-05 11:43:08 +03:00
alesapin
a524e82a7f
Merge pull request #8029 from ClickHouse/fix_dict_partially_update_failover
...
Fix external dictionaries failover, when they have invalidate_query.
2019-12-05 11:12:17 +03:00
chertus
d3d2e39955
fix SEMI RIGHT JOIN
2019-12-04 23:23:07 +03:00
Azat Khuzhin
3a72e1c12a
Add checksum for extra info/query in distributed sends
...
This extras includes:
- server revision
- query settings
- query
Otherwise the code can try to interpret data, and got for instance
std::length_error exception, which is not catched (to mark the part as
broken). Also this will protect from the corruptions on disk.
And add a simple test, since dbms/tests/integration/test_insert_into_distributed too complex.
Also simplify the code by using readStringBinary() over
readVarUInt()+b.readStrict() (this also gains additional checks that
string is not bigger then 1GB).
Refs: #4852 (8ef7f3589a
)
v2: avoid ABI breakage (suggested by @vitlibar)
v3: minor code fixes (suggested by @vitlibar) and as a consequence clang-8 build fix
v4: drop DBMS_MIN_REVISION_WITH_EXTRAS_CHECKSUM_IN_DIST_BATCH and also
revert some renames to make the patch cleaner
2019-12-04 22:54:38 +03:00
alesapin
172bbb1a2f
Fix flappy test, because dictionaries are loaded lazily
2019-12-04 21:30:47 +03:00
alesapin
3128b62f0e
Create dictionary if not exists
2019-12-04 18:11:36 +03:00
alesapin
a41764cccc
Reload dictionary with invalidate query if it has exception
2019-12-04 17:45:56 +03:00
alesapin
ce05cea192
Add sleep for test
2019-12-04 17:22:49 +03:00
alesapin
711fb5e667
Added tests for external dictionary invalidate query failover
2019-12-04 16:53:05 +03:00
Vladimir Chebotarev
e436bf140c
Minor typo was fixed.
2019-12-04 12:47:51 +03:00
Vladimir Chebotarev
c5a30d39a0
Added -D LINKER_NAME=lld
to instruction to sanitizers.
2019-12-04 12:46:39 +03:00
alesapin
ace44e0717
Add test for incorrect settings
2019-12-04 12:34:05 +03:00
alesapin
f0e9715f10
Fix test
2019-12-03 20:36:02 +03:00
alesapin
2a43daec5c
Buildable code
2019-12-03 20:15:16 +03:00
alesapin
20e4e92c49
Fix some conflicts
2019-12-03 19:32:41 +03:00
Pavel Kovalenko
a9e2327ec0
AWS S3 SDK integration.
2019-12-03 19:23:24 +03:00
CurtizJ
828f3ac3b2
add perf test for function and
2019-12-03 16:28:07 +03:00
alesapin
54088db46a
Merge pull request #8001 from ClickHouse/add_time_to_func_tests
...
Added argument --print-time to tests.
2019-12-03 15:38:11 +03:00
alexey-milovidov
f09c29a2b6
Merge pull request #7992 from ClickHouse/excitoon-favorites-s3auth
...
Merging #7623
2019-12-03 15:21:12 +03:00
Nikolai Kochetov
f2ff3b3ddd
Added argument --print-time to tests.
2019-12-03 12:59:41 +03:00
alexey-milovidov
0c904f1484
Merge pull request #7721 from 4ertus2/decimal
...
Basic GatherUtils support for Decimals
2019-12-03 05:15:38 +03:00
alexey-milovidov
0734d4695b
Merge pull request #7724 from 4ertus2/some
...
Missing array functions for Decimals
2019-12-03 05:14:33 +03:00
alexey-milovidov
812df3aef3
Merge pull request #7755 from nikitamikhaylov/storage_set
...
Using the Set engine happen Exception: Method read is not supported by storage Set
2019-12-03 05:09:47 +03:00
alexey-milovidov
f1d75d9722
Update 01030_storage_set_supports_read.sql
2019-12-03 05:09:33 +03:00
alexey-milovidov
f5e88f8cd5
Merge pull request #7307 from ClickHouse/new-branch-for-new-geodist
...
Speed up greatCircleDistance function with test
2019-12-03 04:34:35 +03:00
alexey-milovidov
edede563c9
Merge pull request #7747 from hczhcz/patch-1113
...
Fix empty array handling in arraySplit
2019-12-03 04:00:31 +03:00
Alexey Milovidov
d70b73f033
Merge branch 's3auth' of https://github.com/excitoon-favorites/ClickHouse into excitoon-favorites-s3auth
2019-12-03 03:06:01 +03:00
Alexey Milovidov
9d099bde8e
Merge branch 'master' into fix_check_table_with_empty_pk
2019-12-03 02:36:21 +03:00
alexey-milovidov
3355492f02
Merge pull request #7983 from ClickHouse/fix_dictionary_lifetime
...
Fix bug with minimal dictionary lifetime equals zero
2019-12-03 02:32:38 +03:00
alexey-milovidov
7af2dc34d2
Merge pull request #7990 from ClickHouse/filimonov-lc_empty_part_bug
...
Merging #7985
2019-12-03 02:26:44 +03:00
Alexey Milovidov
166e9e414c
Fixed bad test
2019-12-03 02:26:15 +03:00
Alexey Milovidov
07d7fd413f
Fixed bad test
2019-12-03 02:25:08 +03:00
alexey-milovidov
43c47bdb55
Merge pull request #7717 from MaxFedotov/support_mysql_federated
...
support clickhouse as mysql federated server
2019-12-03 02:21:35 +03:00
Alexey Milovidov
58c40dc234
Merge branch 'master' of github.com:yandex/ClickHouse into filimonov-lc_empty_part_bug
2019-12-03 02:14:35 +03:00
alexey-milovidov
8338be47dd
Merge pull request #7975 from yurriy/mysql-protocol-text
...
Support more column types in MySQL compatibility server
2019-12-03 02:08:24 +03:00
Alexey Milovidov
272715cb71
Merge branch 'lc_empty_part_bug' of https://github.com/filimonov/ClickHouse into filimonov-lc_empty_part_bug
2019-12-03 01:58:41 +03:00
alexey-milovidov
bd72b570a3
Update 01035_lc_empty_part_bug.sql
2019-12-03 01:56:37 +03:00
chertus
a179c5025f
Merge branch 'master' into joins
2019-12-02 21:08:39 +03:00