Commit Graph

58021 Commits

Author SHA1 Message Date
Azat Khuzhin
810023a65c Do not undefine __has_feature (may break c++ headers)
If the order of <common/defines.h> and c++ header will be wrong the
compilation will be broken.

v2: rename __ch_has_feature to ch_has_feature to fix -Wreserved-id-macro
v3: do not fallback to 0
2021-02-23 19:46:47 +03:00
Azat Khuzhin
8ab578065a Fix __has_feature macros under gcc
__has_feature supported only by clang.

But libcxx/libcxxabi overrides it to 0:

    $ fgrep -r 'define __has_feature' contrib/libcxx*
    contrib/libcxx/include/__config:#define __has_feature(__x) 0
    contrib/libcxxabi/src/demangle/DemangleConfig.h:#define __has_feature(x) 0

Thus the checks for __has_feature will be wrong, undefine it again to
avoid such issues.

This will also fix building with sanitizers under gcc (before this patch
BOOST_USE_UCONTEXT wasn't set for sanitizers).
2021-02-23 19:39:34 +03:00
Amos Bird
acfbae7107
Fix replace,All functions so that they don't generate garbage to stderr 2021-02-23 22:39:05 +08:00
Maksim Kita
017feb6775
Merge pull request #21074 from ClickHouse/add-test-9781
Add a test for #9781
2021-02-23 13:47:16 +03:00
kssenii
6554965711 Fix build 2021-02-23 10:46:41 +00:00
Maksim Kita
468dd76595
Merge pull request #20625 from Taschenbergerm/patch-1
Update argmax.md
2021-02-23 13:46:11 +03:00
hexiaoting
e123c6ef9d Bug fix: Tuple cast to Map 2021-02-23 18:42:33 +08:00
Maksim Kita
fb932ce290 Updated tests for map type 2021-02-23 12:54:38 +03:00
alexey-milovidov
bfcf78e9cb
Merge pull request #21090 from den-crane/patch-11
Update lowcardinality.md
2021-02-23 12:38:02 +03:00
Maksim Kita
609c35a49c
Added special case in documentation example 2021-02-23 12:36:26 +03:00
Kseniia Sumarokova
bf88d693d5
Update fetchPostgreSQLTableStructure.cpp 2021-02-23 11:59:38 +03:00
Kseniia Sumarokova
6c5781cf34
Update fetchPostgreSQLTableStructure.cpp 2021-02-23 11:48:51 +03:00
Kseniia Sumarokova
b2850ec94f
Merge branch 'master' into fix-postgres-numeric 2021-02-23 11:40:28 +03:00
alesapin
ddc9fb151e Fix tests 2021-02-23 11:37:27 +03:00
Azat Khuzhin
2ced21c837 Decrease number of stored stack frame pointers to fit into 512 PIPE_BUF 2021-02-23 07:52:01 +03:00
Azat Khuzhin
6b39e61d09 Decrease QUERY_ID_MAX_LEN for freebsd/osx (PIPE_BUF=512) 2021-02-23 07:47:58 +03:00
Denny Crane
2aee897243
Update lowcardinality.md 2021-02-22 18:21:30 -04:00
alesapin
5b888e1193 Merge branch 'master' into persistent_nukeeper_log_storage 2021-02-22 23:52:26 +03:00
alesapin
d7c3dfe5fa Don't allow to start with broken changelogs 2021-02-22 23:51:58 +03:00
Maksim Kita
f274343cf0 Fixed Map type getExtremes 2021-02-22 23:32:43 +03:00
Maksim Kita
f001a6755e Updated for map 2021-02-22 23:32:43 +03:00
Maksim Kita
3b80395b1b Fixed style check 2021-02-22 23:32:43 +03:00
Maksim Kita
5eec754fd6 Use standard checkStackSize 2021-02-22 23:32:43 +03:00
Maksim Kita
992747e5ec Updated for Array 2021-02-22 23:32:43 +03:00
Maksim Kita
d6b53d2b02 Added test 2021-02-22 23:32:43 +03:00
Maksim Kita
3f6050cee9 Fixed error code include 2021-02-22 23:32:43 +03:00
Maksim Kita
8520fc3e4c Replace null fields in tuple during parsing with default values 2021-02-22 23:32:43 +03:00
alexey-milovidov
cb8cfdba77
Merge branch 'master' into fffix 2021-02-22 23:08:44 +03:00
Azat Khuzhin
89c311981d Fix buffer size for trace collection
[1]: https://clickhouse-test-reports.s3.yandex.net/0/a860e3e7582f489a640c42db3bd4bd320f97a5bc/stress_test_(debug).html#fail1
2021-02-22 22:45:04 +03:00
Maksim Kita
6946514c0b
Merge pull request #21086 from kitaisreal/documentation-low-cardinality-fix
Documentation low cardinality fix
2021-02-22 22:22:07 +03:00
Maksim Kita
99875c23bc Documentation low cardinality fix 2021-02-22 21:34:23 +03:00
Alexey Milovidov
df3e70c352 Merge branch 'master' into add-test-9781 2021-02-22 20:53:38 +03:00
Alexey Milovidov
871f153433 Fix tests 2021-02-22 20:44:24 +03:00
Alexey Milovidov
f8501a2595 Add a test for #9781 2021-02-22 17:11:06 +03:00
tavplubix
eb46f50993
Update skip_list.json 2021-02-22 16:28:50 +03:00
tavplubix
5aed41fd81
Merge pull request #20217 from vzakaznikov/live-view-docs
Adding documentation for LIVE VIEWs
2021-02-22 16:08:06 +03:00
alexey-milovidov
9af4bfdff6
Merge pull request #21019 from azat/yamllint
yamllint style check
2021-02-22 13:22:27 +03:00
alexey-milovidov
073ee6c2c3
Merge pull request #21053 from ClickHouse/more-consistent-datetime64-parsing
More consistent DateTime64 parsing
2021-02-22 13:13:21 +03:00
alexey-milovidov
8b82c7ea0c
Merge pull request #21050 from azat/datetime64-float-fix
Fix DateTime64 from Float
2021-02-22 13:12:09 +03:00
alexey-milovidov
9f9b862a47
Merge pull request #21051 from ClickHouse/add-test-19376
Add test for #19376
2021-02-22 13:11:01 +03:00
alexey-milovidov
50639b7dba
Merge pull request #21052 from ClickHouse/file-engine-settings
Merging #20620
2021-02-22 13:10:31 +03:00
alexey-milovidov
c8da611fcd
Merge pull request #21023 from ClickHouse/fix-datetime64-formatting
Fix wrong formatting of overflowed DateTime64
2021-02-22 13:10:06 +03:00
alexey-milovidov
0afbddd665
Merge pull request #20599 from ClickHouse/distributed_aggregation_memory_efficient_by_default
Enable distributed_aggregation_memory_efficient by default
2021-02-22 13:09:09 +03:00
Ilya Yatsishin
14a036a4e2
Merge pull request #21056 from idfer/Fixed-typo-in-setting-users-doc 2021-02-22 12:05:12 +03:00
alesapin
74a07e406b Even more stable 2021-02-22 10:33:27 +03:00
Azat Khuzhin
91c4ebaf0b Merge remote-tracking branch 'upstream/master' into yamllint 2021-02-22 08:52:54 +03:00
idfer
2159344628
Fixed words typo in the setting-users doc. 2021-02-22 11:17:05 +08:00
alesapin
1aa0c0bff0 More stable test 2021-02-21 23:36:05 +03:00
Alexey Milovidov
29730425d6 Add a test 2021-02-21 23:34:38 +03:00
Alexey Milovidov
952cee9ec7 Merge remote-tracking branch 'azat/datetime64-float-fix' into more-consistent-datetime64-parsing 2021-02-21 23:24:38 +03:00