Commit Graph

3305 Commits

Author SHA1 Message Date
Alexander Kuzmenkov
51b2329295
Merge branch 'master' into aku/window-prototype 2020-12-23 09:26:11 +03:00
alexey-milovidov
8e48a25607
Merge pull request #18299 from ClickHouse/enable_thread_fuzzer_for_flaky_check
Trying to enable thread fuzzer in flaky check
2020-12-23 05:32:19 +03:00
alexey-milovidov
c72a480d89
Merge pull request #17630 from amosbird/stacktracefix
Fix system.stack_trace when running in daemon mode
2020-12-23 04:40:50 +03:00
Alexander Kuzmenkov
3f33e6b3e0 some review fixes 2020-12-22 20:46:31 +03:00
hexiaoting
93d28ef5c9
Implement untuple field access (#18309) 2020-12-22 16:48:40 +03:00
alesapin
4b28d6d030 Merge branch 'master' into enable_thread_fuzzer_for_flaky_check 2020-12-22 16:36:51 +03:00
Ivan
5fd6f260ac
Add support for ANTLR inside clickhouse-test (#18319) 2020-12-22 15:24:46 +03:00
alexey-milovidov
a4b0d9ba4c
Merge pull request #16664 from FawnD2/switch-upstream-for-arrow-submodule
Switch upstream repo for Arrow submodule
2020-12-22 10:55:23 +03:00
Alexey Milovidov
af8022a0b1 Merge branch 'master' into amosbird-stacktracefix 2020-12-22 10:48:28 +03:00
alexey-milovidov
f0dc3ec152
Merge pull request #17665 from amosbird/clientedit
clickhouse-client editor
2020-12-22 09:53:54 +03:00
alexey-milovidov
c57312385b
Merge pull request #18318 from abyss7/pytest
Add more tests to skip-list
2020-12-22 09:46:25 +03:00
alexey-milovidov
adab35003e
Merge pull request #18271 from ClickHouse/arrays-as-nested-csv
Support to parse Arrays in CSV as nested CSV in a String
2020-12-22 09:28:25 +03:00
alexey-milovidov
8e325d63b4
Merge pull request #18332 from ClickHouse/check-conflict-markers
Check for conflict markers in docs
2020-12-22 09:21:58 +03:00
alexey-milovidov
7985ed9778
Merge pull request #18050 from Enmk/DateTime64_DateTime_comparison
Fixed Date vs DateTime64 comparison
2020-12-22 05:12:14 +03:00
Alexander Kuzmenkov
52ace7a3d1 one plan step per window 2020-12-22 04:37:45 +03:00
Alexey Milovidov
5bdf287910 Check for conflict markers in docs 2020-12-22 00:55:54 +03:00
Alexey Milovidov
e03196b3d3 Add a test 2020-12-22 00:33:01 +03:00
alexey-milovidov
7eea1cbe0f
Merge pull request #18313 from Enmk/Optimize_deduplicate_fix
Fixed flaky test
2020-12-21 23:46:55 +03:00
alexey-milovidov
d66506299f
Merge pull request #18238 from azat/jemalloc-MADV_DONTNEED-runtime-check
MADV_DONTNEED check in runtime for qemu (via patching jemalloc)
2020-12-21 21:07:49 +03:00
alesapin
f22b7fec91
Merge pull request #18293 from ClickHouse/fix_flaky_test_01076
Fix flaky 01076_parallel_alter test
2020-12-21 19:39:31 +03:00
Vasily Nemkov
b11301f257
Un-commented cleanup code in test 2020-12-21 18:36:02 +02:00
Ivan Lezhankin
66b2ebca78 Another flaky 2020-12-21 19:28:12 +03:00
Ivan Lezhankin
9d70b9e520 Add more tests to skip-list 2020-12-21 17:04:52 +03:00
Vasily Nemkov
f8c9d6e863 Fixed flaky test 2020-12-21 14:27:46 +02:00
alesapin
21533258fa Add some test to check 2020-12-21 13:09:07 +03:00
Nikolai Kochetov
c2d2e74d6a
Merge pull request #18182 from zhangjmruc/master
Try to fix issue #17712 for wrong importing of rows with last bad column
2020-12-21 12:17:40 +03:00
alesapin
0c6838a043 Fix glaky 01076_parallel_alter test 2020-12-21 11:48:40 +03:00
Alexander Kuzmenkov
85c1bc1253 Merge remote-tracking branch 'origin/master' into tmp 2020-12-21 10:46:21 +03:00
Alexey Milovidov
252f2ae876 Merge branch 'master' into FawnD2-switch-upstream-for-arrow-submodule 2020-12-21 10:22:14 +03:00
Amos Bird
7ed85a4c09
fix again... 2020-12-21 15:07:25 +08:00
Amos Bird
42dd3d7cb4
fix test 2020-12-21 14:43:06 +08:00
Amos Bird
fb5de60d7a
add test 2020-12-21 14:43:06 +08:00
Alexey Milovidov
838b146b41 Merge branch 'master' into amosbird-stacktracefix 2020-12-21 04:22:31 +03:00
Alexey Milovidov
70983eae65 Merge branch 'master' into Enmk-DateTime64_DateTime_comparison 2020-12-21 04:20:18 +03:00
alexey-milovidov
6eba45821b
Merge pull request #17846 from Enmk/Optimize_deduplicate
OPTIMIZE DEDUPLICATE BY COLUMNS
2020-12-21 02:47:15 +03:00
Alexey Milovidov
84dddb8103 Merge branch 'master' into azat-jemalloc-MADV_DONTNEED-runtime-check 2020-12-20 22:38:54 +03:00
Alexey Milovidov
3d2f87cd9a New Year preparations 2020-12-20 16:25:46 +03:00
Alexey Milovidov
9be5fa9ef2 Merge branch 'master' into Enmk-Optimize_deduplicate 2020-12-20 09:57:10 +03:00
alexey-milovidov
af4c3956da
Merge pull request #17273 from zhang2014/fix/ISSUES-17244
ISSUES-17244 try fix indeterministic functions with predicate optimizer
2020-12-20 09:51:20 +03:00
Alexey Milovidov
bf2df558d4 Merge branch 'master' into FawnD2-switch-upstream-for-arrow-submodule 2020-12-20 09:38:46 +03:00
Alexey Milovidov
e4b1cd0d4f Merge branch 'master' into Enmk-DateTime64_DateTime_comparison 2020-12-20 07:44:54 +03:00
alexey-milovidov
252fc733bd
Merge pull request #18214 from amosbird/fix-15651
Fix enum = Int8 in KeyCondition
2020-12-20 07:39:22 +03:00
Azat Khuzhin
e379b80d45 MADV_DONTNEED check in runtime for qemu (via patching jemalloc)
qemu does not support MADV_DONTNEED, and by not support it simply ignore
it (i.e. return 0 -- no error).

This issue has been "fixed" in #15590, however it just
terminates the process, and completely breaks clickhouse under qemu
(see also #15174).

But there is no need in such strong protection, we can stop using
madvise in jemalloc if MADV_DONTNEED does not work properly.
And this is what #18169 was tried to do (by override madvise), however
this will break sanitizers, at least TSAN and UBSAN.
The problem there is that sanitizers initialization code uses madvise
(and there is no way to turn this off with TSAN_OPTIONS) and overwritten
madvise function will have sanitizers traits (__tsan_func_entry), while
TSAN is not ready for this, and eventually it SIGSEGV.
Interesting thing is that in the recent clang-12, madvise was replaced
with direct syscall [1].

  [1]: 9f8c4039f2

But it is better to make clickhouse compatible with clang < 12 too, so
instead of override madvise completely, the runtime check was moved into
the jemalloc code [2].

  [2]: https://github.com/ClickHouse-Extras/jemalloc/pull/1
2020-12-19 15:34:12 +03:00
Alexey Milovidov
231cce489d Add a test 2020-12-19 01:08:05 +03:00
Alexey Milovidov
ce32a55fd6 Preparation 2020-12-19 00:54:24 +03:00
Alexey Milovidov
93bf494108 Preparation 2020-12-19 00:19:28 +03:00
Anton Popov
07bc3579d0
Merge pull request #18219 from CurtizJ/add-test
Add test for fixed bug with skip indices
2020-12-18 23:11:17 +03:00
alexey-milovidov
03bc2d328a
Merge pull request #17726 from amosbird/querylog
Extensive information in system.query_log
2020-12-18 21:24:21 +03:00
Alexander Kuzmenkov
132a0b42eb cleanup 2020-12-18 20:13:28 +03:00
Ivan
6d5912e633
Update query_test.py 2020-12-18 19:01:04 +03:00