Commit Graph

50137 Commits

Author SHA1 Message Date
tavplubix
3c53d47840
Merge pull request #16189 from ClickHouse/fix_assertion_table_function_file
Fix assertion in table function file()
2020-10-21 22:38:24 +03:00
Azat Khuzhin
60aae56266 Link dbms w/ atomic to fix undefined reference in unbundled build
This will fix undefined reference for __atomic_load under clang10 and
unbundled build (libstdc++ shared linkage):

    clickhouse-server: symbol lookup error: /src/ch/clickhouse/.cmake/src/libclickhouse_disksd.so: undefined symbol: __atomic_load

From [1]:

  "libatomic (GNU)

   libgcc_s does not provide an implementation of an atomics library.
   Instead, GCC’s libatomic library can be used to supply these when using
   libgcc_s.

   Note

   Clang does not currently automatically link against libatomic when using
   libgcc_s. You may need to manually add -latomic to support this
   configuration when using non-native atomic operations (if you see link
   errors referring to __atomic_* functions)."

  [1]: https://clang.llvm.org/docs/Toolchain.html
2020-10-21 22:33:53 +03:00
Nikolai Kochetov
fd77ca8251 Fix tests. 2020-10-21 22:20:52 +03:00
Mikhail Filimonov
748ff404f9
Attempt to fix the race 2020-10-21 20:36:01 +02:00
Nikolai Kochetov
5292c8b916 Add test. 2020-10-21 21:22:13 +03:00
Nikolai Kochetov
69ae6ace47 Add untuple. 2020-10-21 21:17:27 +03:00
alesapin
dcf9a8cff0 Remove comment 2020-10-21 19:39:39 +03:00
Olga Revyakina
545d187ef7 Docs for the crash_log table (en) 2020-10-21 19:32:52 +03:00
Alexander Kuzmenkov
154553e4c0 fix one more test
The CLICKHOUSE_CLIENT has --send_logs_level option, and
boost::program_options prefers the first entry, so we can't override it.
Use CLICKHOUSE_CLIENT_BINARY instead, which does not contain options.
2020-10-21 19:29:21 +03:00
Alexander Kuzmenkov
8cd560d5ad Merge remote-tracking branch 'origin/master' into HEAD 2020-10-21 19:13:56 +03:00
Vladimir Chebotarev
f9b0ed9325 Empty commit to re-run checks. 2020-10-21 18:57:14 +03:00
Nikolai Kochetov
14f5bef796
Merge pull request #16170 from ClickHouse/new-block-for-functions-4
Use `ColumnsWithTypeAndName` instead of `Block` for function calls [part 4]
2020-10-21 18:47:06 +03:00
Alexander Kuzmenkov
6293d1dbbe Merge remote-tracking branch 'origin/master' into HEAD 2020-10-21 18:39:59 +03:00
Alexander Kuzmenkov
a678f03229 fixup 2020-10-21 18:21:54 +03:00
Alexander Kuzmenkov
c10dada3d4 try node 1 2020-10-21 18:06:42 +03:00
alesapin
848de47a2c Remove checksum check from arrow package 2020-10-21 17:49:37 +03:00
alesapin
ad655bcfc0 Add stateless flaky check 2020-10-21 17:23:45 +03:00
alesapin
a7f989193a Merge branch 'master' into stateless_test_flaky_check 2020-10-21 17:21:25 +03:00
alesapin
09acceadf7
Merge pull request #16209 from ClickHouse/fix_replicated_mutations_test
Fix 00652_replicated_mutations test
2020-10-21 17:13:17 +03:00
Vladimir Chebotarev
847e9ca9f6 Fixed flappy test_multiple_disks. 2020-10-21 16:36:03 +03:00
Nikolai Kochetov
a0da588f06 Merge branch 'master' into new-block-for-functions-4 2020-10-21 16:16:58 +03:00
Vitaliy Zakaznikov
0a928f25fc Converting test tests/queries/0_stateless/01446_json_strings_each_row to a shell script. 2020-10-21 09:07:04 -04:00
zhang2014
a104c01cd9 Add mysql binlog file check util 2020-10-21 20:17:37 +08:00
Nikita Mikhaylov
ef5dd73ae0
Merge pull request #16155 from nikitamikhaylov/vladimir-golovchenko-fix-IPvXCIDRToRange
Merging #15856
2020-10-21 15:01:30 +03:00
alexey-milovidov
0b7430dda1
Merge pull request #16206 from ClickHouse/fix-memory-tracking
Fix multiple issues with memory tracking
2020-10-21 14:34:22 +03:00
alesapin
e090a119fc Simplify TTL move test 2020-10-21 13:11:26 +03:00
alesapin
2e9efa85b2 Fix some tests 2020-10-21 12:32:12 +03:00
alesapin
c53f59dece
Merge pull request #15984 from ClickHouse/fix_insert_mv_dangling_ref
Fix possibly dangling reference to target table of MV
2020-10-21 12:13:51 +03:00
alesapin
b45d42bb9c Maybe devirtualization can help 2020-10-21 11:35:36 +03:00
Nikolai Kochetov
42a90cf533 Fix special build. 2020-10-21 11:32:57 +03:00
Mikhail Filimonov
9ffa7bd0b6
remove sleep and make tests more deterministic 2020-10-21 09:10:40 +02:00
Nikolai Kochetov
c4c1446111 Fix build. 2020-10-21 09:22:20 +03:00
Nikolai Kochetov
68c9a57788 Merge branch 'master' into new-block-for-functions-4 2020-10-21 09:17:25 +03:00
alexey-milovidov
a7098c2557
Merge pull request #16154 from nvartolomei/nv/max_concurrent_queries_for_all_users
Add max_concurrent_queries_for_all_users setting
2020-10-21 04:35:57 +03:00
Alexey Milovidov
3636ff5b37 Fix test 2020-10-21 04:34:16 +03:00
alexey-milovidov
006855def4
Trigger CI. 2020-10-21 04:07:41 +03:00
alexey-milovidov
2913a10fd3
Merge pull request #16198 from azat/fix-comment-in-query_log
Fix query comments in query_log and server log (w/ enable_global_with_statement)
2020-10-21 03:40:48 +03:00
alexey-milovidov
db481a33bd
Merge pull request #14135 from ClickHouse/simplify-init-script
Simplify init script
2020-10-21 03:37:50 +03:00
Alexey Milovidov
2619efadc8 Fix multiple issues with memory tracking 2020-10-21 03:31:34 +03:00
Alexey Milovidov
b26e979e5c Added TODOs + minor adjustments 2020-10-21 01:13:41 +03:00
Nikolai Kochetov
6177996d5b Fix gcc build. 2020-10-21 00:27:01 +03:00
Azat Khuzhin
3559e3355c Do not cache dictionary for dictGet*/dictHas*
There are places where ExpressionActionsPtr is cached
(StorageDistributed caching it for sharding_key_expr and
optimize_skip_unused_shards), and if the dictionary will be cached
within "query" then cached ExpressionActionsPtr will always have first
version of the query and the dictionary will not be updated after
reload.

For example this will fix dictGet in sharding_key (and similar places,
i.e. when the function context is stored permanently)

Fixes: 01527_dist_sharding_key_dictGet_reload
2020-10-21 00:22:40 +03:00
Azat Khuzhin
7e4494e268 Add a test for dictGet in sharding_key after dictionary reload 2020-10-21 00:22:40 +03:00
alexey-milovidov
8084ce75cb
Merge pull request #16105 from azat/allow_nondeterministic_optimize_skip_unused_shards
Add allow_nondeterministic_optimize_skip_unused_shards
2020-10-21 00:16:26 +03:00
alesapin
8097c696de Trying another fix 2020-10-20 23:05:20 +03:00
alexey-milovidov
2b00b5391a
Merge pull request #11844 from Enmk/AES_encrypt_decrypt
encrypt and decrypt functions
2020-10-20 22:57:35 +03:00
alexey-milovidov
8998829f66
Merge pull request #15685 from vivarum/enable-parsing-of-input-enum-values-by-id-10682
Enable parsing enum values by their ids for CSV, TSV and JSON input formats
2020-10-20 22:52:57 +03:00
alexey-milovidov
510e7ef0bf
Merge pull request #16151 from abyss7/pytest-python3
Fix pytest after migration to Python 3
2020-10-20 22:13:13 +03:00
alexey-milovidov
d8dff708dd
Merge pull request #16186 from antarctictardigrade/patch-4
Update: added query_start_time_microseconds.
2020-10-20 22:12:44 +03:00
alexey-milovidov
195526c033
Merge pull request #16187 from antarctictardigrade/patch-5
Update: added query_start_time_microseconds.
2020-10-20 22:11:57 +03:00