Commit Graph

58175 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
vdimir
e4fdbbfab6
Add test race_condition_storage.sh 2021-02-23 19:27:44 +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
lehasm
7ee4492823 Fixed link 2021-02-23 17:24:15 +03:00
lehasm
bb2ee9609f Compression mentioned in File engine 2021-02-23 16:43:40 +03:00
lehasm
0b82889740 Translated to ru 2021-02-23 16:00:41 +03:00
lehasm
9e052ae178 Examples moved to section end 2021-02-23 15:23:26 +03:00
gyuton
9f169aa13e
Update docs/ru/sql-reference/functions/tuple-map-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-23 15:08:39 +03:00
gyuton
c223a87658
Update docs/ru/sql-reference/functions/tuple-map-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-23 15:08:34 +03:00
gyuton
07e4cbcc06
Update docs/ru/sql-reference/functions/tuple-map-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-23 15:08:29 +03: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
tavplubix
4661073750
Update src/Storages/MergeTree/registerStorageMergeTree.cpp 2021-02-23 00:09:20 +03: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
jennyma
6433ab3da6 fix default_replica_path and default_replica_name values are useless on Replicated(*)MergeTree engine when the engine needs specify other parameters 2021-02-22 18:34:01 +08: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