alesapin
8047aab684
Add const
2019-08-26 13:13:56 +03:00
alesapin
062034dfd8
Eventually merged with master
2019-08-26 13:07:32 +03:00
Alexey Milovidov
2a3e0eb1f1
Merge branch 'master' into merge-constraints
2019-08-26 04:30:31 +03:00
Alexey Milovidov
3fef8e92ad
Merging CONSTRAINTS support
2019-08-25 00:20:20 +03:00
Alexey Milovidov
cdd6dca517
Remove Compiler
2019-08-24 00:10:26 +03:00
Alexander Tokmakov
1572d0c5b6
Merge branch 'master' into merging_template_format
2019-08-23 20:34:14 +03:00
Alexander Tokmakov
734a0f23a9
Merge branch 'master' into merging_template_format
2019-08-23 15:32:35 +03:00
Alexey Milovidov
84b0f709aa
Removed useless code
2019-08-23 08:08:06 +03:00
alexey-milovidov
7012a421c6
Merge branch 'master' into alter_table_drop_detached_part
2019-08-23 05:22:07 +03:00
Alexey Milovidov
99f4c9c813
Moved settings that were in a wrong place
2019-08-23 05:01:24 +03:00
Alexey Milovidov
e3bd572fc7
Removed unused settings
2019-08-23 05:00:35 +03:00
alexey-milovidov
66ff7cd43e
Merge pull request #6619 from yandex/live-view-code-quality
...
Basic code quality of LiveView
2019-08-23 04:27:12 +03:00
alexey-milovidov
5c99780b08
Merge pull request #6606 from yandex/processors-2
...
Enable processors by default.
2019-08-23 02:50:11 +03:00
Alexey Milovidov
78c3be175c
Added experimental setting for LIVE VIEWs
2019-08-23 02:46:40 +03:00
CurtizJ
5c2309132d
Merge remote-tracking branch 'upstream/master' into merging_with_ties_and_with_fill
2019-08-23 02:18:45 +03:00
Alexander Tokmakov
81022bb3e9
Merge branch 'master' into alter_table_drop_detached_part
2019-08-22 23:38:58 +03:00
CurtizJ
9fdb9e5805
implement modifier 'with fill' for 'order by' clause
2019-08-21 15:59:03 +03:00
Nikolai Kochetov
2a0a051090
Enable processors by default.
2019-08-21 14:34:40 +03:00
alesapin
70ca7f4156
Merge with master
2019-08-21 11:57:35 +03:00
Alexey Milovidov
8966520801
Added "assert_cast" function as a replacement for static_cast for columns
2019-08-21 05:28:04 +03:00
Nikolai Kochetov
aef03fd9bf
Merge pull request #6425 from yandex/vzakaznikov-liveview
...
Merge LIVE VIEW
2019-08-20 17:13:42 +03:00
BayoNet
e986d6ba53
DOCAPI-7459: skip_unavailable_shards docs ( #6361 )
...
* Link fix.
* DOCAPI-7459: skip_unavailable_shards docs
* Update dbms/src/Core/Settings.h
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
* Update docs/en/operations/settings/settings.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
* Update docs/en/operations/settings/settings.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
* Update docs/en/operations/settings/settings.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
* DOCAPI-7459: Markup fixes.
2019-08-20 15:06:52 +03:00
Ivan
a502424c33
Implement support for insertion into Kafka tables ( #6012 )
...
* Add write-callback on each row for RowOutputStream
* Fix build of new rdkafka library
* Poll messages if Kafka outgoing queue is full
* Add test
* Add test producer-consumer
* Truncate delimiter from last row in message
2019-08-20 14:17:57 +03:00
Nikolai Kochetov
cdf1ce3171
Merge branch 'master' into vzakaznikov-liveview
2019-08-20 10:41:31 +03:00
alesapin
e7542810bb
Merge with master
2019-08-19 11:20:48 +03:00
alexey-milovidov
29cc99ad58
Merge pull request #6194 from yurriy/mysql
...
Compatibility with more MySQL clients.
2019-08-18 16:28:13 +03:00
proller
d09c5c871b
Build fixes ( #6491 )
...
* Fix build
* cmake: fix cpuinfo
* Fix includes after processors merge
Conflicts:
dbms/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp
dbms/src/Processors/Formats/Impl/ParquetBlockOutputFormat.cpp
dbms/src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp
dbms/src/Processors/Formats/Impl/ProtobufRowOutputFormat.cpp
* Fix build in gcc8
* fix test link
* fix test link
* Fix test link
* link fix
* Fix includes after processors merge 2
Conflicts:
dbms/src/Processors/Formats/Impl/ParquetBlockInputFormat.cpp
* Fix includes after processors merge 3
* link fix
* Fix likely/unlikely conflict with cython
* Fix conflict with protobuf/stubs/atomicops.h
* remove unlikely.h
* Fix macos build (do not use timer_t)
2019-08-18 01:53:46 +03:00
Yuriy
25c882e3cc
fixed unbundled build
2019-08-16 00:22:54 +03:00
Yuriy
c5b6d1f9bf
merged origin/master
2019-08-15 19:48:10 +03:00
CurtizJ
22d9bd06cc
Merge branch 'dmitriiut-WITH_TIES_and_WITH_FILL' of https://github.com/dmitriiut/ClickHouse into merging_with_ties_and_with_fill
2019-08-14 16:40:07 +03:00
Vxider
09a67981b7
build fix
2019-08-14 14:56:43 +08:00
alesapin
7b1039568c
Revert old changed
2019-08-13 14:24:18 +03:00
alesapin
1b68d79c59
Revert immutable settings
2019-08-13 13:56:58 +03:00
alesapin
428c753ed7
Merge with master
2019-08-13 11:37:47 +03:00
Nikolai Kochetov
631bbde420
Merged with master.
2019-08-12 13:19:13 +03:00
kreuzerkrieg
112fc71276
adding -Wshadow for GCC
2019-08-09 23:58:16 +03:00
Nikolai Kochetov
2ae3db7920
Merged with master.
2019-08-09 18:32:44 +03:00
alesapin
2803fcc2ba
Make atomic settings
2019-08-09 16:07:19 +03:00
Alexey Milovidov
f609e8a785
Slightly more safe parsing of NamesAndTypesList
2019-08-09 03:00:32 +03:00
Alexander Tokmakov
ae6efb23b4
Merge branch 'master' into alter_table_drop_detached_part
2019-08-08 22:31:31 +03:00
alesapin
50cabe4ab0
Comment
2019-08-08 22:30:32 +03:00
alesapin
a03fcd9f12
Make settings values atomic to avoid race conditions
2019-08-08 22:29:56 +03:00
alexey-milovidov
35f4e7cf33
Merge pull request #6351 from 4ertus2/some
...
Disable ANY RIGHT and ANY FULL JOINs by default
2019-08-08 19:16:49 +03:00
Alexander Tokmakov
b5eee531a9
fix setting name
2019-08-08 19:08:43 +03:00
chertus
391574f361
rename setting + disable ANY INNER JOIN too
2019-08-08 17:20:25 +03:00
alesapin
7409f1a3de
More comments
2019-08-07 18:33:10 +03:00
alesapin
e62101b8e8
Better comment
2019-08-06 19:29:31 +03:00
alesapin
ca29343f54
Uniq settings
2019-08-06 17:09:36 +03:00
alesapin
52b9658bcf
Merge with master
2019-08-06 15:55:12 +03:00
alesapin
e12cb8da6d
Add some changes
2019-08-06 15:52:08 +03:00
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