Commit Graph

54860 Commits

Author SHA1 Message Date
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
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
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
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
Alexey Milovidov
21467cf97a Added a test from #15641 2021-01-05 03:44:14 +03:00
alexey-milovidov
2a37f5f687
Merge pull request #18740 from ClickHouse/remove-incl
Remove obsolete "incl" from /etc/metrika.xml; correct links in config
2021-01-05 03:31:18 +03:00
Alexey Milovidov
6ecf4fe921 More robust stateful test 2021-01-05 03:02:40 +03:00
Alexey Milovidov
06405531a1 Update tests 2021-01-05 02:58:16 +03:00
Alexey Milovidov
f5c81a5c72 Merge branch 'master' into uuid-fuzz 2021-01-05 02:51:36 +03:00
Alexey Milovidov
5358890039 Remove bad code in HashJoin 2021-01-05 02:49:31 +03:00
alexey-milovidov
ca56f83d81
Merge pull request #16366 from ClickHouse/harmful
Add "harmful" library
2021-01-05 01:59:54 +03:00
alexey-milovidov
96c0fff913
Merge pull request #18703 from ClickHouse/ubsan-add-offset-to-nullptr
Fix UBSan report: applying non-zero offset to nullptr
2021-01-05 01:59:22 +03:00
Alexey Milovidov
3bbdacc66b Update test 2021-01-05 01:35:54 +03:00
Alexey Milovidov
039edbb724 Don't allow conversion between UUID and numeric types 2021-01-05 01:33:59 +03:00
Alexey Milovidov
a15eb69f04 Remove pink screen with confusing questions about Kerberos 2021-01-05 00:56:00 +03:00
Alexey Milovidov
858c2a474a Do not throw from Parser 2021-01-05 00:28:57 +03:00
fastio
fc9c440d3e
Fix the unexpected behaviour of show tables when antlr parser enabled (#18431)
* Fix the unexpected behaviour of show tables when antlr parser enabled

* fix compile error
2021-01-04 23:42:57 +03:00