Commit Graph

54516 Commits

Author SHA1 Message Date
Vitaly Baranov
9271b3d627 SELECT JOIN now requires the SELECT privilege on each of the joined tables. 2020-12-26 18:35:32 +03:00
Azat Khuzhin
d2818278c5 Update ENABLE_CHECK_HEAVY_BUILDS limits for gcc and MSan 2020-12-26 17:26:50 +03:00
alesapin
e81485653b
Merge pull request #18491 from ClickHouse/add_nuraft
Add NuRaft to contrib
2020-12-26 16:19:05 +03:00
alesapin
f91ea5be4f
Merge pull request #18515 from ClickHouse/more_correct_exception
More correct error code on incorrect interserver protocol
2020-12-26 16:18:20 +03:00
romanzhukov
99b50dbba3 DOCSUP-5043: Fix PR comments. 2020-12-26 16:10:37 +03:00
Anna
51b76f7367 add desc for NULL modifiers 2020-12-26 15:43:09 +03:00
Azat Khuzhin
2c649a990b Increase memory limits for ENABLE_CHECK_HEAVY_BUILDS 2020-12-26 14:50:21 +03:00
Azat Khuzhin
7f65351380 Increase memory limits for ENABLE_CHECK_HEAVY_BUILDS 2020-12-26 12:26:42 +03:00
Azat Khuzhin
4bc039bae7 Use RLIMIT_DATA/RLIMIT_AS over RLIMIT_RSS for ENABLE_CHECK_HEAVY_BUILDS
RLIMIT_RSS does not work since 2.6.x+, from getrlimit(2):

       RLIMIT_RSS
              This  is  a  limit (in bytes) on the process's resident set (the number of virtual pages resident in RAM).  This limit has effect only in Linux 2.4.x, x < 30, and there af‐
              fects only calls to madvise(2) specifying MADV_WILLNEED.

Note that before this patch RSS was to 10MB but I doubt that it is
enough for C++ compiler, this patch uses 1G limit for DATA and 10G for
AS/VIRT (but it seems that even 1G may be too small).

And see also https://code.woboq.org/linux/linux/mm/mmap.c.html#may_expand_vm
2020-12-26 10:37:52 +03:00
alexey-milovidov
eae916315a
Merge pull request #18519 from UnamedRus/patch-1
Docs for table, column, database names passed as parameters.
2020-12-26 10:01:26 +03:00
alexey-milovidov
8eb9788955
Merge pull request #18523 from CurtizJ/fix-cast-to-map
Fix cast to map from tuple of arrays with unequal sizes
2020-12-26 10:00:01 +03:00
alexey-milovidov
00bc167872
Merge pull request #18531 from ClickHouse/update_cctz
Update timezones to 2020e
2020-12-26 09:58:12 +03:00
Nikita Mikhaylov
c3ad122142
Merge pull request #18520 from nikitamikhaylov/fuzz-17876
NaN argument in function 'bar'
2020-12-26 04:32:05 +03:00
Nikita Mikhaylov
7b23b866a2
Merge pull request #18475 from nikitamikhaylov/andyyzh-bitmap64A
Merging #17858
2020-12-26 04:31:49 +03:00
UnamedRus
a087f23af6
Update docs/en/interfaces/cli.md
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2020-12-26 01:46:56 +03:00
UnamedRus
762e757557
Update docs/ru/interfaces/cli.md
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2020-12-26 01:46:47 +03:00
Azat Khuzhin
a3ab429129 Split MemoryTracker header
Allocator.h is included into almost everything (via PODArray.h), so keep
only small part of MemoryTracker.h for it.
2020-12-25 23:49:22 +03:00
Azat Khuzhin
9d64ae2895 Extend BlockerInThread/LockExceptionInThread interface
- Add level for BlockerInThread/LockExceptionInThread to make decisions
  based on the level
- Add block_fault_injections for LockExceptionInThread
2020-12-25 23:49:22 +03:00
Azat Khuzhin
b4c7540436 Fix 01019_Buffer_and_max_memory_usage
Before it does not check what it was intended, since it was too tricky.
2020-12-25 23:49:22 +03:00
alesapin
4b51a401ec Update cctz to 2020e 2020-12-25 23:36:44 +03:00
Nikita Mikhaylov
9a3feb770e
Merge pull request #18399 from gyuton/gyuton-DOCSUP-4967-finalizeAggregation
DOCSUP-4967: Updated finalizeAggregation documentation
2020-12-25 22:55:37 +03:00
alexey-milovidov
230f9b6ad4
Merge pull request #18449 from vladimir-golovchenko/fix-AM-abbreviation-handling-for-parseDateTimeBestEffort
Bug fix '#18402 parseDateTimeBestEffort should not ignore AM abbreviation for 12th hour'
2020-12-25 22:32:43 +03:00
alexey-milovidov
fcacb053db
Merge pull request #18376 from azat/deb-compatibility-levels
bump compatibility level to 10 for debian manifests
2020-12-25 22:28:17 +03:00
alexey-milovidov
849ca482c9
Merge pull request #18458 from spongedu/support_exists_database
support EXISTS DATABASE syntax
2020-12-25 22:28:02 +03:00
alesapin
34e298006d Update to master boost 2020-12-25 22:24:26 +03:00
alexey-milovidov
936653496a
Merge pull request #18488 from traceon/patch-1
Allow AppleClang builds
2020-12-25 21:42:40 +03:00
Anton Popov
11283e3d81 Merge remote-tracking branch 'upstream/master' into HEAD 2020-12-25 21:25:59 +03:00
Nikolai Kochetov
2cfbe056a0 Update test. 2020-12-25 21:08:45 +03:00
Nikolai Kochetov
2f9c5cf745 Update test. 2020-12-25 21:07:03 +03:00
Nikolai Kochetov
f1d433be4c Add min word size. 2020-12-25 21:03:08 +03:00
Nikolai Kochetov
31191d8396 Add min word size. 2020-12-25 20:58:44 +03:00
Alexander Tokmakov
2836936079 fix 2020-12-25 20:43:03 +03:00
Nikolai Kochetov
f8854fed5c Update test. 2020-12-25 20:30:44 +03:00
Nikolai Kochetov
feadf02e20 Update test. 2020-12-25 20:14:10 +03:00
Anton Popov
721bb60edd fix cast to map from tuple of arrays with unequal sizes 2020-12-25 20:12:47 +03:00
Nikolai Kochetov
63de06fa31 Fixing build. 2020-12-25 20:02:19 +03:00
Nikolai Kochetov
b53442e521 Fixing build. 2020-12-25 20:00:42 +03:00
Nikolai Kochetov
2c06a65e1c Fixing build. 2020-12-25 19:56:51 +03:00
Nikolai Kochetov
309b0a860a Fixing build. 2020-12-25 19:55:15 +03:00
alesapin
d204ad7ef1 Fix usage of concurrent bounded queue 2020-12-25 19:54:13 +03:00
Nikolai Kochetov
ba5d2617ff Fixing build. 2020-12-25 19:49:55 +03:00
myrrc
80b96f2c23 Merge remote-tracking branch 'upstream/master' into improvement/multiply-decimals-and-floats 2020-12-25 19:34:26 +03:00
myrrc
e335ba29fc fixing build on gcc 2020-12-25 19:32:59 +03:00
Alexander Tokmakov
42911e2438 implement CREATE OR REPLACE TABLE 2020-12-25 19:32:09 +03:00
Nikolai Kochetov
7e7998f121 Fixing build. 2020-12-25 19:11:05 +03:00
Nikolai Kochetov
281d87a007 Fixing build. 2020-12-25 19:04:55 +03:00
Nikita Mikhaylov
4a87118f02
Update other-functions.md 2020-12-25 19:04:38 +03:00
Nikita Mikhailov
4da4388132 better 2020-12-25 18:59:31 +03:00
Nikita Mikhailov
2239f9b0c6 done 2020-12-25 18:54:38 +03:00
George
b900ddd1c3 fixed description 2020-12-25 18:50:38 +03:00