alexey-milovidov
8d3c37992a
Merge pull request #10533 from ClickHouse/alter-key-column-better-exception-message
...
Better exception message and error code for ALTER of key column #9078
2020-05-17 22:21:14 +03:00
alexey-milovidov
92686fea27
Merge pull request #10974 from ClickHouse/xolm-random_fixed_string_function
...
Merging #10866
2020-05-17 22:20:53 +03:00
alexey-milovidov
76dfc37bbf
Merge pull request #10975 from ClickHouse/Potya-master
...
Merging #10856
2020-05-17 22:20:36 +03:00
Nikolai Kochetov
c8e7ea0d6c
Try fix performance.
2020-05-17 21:55:49 +03:00
Azat Khuzhin
e3d69eea88
Configure thread names for librdkafka
...
First of all it is nice to have part of the table name in it.
And secondly, librdkafka uses pthread_setname_np(), but due to
glibc-compatibility it is a noop in clickhouse sources:
# librdkafka uses rdk: prefix for thread names by default
$ grep rdk /proc/$(pgrep clickhouse-serv)/task/*/comm
# just in case:
$ grep rdk /proc/*/task/*/comm
$ grep rdk /proc/*/comm
(gdb) disas pthread_setname_np
Dump of assembler code for function pthread_setname_np:
0x000000000c603250 <+0>: xor %eax,%eax
0x000000000c603252 <+2>: retq
End of assembler dump.
2020-05-17 20:40:18 +03:00
Azat Khuzhin
dbe781451a
Redirect librdkafka logs from stderr to clickhouse logger
2020-05-17 20:27:36 +03:00
Azat Khuzhin
fb6b19d57a
Fix symlinking data directory for Atomic database
2020-05-17 17:14:51 +03:00
Azat Khuzhin
31035a3cd1
Allow relative path for renameat2 by using AT_FDCWD
...
Otherwise this will trigger logical error on CREATE TABLE with default
config.d overrides (path=./).
2020-05-17 17:02:03 +03:00
Andrei Nekrashevich
db07c9f5e9
fix
2020-05-17 16:22:52 +03:00
Andrei Nekrashevich
9d2801e0d8
fix
2020-05-17 16:07:37 +03:00
alexey-milovidov
7cf3538840
Merge pull request #10270 from ClickHouse/quota-key-in-client
...
Support quota_key for Native client
2020-05-17 14:09:40 +03:00
Nikolai Kochetov
29340d915a
Try fix performance.
2020-05-17 13:51:52 +03:00
Azat Khuzhin
fdc4823065
Simplify min_insert_block_size_{rows,bytes}_for_materialized_views changed detection
2020-05-17 13:41:54 +03:00
alexey-milovidov
d3c9f5cb65
Update RowRef.h
2020-05-17 13:31:06 +03:00
Alexey Milovidov
90cd5d8a3c
Remove unused header file
2020-05-17 13:27:13 +03:00
Azat Khuzhin
c1cf31f87d
Introduce min_insert_block_size_{rows,bytes}_for_materialized_views
...
With tons of MATERIALIZED VIEW attached to one table pushing to this
views can be pretty memory consuming due to blocks squashing, add
ability to control this separatelly for MATERIALIZED VIEWs.
Plus squashing is useless if the underlying engine is Buffer().
2020-05-17 12:21:05 +03:00
Azat Khuzhin
c35c89f61a
Add a test for min_insert_block_size_rows_for_materialized_views
2020-05-17 12:19:44 +03:00
alexey-milovidov
6c49967395
Merge pull request #10802 from PerformanceVision/offset_without_limit
...
Add the ability to set an OFFSET clause without a LIMIT
2020-05-17 12:06:22 +03:00
alexey-milovidov
fcfd3d34fd
Merge pull request #10850 from kekekekule/complex_key_direct
...
Add complex key direct layout to dictionaries
2020-05-17 11:55:10 +03:00
alexey-milovidov
6d34f24605
Merge branch 'master' into complex_key_direct
2020-05-17 11:55:01 +03:00
alexey-milovidov
00cc0b5752
Merge pull request #10946 from qoega/merge-10600
...
Merge #10600
2020-05-17 11:46:53 +03:00
alexey-milovidov
103f66e13f
Merge pull request #10968 from ClickHouse/fix_database_atomic_terminate_called
...
Fix exception from destructor in DatabaseAtomic
2020-05-17 11:45:37 +03:00
Alexey Milovidov
d1d070fa8d
More type aliases
2020-05-17 11:35:08 +03:00
Alexey Milovidov
59b0435547
Fix tests
2020-05-17 11:25:29 +03:00
Alexey Milovidov
6029b6d7bd
Added REAL; remove Int1/2/4; remove LONG because it has conflict meaning in MySQL and MS Access
2020-05-17 11:22:59 +03:00
Alexey Milovidov
c701ccbec0
Merge branch 'master' of https://github.com/Potya/ClickHouse into Potya-master
2020-05-17 11:19:37 +03:00
alexey-milovidov
1bceb48e65
Merge pull request #10920 from ClickHouse/fix-notNullIn-with-null
...
Fix not null in with null
2020-05-17 11:16:43 +03:00
alexey-milovidov
7ee35f102d
Merge pull request #10867 from azat/dist-INSERT-load-balancing
...
Respect prefer_localhost_replica/load_balancing on INSERT into Distributed
2020-05-17 11:11:35 +03:00
Alexey Milovidov
7e7fd41266
Fix build + improvement
2020-05-17 11:00:10 +03:00
Alexey Milovidov
157d0b612c
Merge branch 'random_fixed_string_function' of https://github.com/xolm/ClickHouse into xolm-random_fixed_string_function
2020-05-17 10:54:48 +03:00
Alexey Milovidov
7971f62776
Fix test
2020-05-17 10:47:53 +03:00
alexey-milovidov
2ec9d1e9ab
Merge pull request #10512 from ClickHouse/fix-ubsan-decimal-parse
...
Fix UBSan report in Decimal parse
2020-05-17 10:46:03 +03:00
Alexey Milovidov
c33373f7fb
Minor modification
2020-05-17 10:43:23 +03:00
Alexey Milovidov
f2d438b79f
Implement max_rows_to_sort again
2020-05-17 10:27:55 +03:00
Alexey Milovidov
de8120d69a
Improvement; added a test
2020-05-17 10:17:54 +03:00
Alexey Milovidov
20c9c2d3ec
Better test
2020-05-17 09:52:33 +03:00
Alexey Milovidov
1ebd71a230
Updated test reference because new result is correct
2020-05-17 09:48:49 +03:00
Alexey Milovidov
c06995c03c
Whitespaces
2020-05-17 09:47:53 +03:00
Alexey Milovidov
df1e1f4638
Merge branch 'master' of github.com:yandex/ClickHouse into max-rows-to-sort
2020-05-17 09:28:23 +03:00
alexey-milovidov
5297d1e86a
Merge pull request #10928 from vitlibar/check-access-once-for-dictget
...
dictGet() checks access once
2020-05-17 09:27:59 +03:00
alexey-milovidov
421eb6df8f
Merge pull request #10970 from ClickHouse/try-fix-use-after-free-mergetree
...
Try to fix use-after-free error in MergeTree
2020-05-17 09:09:45 +03:00
Alexey Milovidov
f7087c721e
Merge branch 'master' into max-rows-to-sort
2020-05-17 09:08:46 +03:00
alexey-milovidov
a3346e9331
Merge pull request #10912 from ClickHouse/static-mutate
...
Static mutate
2020-05-17 09:05:35 +03:00
alexey-milovidov
261410ff58
Merge pull request #10829 from ClickHouse/variance-nonnegative
...
Ensure that variance is nonnegative
2020-05-17 09:04:27 +03:00
alexey-milovidov
99ba61d758
Merge pull request #10969 from ClickHouse/freebsd-fix-mistake
...
Fix mistake in FreeBSD toolchain
2020-05-17 09:02:20 +03:00
alexey-milovidov
ca1ded9124
Merge pull request #10937 from ClickHouse/input-format-use-header-by-default
...
Enable input_format_with_names_use_header by default
2020-05-17 09:00:05 +03:00
Alexey Milovidov
47504dc213
Merge branch 'max-rows-to-sort' of github.com:yandex/ClickHouse into max-rows-to-sort
2020-05-17 08:57:42 +03:00
Alexey Milovidov
3742462119
Merge branch 'master' into max-rows-to-sort
2020-05-17 08:56:42 +03:00
Alexey Milovidov
397859ccb8
Fix error
2020-05-17 08:45:20 +03:00
Alexey Milovidov
f4ac1eec04
Merge branch 'master' into quota-key-in-client
2020-05-17 08:15:13 +03:00