Commit Graph

55319 Commits

Author SHA1 Message Date
Alexey Milovidov
1572d2122b Respect network_compression_method in async INSERT into Distributed table 2021-01-06 03:41:34 +03:00
Alexey Milovidov
438f0f971b Fix the issue with async Distributed INSERTs and network_compression_method #18741 2021-01-06 03:24:42 +03:00
Alexey Milovidov
d77dfeaafb Arcadia does not support distributed tables 2021-01-06 03:06:19 +03:00
Alexey Milovidov
7547aee66a Add a test 2021-01-06 03:05:45 +03:00
Alexey Milovidov
190402b7d5 Do not insert empty blocks on sync Distributed INSERT 2021-01-06 02:54:22 +03:00
Azat Khuzhin
780b86982a Respect memory tracker blocker level during deallocations
Introduced-in: #17646
2021-01-06 02:44:06 +03:00
Denis Glazachev
a3c253541b Check if XCODE_IDE is true and avoid enforcing ninja in that case 2021-01-06 03:06:03 +04:00
alexey-milovidov
d68fdd8798
Update 01640_marks_corruption_regression.sql 2021-01-06 02:05:02 +03:00
alexey-milovidov
176358f0b4
Merge pull request #18758 from ClickHouse/remove-useless-headers
Remove some headers
2021-01-06 00:34:46 +03:00
Alexey Milovidov
895ec0976b Break query fuzzer even more 2021-01-06 00:34:08 +03:00
Alexey Milovidov
7f074cb491 Remove half of strange code from query fuzzer 2021-01-06 00:20:39 +03:00
Azat Khuzhin
d7fb61dce4 Use sigdescr_np() over sys_siglist (fixes glibc 2.32+ unbundled build)
glibc 2.32 [1]:

- The functions sigabbrev_np and sigdescr_np have been added
- They should be used instead of sys_siglist or sys_sigabbrev and they
  are both thread and async-signal safe. These functions are GNU
  extensions.

  [1]: https://sourceware.org/pipermail/libc-announce/2020/000029.html
2021-01-06 00:17:25 +03:00
Ivan Lezhankin
077ba6a333 Merge remote-tracking branch 'upstream/master' into antlr-test 2021-01-06 00:10:21 +03:00
Alexey Milovidov
8ecbfe701c Miscellaneous 2021-01-05 23:32:42 +03:00
Alexey Milovidov
5573c3b61e Fix error in Fuzzer 2021-01-05 23:32:05 +03:00
Alexey Milovidov
1bd6605373 Remove strange code from Fuzzer 2021-01-05 23:30:00 +03:00
Denis Zhuravlev
d23409da50 more tests for simple aggregate functions in summingMT aggregatingMT 2021-01-05 16:25:35 -04:00
Alexey Milovidov
a06f03b9b3 Query Fuzzer: fix some cultural issues 2021-01-05 23:23:26 +03:00
Alexey Milovidov
f8313a33aa Add test for some possible ambiguities in syntax 2021-01-05 23:10:10 +03:00
Nikolai Kochetov
f955ccecf4 Do not materialize block for FetchColumns header. 2021-01-05 21:04:25 +03:00
alexey-milovidov
202d1f2211
Merge pull request #18760 from spongedu/fix_#18701
[For #18707] MySQL compatibility: support DIV and MOD operators
2021-01-05 20:42:58 +03:00
alexey-milovidov
06143d73ca
Merge pull request #15260 from ClickHouse/revert-15259-revert-14962-log-avoid-deadlock
Avoid deadlocks in Log/TinyLog (part 2)
2021-01-05 20:12:17 +03:00
alexey-milovidov
70d899340e
Update PushingToViewsBlockOutputStream.h 2021-01-05 20:10:12 +03:00
alexey-milovidov
66550d36a3
Merge pull request #18757 from ClickHouse/testflows-disable-flaky-test
Mark some TestFlows as flaky
2021-01-05 20:00:03 +03:00
alexey-milovidov
2d1afa5dad
Merge pull request #18753 from ClickHouse/null-fuzz
Add a test from #15641
2021-01-05 19:58:57 +03:00
alexey-milovidov
7007f53152
Merge pull request #18751 from ClickHouse/more-robust-stateful-test
More robust stateful test
2021-01-05 19:58:35 +03:00
alexey-milovidov
fd27990d96
Merge pull request #18750 from ClickHouse/fix-bad-code-joins
Remove bad code in HashJoin
2021-01-05 19:57:49 +03:00
alexey-milovidov
06225f7910
Merge pull request #18749 from ClickHouse/uuid-fuzz
Don't allow conversion between UUID and numeric types
2021-01-05 19:57:33 +03:00
alexey-milovidov
2e98f6f4ee
Merge pull request #18745 from ClickHouse/dont-throw-from-parser
Do not throw from Parser
2021-01-05 19:57:17 +03:00
alexey-milovidov
2f9a0bfa46
Merge pull request #18710 from ClickHouse/summap-check
Fix fuzz errors in sumMap
2021-01-05 19:56:52 +03:00
nautaa
6ecf505f48 fix typos 2021-01-05 23:08:36 +08:00
nautaa
709556832f fix typos 2021-01-05 22:28:09 +08:00
nautaa
48ac1ce81a fix 2021-01-05 21:41:18 +08:00
nautaa
ec8e3f2409 add decode numeric entities 2021-01-05 21:08:36 +08:00
Azat Khuzhin
6c50f537a0 Add a regression test for marks corruption
In #17120 (that was reverted in #17918 already) marks adjustemnt was
introduced, but it may lead to corruption of marks files, that may cause
two things:
1) Incorrect marks files, which lead to reading more rows than there are
   (can be reproduced with `max_threads`>1 or/and `PREWHERE`, and
    `optimize_move_to_prewhere`)
2) Can't adjust last granule because it has X rows, but try to subtract Y
   rows (#9260)

And 1) is pretty hard to diagnosis, since it does not throw any error,
it just may return wrong result.

Fortunately both problems can be fixed with `OPTIMIZE TABLE ... [ FINAL]`.

Cc: @alesapin
Refs: #17943
Refs: #18223
2021-01-05 15:41:54 +03:00
feng lv
421feb8cf9 Merge branch 'master' of github.com:ClickHouse/ClickHouse into select-all 2021-01-05 07:47:11 +00:00
nautaa
2acecb010f Merge branch 'master' of https://github.com/ClickHouse/ClickHouse 2021-01-05 14:12:36 +08:00
feng lv
3ca5cf18a4 remove throw exception
fix
2021-01-05 06:03:57 +00:00
spongedc
99335563d1 [For #18707] MySQL compatibility: support DIV and MOD operators 2021-01-05 13:03:19 +08:00
alexey-milovidov
56f3a3b6c7
Merge pull request #18748 from ClickHouse/remove-pink-screen
Remove pink screen with confusing questions about Kerberos
2021-01-05 07:09:23 +03:00
Alexey Milovidov
38b3d28443 Mark another flaky test 2021-01-05 06:26:53 +03:00
Alexey Milovidov
dab4719aac Remove some headers 2021-01-05 06:22:06 +03:00
Alexey Milovidov
0b65605c34 Mark some TestFlows as flaky 2021-01-05 05:30:24 +03:00
Alexey Milovidov
5368b20a71 Fix error 2021-01-05 04:49:15 +03:00
Alexey Milovidov
cbc54e2dd7 Merge branch 'master' into revert-15259-revert-14962-log-avoid-deadlock 2021-01-05 04:27:32 +03:00
Alexey Milovidov
a1ce6c4165 Fix errors 2021-01-05 04:26:29 +03:00
Alexey Milovidov
c378710f6b Merge branch 'master' into summap-check 2021-01-05 04:07:06 +03:00
Alexey Milovidov
ab6798addd One more test 2021-01-05 04:03:38 +03:00
Alexey Milovidov
c2c1d97da2 Arcadia does not support distributed queries 2021-01-05 03:59:09 +03:00
Alexey Milovidov
f6dff13db8 Add a test for #14974 2021-01-05 03:56:56 +03:00