Commit Graph

3288 Commits

Author SHA1 Message Date
hexiaoting
93d28ef5c9
Implement untuple field access (#18309) 2020-12-22 16:48:40 +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
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
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
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
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
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
Ivan
6d5912e633
Update query_test.py 2020-12-18 19:01:04 +03:00
Nikolai Kochetov
d7fc426458
Merge pull request #18216 from ClickHouse/fix-18137
Fix 18137
2020-12-18 18:49:02 +03:00
Vasily Nemkov
5ff7baf663 Fixed comparing Date and DateTime64
With a less flakky test
2020-12-18 17:47:08 +02:00
alexey-milovidov
34e4ace029
Merge pull request #17525 from ClickHouse/null-as-default-default
Attempt to make NULL as default by default
2020-12-18 18:00:34 +03:00
alexey-milovidov
7ec772f480
Merge pull request #18129 from ClickHouse/boringssl2
Port to BoringSSL (part 2)
2020-12-18 18:00:10 +03:00
Anton Popov
820e0cf877 add test for fixed bug 2020-12-18 16:41:47 +03:00
Ivan
57763e6867
Enable Pytest framework for stateless tests (#17902) 2020-12-18 16:26:11 +03:00
Nikolai Kochetov
8012951e77 Add test. 2020-12-18 11:34:20 +03:00
Amos Bird
78b0b9b4fb
fix enum int keycondition 2020-12-18 16:10:54 +08:00
Amos Bird
2a28c127eb
Better code for real 2020-12-18 14:13:59 +08:00
Amos Bird
272311f6bd
Extensive information in system.query_log 2020-12-18 14:13:58 +08:00
jianmei zhang
d04376ebcc auto merge and rebase master 2020-12-18 13:24:13 +08:00