chertus
c909e00865
disable ANY RIGHT and ANY FULL JOINs by default
2019-08-05 22:23:02 +03:00
Nikolai Kochetov
b0b7ed791d
Merge branch 'master' into processors-and-output-formats
2019-08-04 19:47:26 +03:00
alexey-milovidov
7f20c17f9b
Merge pull request #6283 from yandex/enable-query-profiler
...
Enabled query profiler by default
2019-08-04 16:34:42 +03:00
Nikolai Kochetov
599f3ddf6e
Merged with master.
2019-08-04 15:35:21 +03:00
proller
77bd2624ea
Build fixes ( #6016 )
...
* Fix building without submodules
* Fix more gcc9 warnings
* was wrong!
../dbms/src/IO/WriteBufferAIO.cpp:277:54: error: result of comparison 'ssize_t' (aka 'long') > 9223372036854775807 is always false [-Werror,-Wtautological-type-limit-compare]
if ((static_cast<ssize_t>(flush_buffer.offset()) > std::numeric_limits<off_t>::max()) ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* mimalloc off MI_OVERRIDE
* Fix freebsd build
* Fix shared build
* Fix build in gcc9
* Fix split build
* fix
* fix
* fix
* fix
* clean
* zstd
* Update CMakeLists.txt
* Update Defines.h
* Try fix -Wsign-compare
* Freebsd fix
* Add missing libs
* Fix double-conversion include for copy-headers
* Fix zlib link
* Fix includes for arcadia
* Fix includes for arcadia
* Fix includes for arcadia
* Freebsd fix
* Arcadia fixes
* Update QueryProfiler.cpp
* Freebsd fix
* clean
* 19.11: Fixes for arcadia porting (#6223 )
* fix glibc-compatibility
* M_LIBRARY fix
* wip
* Fix
* Fix arm build
* unwind fix
* Update CMakeLists.txt
2019-08-04 03:19:03 +03:00
Alexey Milovidov
dadb8f1879
Merge branch 'master' into enable-query-profiler
2019-08-04 02:57:58 +03:00
Nikolai Kochetov
f2be163fb0
Do not check empty columns in header.
2019-08-03 16:51:56 +03:00
Alexey Milovidov
c1de1d445c
Enabled query profiler by default
2019-08-01 22:47:04 +03:00
alesapin
af5cabd740
Fix changed logic
2019-08-01 22:30:00 +03:00
alesapin
ca3796f0a3
Less branches
2019-08-01 20:46:37 +03:00
alesapin
7c37450c3d
Better code and tests
2019-08-01 20:43:10 +03:00
alesapin
5b4b875497
Fix bool settings parsing in config
2019-08-01 20:03:34 +03:00
tavplubix
6625536236
Merge pull request #6055 from yandex/csv_unquoted_nulls_and_default_values
...
CSV unquoted nulls and default values
2019-08-01 15:11:06 +03:00
alexey-milovidov
834bd5d82d
Merge pull request #6212 from yurriy/mysql-wire-protocol-fix
...
Bug fix in MySQL wire protocol
2019-07-31 05:59:01 +03:00
Alexey Milovidov
20ae0ee80e
Added a flag to disable introspection functions
2019-07-30 02:54:49 +03:00
Yuriy
c1b57f9cf5
fixed heap buffer overflow in PacketPayloadWriteBuffer
2019-07-29 18:41:47 +03:00
Alexander Tokmakov
3c15b87003
Merge branch 'master' into alter_table_drop_detached_part
2019-07-29 14:29:23 +03:00
alesapin
86831fe500
Add ability to create immutable settings
2019-07-29 14:03:50 +03:00
Yuriy
f1694a1746
build fix
2019-07-29 03:09:17 +03:00
alexey-milovidov
129e88ee26
Merge pull request #6189 from CurtizJ/order-by-efficient
...
Fix reading in order of sorting key and refactoring.
2019-07-28 19:43:49 +03:00
Yuriy
b1d5f4ca20
disabled mysql_native_password when password is specified as a plain text as it allows to connect to ClickHouse knowing only SHA1 instead of a password
2019-07-28 17:17:33 +03:00
Yuriy
21ce5331d1
implemented mysql_native_password auth plugin for compatibility with mysqljs
2019-07-28 16:12:26 +03:00
alexey-milovidov
b91c0c8c9b
Update Settings.h
2019-07-28 11:50:01 +03:00
Yuriy
ec33f4bd2a
fixed style
2019-07-28 04:34:48 +03:00
CurtizJ
b4991b38bf
Merge remote-tracking branch 'upstream/master' into order-by-efficient
2019-07-28 04:26:43 +03:00
CurtizJ
d69d68f065
rename setting 'optimize_pk_order' and some functions
2019-07-28 04:16:56 +03:00
Yuriy
96552a4d4e
prevent rewriting packet in case of attempt to write more than initially calculated payload length
2019-07-28 03:41:41 +03:00
Yuriy
383fa25c51
resolved conflict
2019-07-28 02:00:15 +03:00
Alexey Milovidov
98c3ff92ae
Fixed non-standard build
2019-07-27 20:04:26 +03:00
CurtizJ
08d5ebb54d
Merge remote-tracking branch 'upstream/master' into order-by-efficient
2019-07-27 10:38:10 +03:00
Alexey Milovidov
0cce86db3f
Merge remote-tracking branch 'origin/master' into merge-profiler
2019-07-26 00:41:24 +03:00
Alexey Milovidov
050db07e3d
Merge branch 'master' into merge-profiler
2019-07-25 22:54:22 +03:00
Alexey Milovidov
522aed7168
Fixed build
2019-07-25 22:02:44 +03:00
Alexey Milovidov
93c7f6aedf
Merge branch 'fix_ISSUE5695' of https://github.com/TCeason/ClickHouse into TCeason-fix_ISSUE5695
2019-07-25 19:09:18 +03:00
alexey-milovidov
6c782b91d5
Merge pull request #6113 from yurriy/mysqlnd-workaround
...
A workaround for PHP mysqlnd extension bugs
2019-07-25 04:12:00 +03:00
alexey-milovidov
8f3c097c1b
Update Settings.h
2019-07-25 04:03:16 +03:00
Alexey Milovidov
4b93b45935
Update settings description
2019-07-24 22:22:42 +03:00
Alexander Tokmakov
3c2172b750
parse and interpret query
2019-07-23 22:25:10 +03:00
Alexander Tokmakov
89a4462c4f
Merge branch 'master' into csv_unquoted_nulls_and_default_values
2019-07-23 13:49:47 +03:00
tai
b01f54ade1
ISSUE-5695: support push down predicate to final subquery
2019-07-23 18:22:07 +08:00
Yuriy
a1152f99ae
switching to sha256_password after handshake in order to use PHP client without SSL
2019-07-23 10:57:58 +03:00
Alexey Milovidov
a652a8bb6c
Disabled query profiler by default #4247
2019-07-23 03:04:04 +03:00
alexey-milovidov
e4ad0da6e3
Merge pull request #4247 from laplab/query-poor-mans-profiler
...
Poor man's profiler on query level [Work in progress]
2019-07-23 03:02:58 +03:00
Alexander Tokmakov
96d0a066d9
rename format_csv_unquoted_null_literal_as_null to input_format_csv_unquoted_null_literal_as_null
2019-07-22 23:13:27 +03:00
Alexander Tokmakov
05d6e23373
Customizable prefix, suffix and row delimiter
2019-07-22 01:00:34 +03:00
alexey-milovidov
175c4655d8
Merge pull request #6043 from 4ertus2/ast
...
Enable 'input_format_defaults_for_omitted_fields' by default
2019-07-20 00:42:01 +03:00
Alexey Milovidov
9a9e6b7a44
Minor modification #6073
2019-07-20 00:09:28 +03:00
alexey-milovidov
746fe5cdac
Merge pull request #6073 from yandex/aku/loaddb-race
...
Fix a race condition in parallel table loading.
2019-07-20 00:08:09 +03:00
Yuriy
be589ed825
commented about endianness
2019-07-19 22:29:44 +03:00
Yuriy
fa2dfcd71d
better
2019-07-19 21:43:52 +03:00
Yuriy
475179cec7
added size limit for packets which are read without memory tracker (all packets except for COM_QUERY)
2019-07-19 20:55:07 +03:00
chertus
e15f6e9752
Merge branch 'master' into ast
2019-07-19 18:01:09 +03:00
Alexander Kuzmenkov
de72d117ce
Fix a race condition in parallel table loading.
...
ThreadSanitizer reported that a data race occurs when we attach to a
database and load its tables concurrently. Remove the custom code that
waits for all tables to load, and replace it with a local thread pool
and its wait() method.
This changes observable behavior: before, we would load the tables
sequentially when loading the system database, or performing an ATTACH
DATABASE query. Now we always load tables of ordinary databases in
parallel.
2019-07-19 17:35:02 +03:00
tavplubix
349d69c849
Merge branch 'master' into csv_unquoted_nulls_and_default_values
2019-07-19 17:03:34 +03:00
CurtizJ
b9dc472071
Merge remote-tracking branch 'upstream/master' into order-by-efficient
2019-07-19 01:09:59 +03:00
Alexander Tokmakov
668959b300
use default if not nullable
2019-07-18 16:43:20 +03:00
Alexey Milovidov
0f15c01c68
Added a notion of obsolete settings for our best clients
2019-07-17 21:54:34 +03:00
chertus
fbc0c87c18
enable input_format_defaults_for_omitted_fields & disable (not working) defaults for table functions
2019-07-17 21:30:17 +03:00
alexey-milovidov
14dc9ad801
Merge pull request #6024 from yandex/check_table_old_behaviour
...
Add settings for check query backward compatibility
2019-07-16 15:19:55 +03:00
alesapin
f786c45ac4
Add settings for check query backward compatibility
2019-07-16 13:19:37 +03:00
Yuriy
d74be1dc9c
fixed MySQLOutputFormat used by new query processing pipeline
2019-07-16 11:24:51 +03:00
Yuriy
1d6e31be4d
merged master
2019-07-16 10:33:25 +03:00
Yuriy
4df72f18ce
writing packets in parts
2019-07-16 09:39:18 +03:00
Yuriy
f221fb0999
build fix
2019-07-15 23:37:01 +03:00
alesapin
25ed737798
Fix bug client version which is able to read additional progress fields from server
2019-07-15 21:05:49 +03:00
Yuriy
baa62f2aba
style check
2019-07-15 01:53:30 +03:00
Yuriy
0ed77453d3
reading packets in parts
2019-07-15 01:13:56 +03:00
Yuriy
a6bd5bccff
tiny fix
2019-07-14 11:27:58 +03:00
alexey-milovidov
a93c76837e
Merge pull request #5953 from abyss7/fix-filter-table
...
Implement getDatabaseName() and rename() for all storages
2019-07-13 00:51:39 +03:00
Nikolai Kochetov
954485ad6b
Disable processors by default.
2019-07-11 19:30:39 +03:00
Nikolai Kochetov
e9f3d4d6b8
Merge pull request #4914 from yandex/processors
...
Processors
2019-07-11 19:22:02 +03:00
Nikita Lapkov
9d540abc84
refactor
2019-07-10 20:47:39 +00:00
Ivan Lezhankin
998aa795fc
Merge remote-tracking branch 'upstream/master' into fix-filter-table
2019-07-10 18:14:15 +03:00
Ivan Lezhankin
befb3ce15b
Merge branch 'master' into fix-filter-table
2019-07-10 13:27:26 +03:00
Ivan Lezhankin
9f01fa7aaa
Implement getDatabaseName() and rename() for all storages
2019-07-09 18:40:21 +03:00
Alexey Milovidov
823ef749fd
Fixed build
2019-07-09 05:06:26 +03:00
Alexey Milovidov
52bb292327
Merge branch 'master' into libcxx-as-submodule
2019-07-09 01:58:09 +03:00
Nikolai Kochetov
209793c981
Merged with master.
2019-07-08 16:00:54 +03:00
Alexey Milovidov
03712aabec
Add two more warnings from -Weverything
2019-07-08 03:16:39 +03:00
Vitaliy Zakaznikov
24a3726235
Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into liveview
2019-07-07 20:03:14 -04:00
Nikita Lapkov
e935cb08a8
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-07-07 01:06:10 +00:00
Alexey Milovidov
2e6280de07
Fixed #5797
2019-07-07 03:20:38 +03:00
Alexey Milovidov
338c0d27ca
Added "os_thread_priority" setting
2019-07-06 21:02:28 +03:00
Nikita Lapkov
aaea6cbfc9
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-07-05 21:37:31 +00:00
Nikita Lapkov
b8585a5630
refactor and comments
2019-07-05 13:48:47 +00:00
CurtizJ
a49112a14e
Merge branch 'master' of https://github.com/yandex/ClickHouse into order-by-efficient
2019-07-05 16:41:48 +03:00
CurtizJ
410b62f7fa
Merge branch 'clickhouse-4013' of https://github.com/anrodigina/ClickHouse into order-by-efficient
2019-07-05 13:48:04 +03:00
Alexey Milovidov
6efca57979
Close idle connections #5879
2019-07-05 01:23:45 +03:00
Nikita Lapkov
0f579860f7
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-07-04 22:13:51 +00:00
Alexey Milovidov
6b9df067d8
Merge branch 'master' into libcxx-as-submodule
2019-07-03 22:34:58 +03:00
alexey-milovidov
50c22ef71a
Merge pull request #5628 from yandex/index_granularity_by_default
...
Enable adaptive index granularity by default
2019-07-03 02:15:33 +03:00
alexey-milovidov
d81ae49f2c
Merge pull request #5755 from 4ertus2/bugs
...
Fix wrong ColumnConst.isColumnNullable()
2019-07-03 02:06:07 +03:00
Vitaliy Zakaznikov
b5120931d5
Merge branch 'master' of https://github.com/yandex/ClickHouse into liveview
2019-07-01 18:12:31 -04:00
Vitaliy Zakaznikov
a363189dfc
Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into liveview
2019-07-01 18:05:14 -04:00
alexey-milovidov
c43dfce041
Merge pull request #5382 from abyss7/issue-5286
...
Add virtual columns to Kafka Engine tables
2019-07-01 21:30:09 +03:00
chertus
5df4ad0f28
Merge branch 'master' into bugs
2019-07-01 14:49:01 +03:00
alexey-milovidov
106a2d0c0f
Merge pull request #4930 from yandex/tsan-miscellaneous
...
Miscellaneous changes
2019-07-01 11:11:53 +03:00
Yuriy
450b20ca89
max_memory_usage support in MySQL wire protocol
2019-07-01 08:58:31 +03:00
chertus
f19dee706a
move IColumn.isColumnConst() outside of interface
2019-06-27 22:28:52 +03:00
Alexey Milovidov
e3277c191b
Fixed idiotic inconsistency in code
2019-06-27 16:26:06 +03:00
Nikita Lapkov
7cff36fbfc
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-06-26 11:46:04 +00:00
Nikolai Kochetov
f9b29bfdd2
Merged with master.
2019-06-25 20:00:54 +03:00
Nikolai Kochetov
96174e90b0
Fix build.
2019-06-25 19:41:00 +03:00
Ivan Lezhankin
0917573493
Merge remote-tracking branch 'upstream/master' into issue-5286
2019-06-24 14:42:58 +03:00
proller
1ac09fa721
Split Common/config.h by libs (dbms) ( #5715 )
2019-06-24 14:17:15 +03:00
Vitaliy Zakaznikov
d87ed7f267
* Adding max_live_view_insert_blocks_before_refresh setting
...
with default value of 64
* Updating writeIntoLiveView method to use max_live_view_insert_blocks_before_refresh
from global context instead of hard coded number
* Adding squashing of the result blocks similar how it is done in materialized views
* Fixing bug in writeIntoLiveView that caused incoming block to be processed twice
when maximum number of insert blocks was reached
2019-06-23 09:51:29 -04:00
alesapin
ca1626926d
Adjust settings
2019-06-21 18:11:33 +03:00
alexey-milovidov
f6d150d9f8
Merge pull request #5688 from izebit/add-distributed_ddl_task_timeout-description
...
add description for distributed_ddl_task_timeout
2019-06-21 02:53:25 +03:00
stavrolia
aff92c263e
Make setting join_use_nulls get no effect for types that cannot be inside Nullable
2019-06-20 16:13:46 +03:00
Ivan Lezhankin
ec78ec8365
Merge branch 'master' into issue-5286
2019-06-20 16:08:22 +03:00
Artem Konovalov
0c4f32a4c0
add description for insert_distributed_timeout
2019-06-19 18:02:51 +03:00
alesapin
4f98f875c3
Add ability to write final mark for *MergeTree engines family ( #5624 )
...
Add the ability to write final mark to *MergeTree engines family.
2019-06-18 15:54:27 +03:00
Vitaliy Zakaznikov
b65ff910b6
Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into liveview
2019-06-07 08:02:59 -04:00
Vitaliy Zakaznikov
2930965938
* Renaming live_view_heartbeat_delay setting to live_view_heartbeat_interval
...
and making the setting to be in seconds instead of usec
* Updated LIVE VIEW table to keep version consistent as long as the server is up
* Removed calculation of hash in writeIntoLiveView method as it is recalculated
in the LiveViewBlockOutputStream
* Changed to using values from the local context for live_view_heartbeat_interval and
temporary_live_view_timeout instead of the global context
* Updated LIVE VIEW tests to match the changes
2019-06-06 21:10:56 -04:00
Ivan Lezhankin
b311984879
Merge remote-tracking branch 'upstream/master' into issue-5286
2019-06-03 17:19:09 +03:00
alexey-milovidov
4819a34394
Merge pull request #5448 from yandex/low-cardinality
...
Add setting suspicious type for low cardinality (fixed #4965 )
2019-05-31 07:35:19 +03:00
alexey-milovidov
261dd5668e
Merge pull request #5477 from yandex/fix-linking-with-lld
...
Fixed linking with lld
2019-05-31 07:00:55 +03:00
Olga Khvostikova
2fc3ce7f5d
Merge branch 'master' into low-cardinality
2019-05-30 16:31:40 +03:00
Nikita Lapkov
8f36af7760
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-05-30 10:33:33 +00:00
Alexey Milovidov
05737678e2
Remove debug logging from MySQL protocol
2019-05-30 11:25:16 +03:00
Alexey Milovidov
1607ec49ba
Fixed linking with lld
2019-05-30 11:23:20 +03:00
stavrolia
60459bbb87
Yet another fix
2019-05-29 20:49:35 +03:00
chertus
3f2e09ac93
Merge branch 'master' into decimal
2019-05-29 13:58:33 +03:00
Vitaliy Zakaznikov
d112695c42
* Adding other changes to support LIVE VIEWs
2019-05-28 17:17:48 -04:00
stavrolia
4cd595b450
Add setting allow suspicious types for low cardinality with long message about error ( fixed #4965 )
2019-05-28 19:10:55 +03:00
Yuriy
96c2bb383f
using logging level from config.xml
2019-05-26 22:30:23 +03:00
Anastasiya Rodigina
65615aaed3
Edit little silly misprints
2019-05-26 12:08:48 +00:00
Yuriy
96e3574a06
Improvements of MySQL Wire Protocol
2019-05-26 09:52:29 +03:00
alexey-milovidov
461c4919d3
Merge pull request #5116 from PerformanceVision/send_header
...
Send a X-ClickHouse summary on the header for HTTP client with number of rows inserted
2019-05-25 20:20:35 +03:00
Nikita Lapkov
06d370dee2
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-05-25 16:23:08 +00:00
Alexey Milovidov
b94f2be154
Merge branch 'mysql' of https://github.com/yurriy/ClickHouse into yurriy-mysql
2019-05-25 17:14:57 +03:00
proller
6c1cb02172
CLICKHOUSE-4523 Fix "Column '0' already exists" in SELECT .. PREWHERE on column with DEFAULT ( #5397 )
...
* CLICKHOUSE-4523 Fix "Column '0' already exists" in SELECT .. PREWHERE on column with DEFAULT
* fix style
* Fix build
* Update iostream_debug_helpers.cpp
* Update evaluateMissingDefaults.cpp
2019-05-25 14:03:12 +03:00
chertus
f82ea1c1d5
dictGet() dictGetOrDefault for Decimals
2019-05-23 17:04:33 +03:00
Ivan Lezhankin
19a850ad75
Use read callback to populate virtual columns in Kafka Engine
2019-05-23 16:20:25 +03:00
Ivan Lezhankin
dd906eabdc
[WIP] refactoring
2019-05-22 22:38:43 +03:00
Nikita Lapkov
382beefdb8
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-05-21 22:52:57 +00:00
anrodigina
d7ee2cb907
Merge branch 'master' into clickhouse-4013
2019-05-18 15:34:23 +03:00
alexey-milovidov
24b16da9fd
Merge pull request #5235 from vitlibar/improve-new-json-functions
...
Improve new json functions
2019-05-18 12:51:41 +03:00
Yuriy
4a14eac00b
fixed memory leak and changed logging levels
2019-05-17 16:00:09 +03:00
Vitaly Baranov
823d862ceb
Add a setting to disable simdjson.
2019-05-16 22:39:49 +03:00
Yuriy
0cd3094240
fixed stack buffer overflow
2019-05-16 20:15:43 +03:00
chertus
fdcbf509bb
support quantile(s)ExactWeighted for Decimal
2019-05-16 17:33:13 +03:00
Yuriy
a51c293ec6
merged 'origin/master' into mysql
2019-05-16 14:19:05 +03:00
Vitaly Baranov
c93bd31695
Simplify template implementation.
2019-05-16 14:09:22 +03:00
Yuriy
4ee84810b0
including information about query execution in response
2019-05-16 08:36:08 +03:00
Yuriy
ff4937859e
added MySQL wire protocol presentational format
2019-05-16 06:34:04 +03:00
alexey-milovidov
2cbbbba7c8
Merge pull request #5269 from vitlibar/fix-postfix-increment-in-settings
...
Fix postfix increment operator in Settings::iterator
2019-05-14 22:24:03 +03:00
Ivan
4a5832b18a
Check the time limit every (flush_interval / poll_timeout) number of rows from Kafka ( #5249 )
2019-05-14 18:52:03 +03:00
Vitaly Baranov
4674ac2091
Fix postfix increment operator of Settings::iterator
2019-05-14 18:46:01 +03:00
Nikolai Kochetov
808d0f3b08
Merged with master.
2019-05-14 13:31:19 +03:00
Guillaume Tassery
1ae8948177
Merge branch 'master' of https://github.com/yandex/ClickHouse into send_header
2019-05-13 13:35:12 +07:00
Nikita Lapkov
6dbe205b55
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-05-12 16:16:30 +00:00
alexey-milovidov
f7343ecb6f
Merge pull request #4639 from IvanKush/feat/parallel-alter-modify
...
feat alter: parallelize processing of parts in alter modify
2019-05-12 00:39:46 +03:00
alexey-milovidov
8ef7f3589a
Merge pull request #4936 from TCeason/feature/support_settings_for_async
...
Suport settings for async distributed inserts (#4852 )
2019-05-09 23:59:29 +03:00
Danila Kutenin
8be1bc009a
move CpuId to Common
2019-05-09 13:33:56 +03:00
Guillaume Tassery
6dcaadc620
Merge remote-tracking branch 'upstream/master' into send_header
2019-05-06 17:18:41 +07:00
Guillaume Tassery
e0bd16c1f4
Backward compatibility for write progress with old version of server and client
2019-05-06 13:14:37 +07:00
alexey-milovidov
a1af9a14fe
Temporarily enable "optimize_pk_order" by default to force run real tests.
2019-05-05 23:37:52 +03:00
alexey-milovidov
c04c614bc0
Merge branch 'master' into clickhouse-4013
2019-05-05 23:22:45 +03:00
ivan-kush
9ce742e040
Merge remote-tracking branch 'upstream/master' into feat/parallel-alter-modify
2019-05-03 00:25:56 +03:00
Vitaly Baranov
2dfe73eefc
Merge pull request #5156 from vitlibar/settings-constraints-remove-thread-local
...
Get rid of thread_local in SettingsConstraints.cpp
2019-04-30 20:40:52 +03:00
Danila Kutenin
7a2e40da28
pragma once in header file
2019-04-30 19:48:33 +03:00
Danila Kutenin
3f1523a80a
Merge pull request #5070 from danlark1/master
...
Upgrade our LZ4 decompression with the new reference implementation optimizations
2019-04-30 19:29:24 +03:00
Vitaly Baranov
19259ab5e3
Get rid of thread_local in SettingsConstraints.cpp
2019-04-30 17:09:10 +03:00
tai
0d39968233
Suport settings for async( #4852 )
...
There is no hash operation on Settings. Because it is less valuable for hash operations.
And I dont know how to write a testcase.
2019-04-29 17:02:23 +08:00
Yuriy
d21cf9d85f
ssl support
2019-04-29 09:05:30 +03:00
Vitaly Baranov
28d9a80072
Rename macro APPLY_FOR_SETTINGS => LIST_OF_SETTINGS.
2019-04-29 03:22:59 +03:00
Vitaly Baranov
5beaf33a9f
Get rid of code duplication, use templates.
2019-04-29 03:22:59 +03:00
ivan-kush
26b3910b7d
tsan debug
2019-04-27 20:01:30 +03:00
ivan-kush
40be74ac65
refactor
2019-04-27 18:27:57 +03:00
Anastasiya Rodigina
747d2e0d3a
Change pipeline + add optimize stuff into Settings.h
2019-04-27 12:39:03 +03:00
Vitaly Baranov
1b8c01e940
Transform comments for MergeTreeSettings into descriptions.
2019-04-27 01:09:16 +03:00
Vitaly Baranov
738a49f534
Use iterators instead of macros APPLY_FOR_SETTINGS and others.
2019-04-27 01:09:16 +03:00
Vitaly Baranov
77e7838c30
Implemented iterators in the SettingsCollection template class
2019-04-26 19:11:05 +03:00
Vitaly Baranov
d43e7a8960
Implement max
constraints for number settings.
2019-04-26 19:11:05 +03:00
Vitaly Baranov
8277e9d8f1
Refactoring of Settings based on new template class SettingsCollection.
...
Add new class SettingsConstraints.
2019-04-26 19:11:05 +03:00
Danila Kutenin
f86cf7bd11
Correct cpu dispatch, nounroll for clang
2019-04-26 00:53:22 +03:00
ivan-kush
86af5fc0c2
Merge remote-tracking branch 'upstream/master' into feat/parallel-alter-modify
2019-04-25 22:48:44 +03:00
Danila Kutenin
5c68881b72
Really faster LZ4 now, cpu dispatch in ClickHouse
2019-04-25 21:34:32 +03:00
alexey-milovidov
1de889c201
Merge pull request #5081 from Akazz/master
...
Support for header specified order of columns in TSVWithNames/CSVWithNames formats
2019-04-24 18:59:09 +03:00
Yuriy
a4bf3621e3
merged with master
2019-04-23 21:58:29 +03:00
dmitriiut
a2c3fd2057
bug fixes
2019-04-23 04:48:51 +03:00
Alexey Milovidov
58d7d1e451
Resolved some of PVS-Studio warnings
2019-04-22 19:07:09 +03:00
Alexander Kazakov
d90bab5e33
In [T|C]SVWithNames formats start using column information from header
2019-04-22 16:31:17 +03:00
Yuriy
e4766a4ef9
caching_sha2_password authentication plugin
2019-04-22 13:57:50 +03:00
dmitriiut
50c322bc6d
WITH FILL version
2019-04-22 02:04:23 +03:00
dmitriiut
3c2922c406
Merge branch 'master' into dmitriiut-WITH_TIES_and_WITH_FILL
2019-04-21 19:37:38 +03:00
dmitriiut
e94575e1da
fix progress
2019-04-21 19:16:25 +03:00
dmitriiut
8a7853b0a8
parser WITH FILL
...
some interpreter changes
2019-04-21 06:36:59 +03:00
Alexey Milovidov
ee1a843609
COWPtr: improvements (C++ Russia 2019, suggested by Alexey Malov)
2019-04-19 23:22:06 +03:00
alesapin
214bf77b17
Merge pull request #5012 from nvartolomei/nv/lb-first-or-random
...
Add FIRST_OR_RANDOM Load Balancing policy
2019-04-18 18:54:04 +03:00
alexey-milovidov
ab27970fd7
Merge pull request #5028 from mhsekhavat/patch-1
...
Fix settings.max_partitions_per_insert_block type
2019-04-18 16:39:17 +03:00
proller
ad42179bec
Remove rvo_test
2019-04-18 15:25:30 +03:00
Ivan
118bea2be6
Enable predicate push-down optimization by default. ( #4846 )
...
* Enable predicate push-down optimization by default.
* Forbid push-downs for some JOIN cases.
* Fix existing tests
* Forbid optimization if a select query has ARRAY JOIN on any side.
2019-04-18 13:39:25 +03:00
Vitaly Baranov
58a9105038
Fix ubsan error "outside the range of representable values" in convertFieldToType.cpp
2019-04-17 19:10:40 +03:00
Mohammad Hossein Sekhavat
322079e2af
Fix settings.max_partitions_per_insert_block type
...
The `max_partitions_per_insert_block` field is of `size_t` type, rather than `Boolean`
2019-04-17 10:16:02 +00:00
Nicolae Vartolomei
c2ec23c953
Add FIRST_OR_RANDOM Load Balancing policy
...
For cross-replication topology setups load_balancing=in_order works best
as nodes handle equal amount of load and usually they hit only 1/n of
data (n = number of replicas), which makes page cache usage more
efficient.
The problem is when one node of the shard goes down. If one replica goes
down, the next one in config will handle twice the usual load while
remaining ones will handle usual traffic.
Closes #4820 .
2019-04-15 23:31:40 +01:00
alesapin
a53b002973
Merge remote-tracking branch 'origin' into adaptive_index_granularity
2019-04-08 14:29:33 +03:00
Yuriy
2789a83c03
fixed compilation with clang
2019-04-08 10:03:04 +03:00
Yuriy
1dc5c4cba3
explicitly defined constructors
2019-04-07 15:33:06 +03:00