Commit Graph

69562 Commits

Author SHA1 Message Date
alexey-milovidov
63b90bec6c
Merge pull request #27131 from kitaisreal/global-subqueries-visitor-external-storage-check-fix
GlobalSubqueriesVisitor external storage check fix
2021-08-04 03:11:56 +03:00
kssenii
cc2c1b80df Fix tests 2021-08-03 19:47:59 +00:00
alexey-milovidov
dfa597f11d
Update ReadHelpers.h 2021-08-03 22:31:13 +03:00
Maksim Kita
edeeb801c0 Updated readIntTextUnsafe 2021-08-03 21:46:25 +03:00
Malte
1df8a5f57a
Update gui.md
We had some issues figuring out how to use the session settings and hope this helps other folks as well
2021-08-03 14:40:28 -04:00
Anton Popov
699a3d9031 implement legacy_column_name_of_tuple_literal in less intrusive way 2021-08-03 21:03:24 +03:00
alexey-milovidov
5c3bd2980e
Merge pull request #27097 from qoega/update-arrow-5.0.0
Try update arrow
2021-08-03 20:57:26 +03:00
Ilya Yatsishin
30851aee23
Merge pull request #27093 from amosbird/hostnametest
Normalize hostname in stateless tests
2021-08-03 17:58:28 +03:00
Yatsishin Ilya
019a221550 fix unbundled build 2021-08-03 17:29:59 +03:00
Vladimir C
1ebde0278e
Merge pull request #26957 from vdimir/fix-unknown-name-join-rewrite 2021-08-03 17:10:08 +03:00
Artur
f4a59a6abf correct tests 2021-08-03 13:41:58 +00:00
Alexander Tokmakov
ff2572c243 fix 2021-08-03 16:28:03 +03:00
Artur
5c6974736d add newline 2021-08-03 12:52:46 +00:00
Nikita Mikhaylov
c1487fdb80
Merge pull request #27064 from vitlibar/fix-sync-in-grpc-handler
Fix synchronization in GRPCServer
2021-08-03 15:37:58 +03:00
Anton Popov
ad65e3c17b slightly more optimize reading in order of key 2021-08-03 15:32:17 +03:00
Artur
f4275b952e add simple test 2021-08-03 12:31:38 +00:00
Nikita Mikhaylov
6d83eacec4 typo 2021-08-03 12:27:03 +00:00
adevyatova
25a7eee9e1 Merge master 2021-08-03 12:25:51 +00:00
Nikita Mikhaylov
2aea1c8d4a done 2021-08-03 12:24:16 +00:00
Maksim Kita
cb9627255a Fixed tests 2021-08-03 15:16:55 +03:00
adevyatova
d8c112d0c0 Small current fixes 2021-08-03 12:03:10 +00:00
Artur
a9513f3587 add compression for INTO OUTFILE 2021-08-03 11:54:37 +00:00
alexey-milovidov
3184902c68
Update 50_build-issue.md 2021-08-03 14:43:56 +03:00
alexey-milovidov
cd566f0a44
Update 20_feature-request.md 2021-08-03 14:43:26 +03:00
alexey-milovidov
73dd3bd6cc
Update 40_bug-report.md 2021-08-03 14:43:00 +03:00
alexey-milovidov
f9d1598847
Update 10_question.md 2021-08-03 14:42:14 +03:00
mergify[bot]
dc57254982
Merge branch 'master' into improve_create_or_replace 2021-08-03 11:39:07 +00:00
Yatsishin Ilya
06903485d7 Fix build on freebsd 2021-08-03 14:38:29 +03:00
Alexey Boykov
b52250bc0d
Merge pull request #26792 from michon470/kuriatnikovm-DOCSUP-9735-clarification-about-WITH-FILL
DOCSUP-9735: clarification about WITH FILL
2021-08-03 14:32:17 +03:00
Maksim Kita
0dc7da92b4 Added test 2021-08-03 14:24:21 +03:00
Maksim Kita
f4473c5de4 GlobalSubqueriesVisitor external storage check fix 2021-08-03 14:18:47 +03:00
Maksim Kita
d9383270f6
Merge pull request #27054 from MaxWk/feature/add-default-database-to-system-users
add column default_database to system.users
2021-08-03 13:37:15 +03:00
vdimir
cc0c3a9033
Make IJoin::alwaysReturnsEmptySet pure virtual 2021-08-03 12:34:08 +03:00
Amos Bird
4f7e007d35
Specialize date time comparision. 2021-08-03 16:49:39 +08:00
Yatsishin Ilya
7ad4a42003 upadte CMakeLists 2021-08-03 11:27:23 +03:00
Yatsishin Ilya
d6844facaf one more fix 2021-08-03 11:01:01 +03:00
Azat Khuzhin
97851bde08 Fix Distributed over Distributed for WithMergeableStateAfterAggregation* stages
In case if one Distributed has multiple shards, and underlying
Distributed has only one, there can be the case when the query will be
tried to process from Complete to WithMergeableStateAfterAggregation,
which is obviously wrong.
2021-08-03 10:10:08 +03:00
Amos Bird
b541b5eca3
Normalize hostname in CI 2021-08-03 15:00:57 +08:00
Vitaly Baranov
40a3c8281a Fix synchronization in GRPCServer 2021-08-03 09:44:47 +03:00
Kseniia Sumarokova
98326ec028
Merge pull request #19526 from taiyang-li/disk_reload
Enable local disk config reload
2021-08-03 08:37:39 +03:00
Kseniia Sumarokova
5d3abc14c7
Merge pull request #22045 from OmarBazaraa/mongo-ssl
Support SSL connection in MongoDB engine
2021-08-03 08:29:34 +03:00
Maksim Kita
edab45d25f
Merge pull request #27082 from kitaisreal/updated-cache-dictionaries-documentation
Updated cache dictionaries documentation
2021-08-03 02:22:21 +03:00
Maksim Kita
3b4eb2d769 Fixed code review issues 2021-08-03 00:53:43 +03:00
tavplubix
58b50bad3a
Merge pull request #27033 from ClickHouse/database_replicated_fixes
Fix assertions in Replicated database
2021-08-02 23:33:18 +03:00
Nikita Mikhaylov
771bd6be11
Merge pull request #27092 from Algunenano/clear_dns_test
Stateless tests: Keep an DNS error free log
2021-08-02 21:44:15 +03:00
Alexey Boykov
8234ed6ecf
Merge pull request #27084 from evillique/nlp-docs
Improve documentation for NLP functions
2021-08-02 21:08:30 +03:00
Azat Khuzhin
ff12f5102a Avoid running LIMIT BY/DISTINCT step on the initiator for optimize_distributed_group_by_sharding_key
Before the following queries was running LimitBy/Distinct step on the
initator:

  select distinct sharding_key from dist order by k

While this can be omitted.
2021-08-02 21:04:30 +03:00
Azat Khuzhin
c830964240 Cover distributed_push_down_limit for queries w/o sharding expr 2021-08-02 21:04:30 +03:00
Azat Khuzhin
2fb95d9ee0 Rework SELECT from Distributed query stages optimization
Before this patch it wasn't possible to optimize simple SELECT * FROM
dist ORDER BY (w/o GROUP BY and DISTINCT) to more optimal stage
(QueryProcessingStage::WithMergeableStateAfterAggregationAndLimit),
since that code was under
allow_nondeterministic_optimize_skip_unused_shards, rework it and make
it possible.

Also now distributed_push_down_limit is respected for
optimize_distributed_group_by_sharding_key.

Next step will be to enable distributed_push_down_limit by default.

v2: fix detection of aggregates
2021-08-02 21:04:29 +03:00
Azat Khuzhin
bb6d030fb8 Optimize distributed SELECT w/o GROUP BY 2021-08-02 21:04:29 +03:00