Commit Graph

86946 Commits

Author SHA1 Message Date
Kruglov Pavel
cd77f927b6
Fix putting logs into test_output 2022-04-20 15:06:09 +02:00
Azat Khuzhin
c6ffec1fec Fix "Cannot find column" error for distributed queries with LIMIT BY
Consider the following example:

    SELECT k FROM (SELECT materialize('foo') AS k, -1 AS v) ORDER BY abs(v) AS _v ASC LIMIT 1 BY k

The problem here is that in case of query has LIMIT BY for
WithMergeableState* (which is the final state on the remote shard for
distributd queries) it returns the following columns:
- k
- v

While it should return:
- k
- abs(v)

So as query w/o LIMIT BY, so that initiator will be able to do the sorting

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 15:23:24 +03:00
KinderRiven
137a1a3392 fix bug for local cache 2022-04-20 20:22:33 +08:00
KinderRiven
59d56b6391 resubmit 2022-04-20 20:10:31 +08:00
larryluogit
46a9226bf6
Merge branch 'ClickHouse:master' into feature-password 2022-04-20 07:57:21 -04:00
Kruglov Pavel
5801de7f72
Merge pull request #36254 from Avogar/improve-client
Send both stdin data and data from query/data from infile in client
2022-04-20 13:55:04 +02:00
Kruglov Pavel
6bcdf21801
Fix stress test 2022-04-20 13:53:16 +02:00
KinderRiven
910c4a6660 fix bug for local cache 2022-04-20 19:49:04 +08:00
KinderRiven
b91f18033c fix bug for local cache 2022-04-20 19:43:07 +08:00
Robert Schulze
7550d9b281
Fix build 2022-04-20 13:34:17 +02:00
Kseniia Sumarokova
70100dbd8d
Update MongoDBSource.cpp 2022-04-20 13:18:11 +02:00
李扬
a1e54c3918
Fix wrong result of datetime64 when negative (#35440) 2022-04-20 13:11:31 +02:00
Rajkumar
419970cc1c moved class definition to header 2022-04-20 04:05:23 -07:00
Rajkumar
16a3e9cb2d updated unit test case 2022-04-20 03:29:58 -07:00
Antonio Andelic
d77678d1d1
Merge pull request #36410 from xinhuitian/move_down_data_range_construction
Move down data_range construction in filterMarksUsingIndex and filterMarksUsingMergedIndex
2022-04-20 12:18:05 +02:00
Suzy Wang
59f0e83c4b
fix clang tidy warning, add nullptr check (#35540)
update passing reference instead of pointer in queryHasWithClause based on recommandation

Co-authored-by: larryluogit <larry.luo@ca.ibm.com>
2022-04-20 11:26:44 +02:00
kssenii
b1d699aea1 Fix test 2022-04-20 11:24:59 +02:00
mergify[bot]
9e0cc9606b
Merge branch 'master' into tavplubix-patch-1 2022-04-20 09:05:21 +00:00
tavplubix
2c54381520
Merge pull request #36200 from ClickHouse/fix_create_as_replicated_default_args
Fix CREATE AS for ReplicatedMergeTree with default arguments
2022-04-20 12:01:13 +03:00
Mikhail f. Shiryaev
1e9d80a9c2
Merge pull request #36297 from ClickHouse/docs-staging
Docs staging
2022-04-20 10:47:54 +02:00
kssenii
5fc4aaaa2d Better 2022-04-20 10:42:07 +02:00
Robert Schulze
b24ca8de52
Fix various clang-tidy warnings
When I tried to add cool new clang-tidy 14 warnings, I noticed that the
current clang-tidy settings already produce a ton of warnings. This
commit addresses many of these. Almost all of them were non-critical,
i.e. C vs. C++ style casts.
2022-04-20 10:29:05 +02:00
Kseniia Sumarokova
f37812f89a
Merge pull request #36079 from kssenii/change-hashed-path
Change hashed path for cache
2022-04-20 10:27:44 +02:00
Mikhail f. Shiryaev
462a28a2e6
Remove innecessary requirement 2022-04-20 10:24:12 +02:00
Kseniia Sumarokova
766a84e64f
Merge pull request #35915 from kssenii/better-s3-settings
Better settings configuration for s3
2022-04-20 10:22:06 +02:00
Antonio Andelic
f0774ca9ee
Merge pull request #36393 from tcoyvwac/fix/prefer-standard-algorithms-std-transform-storages
Minor refactor to prefer C++ Standard Algorithms
2022-04-20 08:42:54 +02:00
Antonio Andelic
bbb0be6a44
Merge pull request #36402 from rschu1ze/clang-tidy-contains
Activate clang-tidy warning "readability-container-contains"
2022-04-20 08:15:46 +02:00
Yakov Olkhovskiy
f6a7b6c2a1
Merge pull request #36352 from awakeljw/fork_chmaster
Possible range issues in automatic assigned enums, also fix error message.
2022-04-19 23:34:35 -04:00
Yakov Olkhovskiy
389cc4b17b
Update enum.md
automatic assigned enums for ru is added
2022-04-19 23:33:04 -04:00
Yakov Olkhovskiy
58a3ce78e9
Update enum.md
some corrections
2022-04-19 23:31:23 -04:00
xinhuitian
7792f22665 try to restart ci 2022-04-20 11:06:18 +08:00
Larry Luo
cfbdb32901 Merge branch 'feature-password' of github.com:DevTeamBK/ClickHouse into feature-password 2022-04-19 21:46:06 -04:00
Larry Luo
ed7eb988d8 Addressed build warnings. 2022-04-19 21:45:30 -04:00
rfraposa
3642977fc8 Force the workflow action 2022-04-19 17:07:14 -06:00
Mikhail f. Shiryaev
8e2874328f
Prepare docs_check.py to be used in docs-clickhouse 2022-04-19 23:35:39 +02:00
Mikhail f. Shiryaev
222e17e2a2
Try build docs on aarch64 2022-04-19 22:36:49 +02:00
Rich Raposa
5d44e2d416
Merge pull request #36436 from ClickHouse/docs-staging-rich
Update _category_.yml
2022-04-19 14:09:40 -06:00
rfraposa
05341d7bd6 Update _category_.yml 2022-04-19 14:08:14 -06:00
Mikhail f. Shiryaev
1ee05116f7
Move symlinks to clickhouse-docs, restore development/index.md 2022-04-19 21:52:21 +02:00
Rich Raposa
59f25bb173
Merge pull request #36435 from ClickHouse/docs-staging-rich
EOL fixes
2022-04-19 13:51:20 -06:00
rfraposa
6576fd88c1 EOL fixes 2022-04-19 13:50:45 -06:00
Kruglov Pavel
894b1b163e
Merge pull request #36055 from helifu/master2
Don't materialize external tables if it's explain statement
2022-04-19 20:26:27 +02:00
Kruglov Pavel
7fb7fc9daa
Merge pull request #36275 from Avogar/fix-insert-select
Place new logic of schema inference in insert select from table function under setting
2022-04-19 20:19:28 +02:00
rfraposa
476122e92a
Fix broken links 2022-04-19 20:17:01 +02:00
Vadim Volodin
97c9ac0531
Fix docs for integration tests (#36426) 2022-04-19 19:42:43 +02:00
Rajkumar
93c7efd581 reverting statless testcases 2022-04-19 10:18:54 -07:00
Azat Khuzhin
f4543f4b4e
Respect library type for contrib libraries (#36399)
The following libraries forces STATIC:
- rockdb
- libstemmer-c
- lemmagen
- mariadb-connector-c

This is a preparation for USE_STATIC_LIBRARIES=OFF

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-19 18:05:42 +02:00
kssenii
2fb331bcec Better 2022-04-19 17:32:46 +02:00
alesapin
fac600830e
Merge pull request #36412 from ClickHouse/pr-info-api-fallback
Fallback to a default event data when API is broken
2022-04-19 17:31:24 +02:00
alesapin
38be34726c
Merge pull request #36413 from ClickHouse/special-build-report
Check a proper number of reports in BuilderSpecialReport
2022-04-19 16:01:25 +02:00