alesapin
fd3abbe93d
Merge pull request #4935 from zhang2014/feature/support_system_replicas
...
Support system replicas queries for distributed
2019-06-17 15:30:30 +03:00
alesapin
e45d727e9d
Merge pull request #4558 from podshumok/distributred-timeout
...
Distributed and remote timeouts
2019-06-17 13:58:17 +03:00
Alexey Milovidov
413b780b65
Various fixes for PVS-Studio
2019-06-16 21:13:39 +03:00
alexey-milovidov
39c6fbc324
Merge pull request #5567 from vitlibar/really-lazy-dictionary-load
...
Non-blocking loading of external dictionaries
2019-06-15 22:15:53 +03:00
alexey-milovidov
a52e13b891
Merge pull request #5640 from yandex/use-ipv6-in-system-tables
...
Adopted IPv6 data type in system tables; unified client info columns in system.processes and system.query_log
2019-06-15 21:21:24 +03:00
Alexey Milovidov
d8f76152d5
Adopted IPv6 data type in system tables; unified client info columns in system.processes and system.query_log
2019-06-15 17:20:32 +03:00
Alexey Milovidov
b2100c7bcf
Removed strange quoting style like `this'. See https://english.stackexchange.com/questions/17695/any-reference-on-the-usage-of-a-backtick-and-single-quotation-mark-like-this
...
Added backQuote and backQuoteIfNeed when required to correctly quote identifiers with proper escaping.
2019-06-15 15:06:22 +03:00
alexey-milovidov
807bfa913e
Merge pull request #5599 from zhang2014/fix_createtable_bug
...
Add database engine of MySQL type
2019-06-15 14:52:57 +03:00
Vitaly Baranov
b4384ce2a9
Dictionaries can be loaded in parallel.
...
A bad dictionary cannot block all the loading anymore.
Implemented really lazy loading of external dictionaries.
Provided more detailed information about the loading of each dictionary
to make diagnostics easier.
2019-06-14 22:18:47 +03:00
proller
7e7b5b3810
Allow run query with remote() in clickhouse-local; Aloow redefine config from command line for clickhouse-local
2019-06-14 18:35:45 +03:00
alexey-milovidov
eb1fe2ed17
Merge pull request #5613 from sundy-li/improve/distribute-alter-more
...
make isSupportedAlterType better
2019-06-14 15:39:09 +03:00
sundy-li
eac978f1e0
make isSupportedAlterType better
2019-06-14 11:06:08 +08:00
Alexey Milovidov
c846d0f6af
Namespace comments are unneeded according to the code style.
...
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l -P '}\s*//+\s*namespace\s*' | xargs sed -i -r -e 's/}\s*\/\/+\s*namespace\s*.*$/}/'
2019-06-13 13:43:37 +03:00
zhang2014
6ccef4d802
Add database engine of MySQL type
...
Co-authored-by: zhang2014 <coswde@gmail.com>
Co-authored-by: TCeason <tai_chong@foxmail.com>
2019-06-13 11:58:58 +08:00
sundy-li
d23e505414
remove line
2019-06-12 18:56:01 +08:00
sundy-li
38d4d2937e
Support more AlterType in distribute DDL
2019-06-12 18:50:50 +08:00
Orivej Desh
5ec179377a
DEVTOOLS-5170 Delete Y_IGNORE markers ( #5533 )
...
They have been superseded by a new include resolution configuration that lives
outside clickhouse source tree.
2019-06-05 14:52:39 +03:00
Konstantin Podshumok
633f2f2664
limit remote timeouts to max_execution_time for SelectStreamFactory
2019-06-02 12:43:20 +03:00
Konstantin Podshumok
d52be42c37
use new timeouts in ClusterProxy
2019-06-02 12:43:20 +03:00
Konstantin Podshumok
bebd19135a
remove connections_with_failover_max_tries
and getSaturated(settings.max_execution_time)
from Cluster
2019-06-02 12:43:20 +03:00
alexey-milovidov
086572b604
Merge pull request #5503 from 4ertus2/bugs
...
Fix union all supertype column
2019-06-02 06:18:33 +03:00
alesapin
117c9edda7
Merge pull request #5489 from azat-archive/DDLWorker-fix
...
Skip ZNONODE during DDL query processing
2019-05-31 18:34:47 +03:00
chertus
28c1a60eb7
fix union all supertype column
2019-05-31 15:36:44 +03:00
Azat Khuzhin
eb5f46fb07
Skip ZNONODE during DDL query processing
...
Right now if another node removes the znode in task_queue, the one that
did not process it, but already get list of children, will terminated
the DDLWorker thread, and this is very unconvinient because you do not
have any sane way to know is DDLWorker still running or not (except for
timed out DDL queries or via debugger), and the clickhouse-server it
self do not fail either.
Fixes : #5064
2019-05-30 20:25:29 +03:00
Olga Khvostikova
2fc3ce7f5d
Merge branch 'master' into low-cardinality
2019-05-30 16:31:40 +03:00
proller
a813a001e2
Allow to use internal compiler with system includes (fix compile for freebsd) ( #5447 )
...
* Allow to use internal compiler with system includes (fix compile for freebsd)
* Fix macos build
2019-05-30 15:58:15 +03:00
stavrolia
60459bbb87
Yet another fix
2019-05-29 20:49:35 +03:00
stavrolia
605de8c36c
Fixed
2019-05-29 17:59:11 +03:00
zhang2014
80788cd7a8
Rename system sync distributed to system flush distributed
2019-05-29 10:43:52 +08:00
zhang2014
1a33840964
fix review
2019-05-29 10:43:52 +08:00
zhang2014
c44f608868
support replicas system queries for distributed
2019-05-29 10:43:52 +08:00
stavrolia
3edf296aa3
Change error message
2019-05-28 22:09:40 +03:00
stavrolia
0a5fb04b56
One more fixed
2019-05-28 21:32:14 +03:00
stavrolia
aa0e227288
Fixed
2019-05-28 21:08:47 +03:00
stavrolia
976815660f
Fix improvement of check
2019-05-28 20:28:17 +03:00
stavrolia
a91e72eb39
Improve check
2019-05-28 19:45:27 +03: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
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
Alexey Milovidov
207d2048c6
Added forward declarations
2019-05-25 17:15:22 +03:00
Alexey Milovidov
b94f2be154
Merge branch 'mysql' of https://github.com/yurriy/ClickHouse into yurriy-mysql
2019-05-25 17:14:57 +03:00
alexey-milovidov
bffe621d94
Merge pull request #5407 from kvap/all-columns-required-in-limit-by
...
Mark all input columns in LIMIT BY as required output
2019-05-25 15:13:01 +03:00
alexey-milovidov
9e24c8d19a
Merge pull request #5396 from 4ertus2/ast
...
Support IN in CrossToInnerJoin push down predicates
2019-05-25 14:07:45 +03:00
alexey-milovidov
661d661d57
Update CrossToInnerJoinVisitor.cpp
2019-05-25 14:05:12 +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
alexey-milovidov
1d98441c34
Update ExpressionAnalyzer.cpp
2019-05-25 13:51:48 +03:00
chertus
9eca696e82
actualize isNumber for Decimal
2019-05-24 15:11:03 +03:00
Constantin S. Pan
cbc0f56af1
Mark all input columns in LIMIT BY as required output
...
The query analyzer only marks the actual arguments of LIMIT BY as required
output for the LimitBy step in the pipeline. This is fine, unless the query is
distributed, in which case the first stage might remove a column that is used
at the second stage (e.g. for ORDER BY) but is not part of the final select.
Prevent removal of any columns in LimitBy by marking all input columns as
required output.
2019-05-24 09:53:09 +01:00
chertus
333c9aeecc
support IN in CrossToInnerJoin push down
2019-05-23 19:01:17 +03:00
Guillaume Tassery
938d6d7f24
coding style
2019-05-21 11:06:36 +07:00
chertus
187311add0
add decimal to decimal convertion in IN
2019-05-20 18:51:54 +03:00