Commit Graph

83611 Commits

Author SHA1 Message Date
zhanglistar
03c648e317
Update src/Coordination/KeeperStateMachine.cpp
Co-authored-by: alesapin <alesapin@gmail.com>
2022-02-17 18:15:25 +08:00
alesapin
6df2c9c2d8
Merge pull request #34433 from ClickHouse/s3-fix-content-type
Workaround for bug when AWS mistakenly set Content-Type to XML
2022-02-17 13:11:14 +03:00
Kruglov Pavel
7411178064
Merge pull request #34650 from azat/fix-projection-optimization
Fix allow_experimental_projection_optimization with enable_global_with_statement
2022-02-17 13:09:57 +03:00
alesapin
75366fc95e
Merge pull request #34591 from ClickHouse/memory-overcommit-test
Fix deadlock in OvercommitTracker
2022-02-17 12:17:18 +03:00
Dmitry Novik
c32313b045
Merge branch 'master' into memory-overcommit-test 2022-02-17 00:50:15 -08:00
zhanglistar
cd0f7d5b16 Fix buffer not alloced bug 2022-02-17 16:33:35 +08:00
alesapin
5343b7dcbe
Merge pull request #34663 from ClickHouse/disable-overcommit
Disable memory overcommit if timeout is not set
2022-02-17 11:31:17 +03:00
alesapin
0b099b140f Fix 2022-02-17 10:39:33 +03:00
Vitaly Baranov
a4ef274aa1 Improve restrictive policies without permissive ones: in this case the result filter won't be calculated as False always anymore. 2022-02-17 14:18:15 +07:00
Vitaly Baranov
4b9db33ad7 The command "SHOW CREATE ROW POLICY" now shows "AS permissive" or "AS restrictive" before "TO" clause. 2022-02-17 14:18:15 +07:00
Vitaly Baranov
f4da321dbb SHOW CREATE ROW POLICY now always outputs "AS permissive" or "AS restrictive". 2022-02-17 14:18:15 +07:00
Vitaly Baranov
2de6e8e575 Change type of RowPolicyKind: bool -> enum. 2022-02-17 14:18:10 +07:00
Amos Bird
d3bd8b5f93
Cosmetic fix 2022-02-17 14:31:22 +08:00
Amos Bird
ba19c7cf44
Slightly better interface of compressed buffer 2022-02-17 14:31:22 +08:00
Amos Bird
dc0b4a8f73
Remove useless template 2022-02-17 14:31:21 +08:00
Jianmei Zhang
ef0c3b99ff Merge remote-tracking branch 'upstream/master' 2022-02-17 14:02:27 +08:00
Nikolay Degterinsky
bd2f8958fe
Merge pull request #34672 from cnmade/PR202202170930
sync translate to zh: getting-started/install: stable install
2022-02-17 08:53:46 +03:00
zzsmdfj
1c068f1295 to issue/#31092_add_encodeURLComponent_function 2022-02-17 11:55:06 +08:00
zzsmdfj
6b78da6f02 to issue/#31092_add_encodeURLComponent_function 2022-02-17 11:32:47 +08:00
zhanglistar
7868153098 no std::cerr in KeeperSnapshotManager.h 2022-02-17 10:49:33 +08:00
cnmade
bc48ec4793 sync translate to zh: getting-started/install: stable install
see 2e143719
2022-02-17 10:36:38 +08:00
zhanglistar
f2b2723a3d add buffer alloc and errno 2022-02-17 10:34:22 +08:00
Mikhail f. Shiryaev
2340a6c684
Merge pull request #34659 from ClickHouse/improve-release
Improve the release.py script
2022-02-17 00:53:02 +01:00
Dmitry Novik
371d5e0e2d Disable memory overcommit if timeout is not set 2022-02-16 22:24:09 +00:00
Dmitry Novik
07d0e3c823 cleanup 2022-02-16 20:19:10 +00:00
Dmitry Novik
44d5ddc939 Fix deadlock in OvercommitTracker 2022-02-16 20:02:14 +00:00
Mikhail f. Shiryaev
0c41564b27
Add the rollback command logging on success run 2022-02-16 20:51:28 +01:00
Mikhail f. Shiryaev
015c0ab611
Solve the issue with wrong initial version 2022-02-16 17:46:43 +01:00
Mikhail f. Shiryaev
b2f3a4ccab
Fix issues with labeling 2022-02-16 17:42:44 +01:00
Azat Khuzhin
774744a86d Fix allow_experimental_projection_optimization with enable_global_with_statement
allow_experimental_projection_optimization requires one more
InterpreterSelectQuery, which with enable_global_with_statement will
apply ApplyWithAliasVisitor if the query is not subquery.

But this should not be done for queries from
MergeTreeData::getQueryProcessingStage()/getQueryProcessingStageWithAggregateProjections()
since this will duplicate WITH statements over and over.

This will also fix scalar.xml perf tests, that leads to the following
error now:

    scalar.query0.prewarm0: DB::Exception: Stack size too large.

And since it has very long query in the log, this leads to the following
perf test error:

    _csv.Error: field larger than field limit (131072)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-16 19:14:47 +03:00
Maksim Kita
5373eae076 Updated documenttation 2022-02-16 15:49:27 +00:00
Vladimir C
67a8b55066
rollback 00809_add_days_segfault 2022-02-16 16:38:18 +01:00
Maksim Kita
669b18e037 ExecutableUserDefinedFunctions allow to specify argument names 2022-02-16 15:31:30 +00:00
Mikhail f. Shiryaev
00c8d74878
Reorder Release class 2022-02-16 15:59:51 +01:00
Mikhail f. Shiryaev
799d0bc580
Clean stale remainings, create necessary labels for prestable 2022-02-16 15:56:49 +01:00
vdimir
65452ac089
Fix checkOverflow in FunctionDateOrDateTimeAddInterval 2022-02-16 14:30:37 +00:00
Mikhail f. Shiryaev
3f295f9429
Merge pull request #34644 from ClickHouse/fix-release-ci
Fix release ci
2022-02-16 14:33:55 +01:00
Mikhail f. Shiryaev
6ff37fe5d5
Merge pull request #34646 from ClickHouse/fix-push-to-artifactory
Fix path in ReleaseWorkflow
2022-02-16 14:30:51 +01:00
Mikhail f. Shiryaev
6d4e541a02
Use particular commit id for debug action 2022-02-16 14:14:29 +01:00
Mikhail f. Shiryaev
9ac8ce3f9c
Fix path in ReleaseWorkflow 2022-02-16 14:08:54 +01:00
Mikhail f. Shiryaev
4f84406136
Merge pull request #34641 from ClickHouse/version-and-release
refactor version_helper, create release script
2022-02-16 14:00:55 +01:00
usurai
9fe920500d
Apply suggestions from code review
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2022-02-16 20:58:43 +08:00
Nikolay Degterinsky
78d2ef6b49
Merge pull request #34543 from cnmade/PR202202120505
sync translate to zh: update mergetree.md
2022-02-16 15:34:19 +03:00
Mikhail f. Shiryaev
14a1fa40e7
Fix the issue with ReleaseCI PRInfo 2022-02-16 13:33:10 +01:00
Mikhail f. Shiryaev
c70acc55df
Add debug info global workflow 2022-02-16 13:33:08 +01:00
Maksim Kita
ea970ecbea
Merge pull request #34643 from ClickHouse/evillique-patch-1
Fix link in zh/interfaces/formats.md
2022-02-16 13:30:47 +01:00
Nikolay Degterinsky
cf76b9631b
Fix link in zh/interfaces/formats.md 2022-02-16 15:16:22 +03:00
Nikolay Degterinsky
9e22f0305e
Merge pull request #34625 from cnmade/PR202202161000
Translate zh/sql-reference/statements/alter/view
2022-02-16 14:57:02 +03:00
Maksim Kita
d6e88f56cd
Merge pull request #34623 from CurtizJ/minor-subcolumns-fix
Fix quadratic complexity while adding subcolumns
2022-02-16 12:38:00 +01:00
Nikolay Degterinsky
9e2f065364
Merge pull request #34575 from cnmade/PR202202141400
Translate zh/engines/table-engines/special/distributed: sync translate
2022-02-16 14:22:08 +03:00