proller
324317ff6f
clickhouse-client: allow to run with unaccessable history file (read only, no disk space, file is directory, ...)
2019-05-27 21:56:50 +03:00
alexey-milovidov
ead911efc2
Merge pull request #5419 from yurriy/mysql
...
Improvements of MySQL Wire Protocol
2019-05-27 04:59:23 +03:00
Yuriy
96c2bb383f
using logging level from config.xml
2019-05-26 22:30:23 +03:00
Sergi Vladykin
2be4721771
Merge branch 'master' of https://github.com/yandex/ClickHouse into bitmap1
2019-05-26 12:27:54 +03:00
Yuriy
96e3574a06
Improvements of MySQL Wire Protocol
2019-05-26 09:52:29 +03:00
Alexander Tretiakov
461fb1eaa8
fix test
2019-05-26 01:51:21 +03:00
Alexander Tretiakov
212731b3e2
merge
2019-05-26 01:45:15 +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
Alexander Tretiakov
946fa5b47e
fix style and add tests
2019-05-25 16:43:52 +03:00
alexey-milovidov
4825ec4928
Merge pull request #5216 from proller/fix15
...
CLICKHOUSE-4509 Fix error codes in DataPartsExchange
2019-05-25 16:13:26 +03:00
Nikita Lapkov
30c31bc85a
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-05-24 13:28:42 +00:00
alesapin
37313d64ee
Merge pull request #5367 from yandex/apply-substitutions-for-create-prepare-drop-query
...
[WIP] Add ability to make substitutions in create, fill and drop query in performance tests.
2019-05-24 11:59:01 +03:00
proller
3bb18d1dc2
Merge remote-tracking branch 'upstream/master' into fix15
2019-05-23 21:38:38 +03:00
Alexander Tretiakov
9099f1810b
merge
2019-05-22 17:41:35 +03:00
stavrolia
dcd5a80843
Remove not used methods
2019-05-22 17:00:32 +03:00
stavrolia
c398db29d4
Fix style
2019-05-22 14:36:31 +03:00
proller
d6a90b6079
Build fixes ( #5368 )
2019-05-22 13:16:16 +03:00
Nikita Lapkov
382beefdb8
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-05-21 22:52:57 +00:00
stavrolia
281a01f5f7
Add ability to make substitutions in create, fill and drop query.
2019-05-21 15:57:19 +03:00
proller
50b74deeb4
CLICKHOUSE-4509 Fix error codes in DataPartsExchange
2019-05-20 20:04:36 +03:00
Guillaume Tassery
6fada68fe5
forget client.cpp
2019-05-20 20:24:53 +07:00
Guillaume Tassery
77b7158cd8
Progress rename for total_rows and write_[rows|bytes]
2019-05-20 18:37:41 +07:00
Alexander Tretiakov
f6812bbb1a
fix style
2019-05-19 02:57:26 +03:00
Alexander Tretiakov
c661f5c0a1
new
2019-05-19 00:07:23 +03:00
alexey-milovidov
dc5232d40d
Update Server.cpp
2019-05-18 13:17:26 +03:00
Yuriy
4a14eac00b
fixed memory leak and changed logging levels
2019-05-17 16:00:09 +03:00
Yuriy
0cd3094240
fixed stack buffer overflow
2019-05-16 20:15:43 +03:00
Yuriy
a51c293ec6
merged 'origin/master' into mysql
2019-05-16 14:19:05 +03:00
stavrolia
ff4d989918
Fixed help instruction of usage
2019-05-16 13:52:41 +03:00
Yuriy
4ee84810b0
including information about query execution in response
2019-05-16 08:36:08 +03:00
Yuriy
459ec05828
fixed style
2019-05-16 06:45:17 +03:00
Yuriy
ff4937859e
added MySQL wire protocol presentational format
2019-05-16 06:34:04 +03:00
proller
0da7463a6b
CLICKHOUSE-4519 Support dictionaries in clickhouse-copier ( #5270 )
2019-05-15 12:16:09 +03:00
proller
8814e0cda5
server: informative listen error messages ( #5268 )
2019-05-14 22:55:10 +03:00
Nikolai Kochetov
808d0f3b08
Merged with master.
2019-05-14 13:31:19 +03:00
proller
cc3de4115f
Build fixes ( #5261 )
2019-05-14 12:58:33 +03:00
Nikolai Kochetov
4453327344
Delete pipeline when query is finished.
2019-05-13 20:02:54 +03:00
alesapin
5aec6dd011
Fix banch of flapping perf tests. Improve average speed calculation
2019-05-13 17:09:11 +03:00
Nikolai Kochetov
73948ab747
Fix data race in PipelineExecutor.
2019-05-13 14:23:55 +03:00
Nikita Lapkov
6dbe205b55
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-05-12 16:16:30 +00:00
svladykin
22389d4eca
Support for bitmapHasAny and bitmapHasAll functions.
2019-05-12 17:47:31 +03:00
Alexey Milovidov
3a01720f5c
Obfuscator: derive seed for individual columns by their name, not position
2019-05-03 01:09:38 +03:00
Alexey Milovidov
1be21e3cb6
Removed bad and useless code in ColumnsDescription
2019-05-02 00:43:05 +03:00
Nikolai Kochetov
e7d36c8b66
Fix rase in TCPHandler.
2019-04-30 19:12:58 +03:00
Nikolai Kochetov
1c0cf652ef
Attach to current thread in threadpool.
2019-04-29 18:01:53 +03:00
Nikolai Kochetov
aacc0572e5
Attach to current thread in threadpool.
2019-04-29 16:57:29 +03:00
Yuriy
8a3e75d92f
fixed style
2019-04-29 09:37:39 +03:00
Yuriy
d21cf9d85f
ssl support
2019-04-29 09:05:30 +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
8277e9d8f1
Refactoring of Settings based on new template class SettingsCollection.
...
Add new class SettingsConstraints.
2019-04-26 19:11:05 +03:00
proller
97c532c0f0
Build fixes ( #5114 )
...
Need to push builder docker image
2019-04-26 02:21:59 +03:00
proller
c6d0e095e0
Prepare cmake for new contrib/poco ( #5062 )
2019-04-25 00:33:04 +03:00
Alexey Milovidov
352d1a8dcf
Fixed inconsistent indentation
2019-04-24 22:38:11 +03:00
Alexey Milovidov
33252941f9
Added a comment
2019-04-24 21:40:45 +03:00
Alexey Milovidov
2428ba70f5
Added option "always_load_suggestion_data" to clickhouse-client #5066
2019-04-24 19:47:04 +03:00
Alexey Milovidov
3741449017
Added option "always_load_suggestion_data" to clickhouse-client #5066
2019-04-24 19:45:21 +03:00
proller
ba4687e110
Cmake: dont use LINK_MODE (but use BUILD_SHARED_LIBS) ( #5091 )
2019-04-24 12:06:28 +03:00
Yuriy
a4bf3621e3
merged with master
2019-04-23 21:58:29 +03:00
proller
fe71142827
Fix segfault in performance-test when no options specified
2019-04-23 17:02:26 +03:00
proller
29c3433322
Freebsd build fixes ( #5083 )
2019-04-23 15:51:27 +03:00
Alexey Milovidov
58d7d1e451
Resolved some of PVS-Studio warnings
2019-04-22 19:07:09 +03:00
Yuriy
e4766a4ef9
caching_sha2_password authentication plugin
2019-04-22 13:57:50 +03:00
Nikolai Kochetov
a07b592a95
Undo add thread_group to ThreadPool
2019-04-18 21:40:55 +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
Nikolai Kochetov
8718b7bb40
Added thread_group argument to ThreadPool.
2019-04-18 17:55:43 +03:00
proller
525726a5e2
Remove pocoext ( #5036 )
2019-04-17 20:36:58 +03: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
filimonov
909521447f
add clickhouse-benchmark accepted stages names
2019-04-15 12:22:05 +02:00
Mikhail Fandyushin
68106d92ea
bringing query id header to consistency
2019-04-10 23:13:41 +03:00
Mikhail Fandyushin
7fc9b8c6fb
Merge branch 'master' into brotli
2019-04-08 21:07:58 +03:00
Nikolai Kochetov
54b15385bd
Calculate rows_before_limit_at_least.
2019-04-08 17:55:20 +03:00
Yuriy
2789a83c03
fixed compilation with clang
2019-04-08 10:03:04 +03:00
Nikita Lapkov
fbdf2c3525
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-04-06 06:58:40 +00:00
proller
eaffca28dd
Copier: auto upload task configuration from --task-file option ( #4876 )
...
* Copier: auto upload task configuration from --task-file option
* task-upload-force
* doc
* Update ClusterCopier.cpp
* Requested changes
2019-04-05 19:10:52 +03:00
Nikolai Kochetov
7626b1b267
Multiple fixes.
2019-04-05 13:52:07 +03:00
proller
bebb4cd140
Merge remote-tracking branch 'upstream/master' into fix15
2019-04-04 14:50:14 +03:00
proller
236f2a4354
clickhouse-copier - fix another segfault ( #4900 )
2019-04-04 12:22:54 +03:00
proller
5b1bde2e80
CLICKHOUSE-4387 Add (official build) to version of yandex builds
2019-04-03 17:06:59 +03:00
Nikolai Kochetov
5e39ec610c
Merged with master
2019-04-03 14:21:38 +03:00
Nikolai Kochetov
94ff7f694a
QueryPipeline [in progress].
2019-04-03 13:14:36 +03:00
Yuriy
3ea33600a0
fixed style check
2019-04-03 01:56:49 +03:00
Yuriy
0f3ec94ebd
added mysql protocol test
2019-04-03 01:45:06 +03:00
alesapin
1d031e9695
Fix readme
2019-04-01 19:36:46 +03:00
alesapin
5585eebe01
Fix level parsing
2019-04-01 19:34:27 +03:00
alesapin
966bee4d93
Parse compression codecs from AST
2019-04-01 19:28:20 +03:00
proller
edaec2353c
CLICKHOUSE-4421 Fix segfault in copier ( #4835 )
...
* Fix segfault in copier
* add test
* better runner
2019-04-01 17:58:04 +03:00
Yuriy
e91fd22b82
fixed style check
2019-04-01 12:59:49 +03:00
Yuriy
107f33e888
added password check and changed packets serialization
2019-04-01 12:27:39 +03:00
Vitaly Baranov
37b904b8f5
Merge pull request #4808 from vitlibar/kafka-with-protobuf-format
...
Kafka with protobuf format
2019-03-30 19:00:57 +03:00
Ivan
957d23267b
Minimal implementation of row-level security CLICKHOUSE-4315 ( #4792 )
...
For detailed description see the related PR
2019-03-29 23:31:06 +03:00
Vitaly Baranov
08f85804d0
Send query settings before data from client to server.
...
Apply query settings only for the containing query (client).
2019-03-29 17:39:00 +03:00
Alexey Milovidov
f4b819c692
Added TRUNCATE to the list of suggested keywords in clickhouse-client
2019-03-28 20:52:50 +03:00
proller
7bcf8ec344
Fix install in shared mode
2019-03-27 20:37:38 +03:00
Alexey Milovidov
9bc4632f20
Avoid progress bar flicker
2019-03-26 17:36:56 +03:00
Nikita Lapkov
4a4ff8d5bf
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-03-23 18:45:22 +00:00
alexey-milovidov
b1279c1323
Merge pull request #4743 from azat-archive/clickhouse-client-tty
...
clickhouse-client: fix --help without tty
2019-03-23 05:54:05 +03:00
Azat Khuzhin
6d8706e692
clickhouse-client: fix --help without tty
...
stdin_is_not_tty is detected too late when the --help message is
printed, so fix this and do not call ioctl if stdin is not tty.
Before this patch:
$ clickhouse-client --help < /dev/null
debug build:
$ dbms/programs/clickhouse-client --help < /dev/null
Main options:
--help
clickhouse-client: ../contrib/boost/libs/program_options/src/options_description.cpp:542:
void boost::program_options::{anonymous}::format_description(std::ostream&, const string&, unsigned int, unsigned int): Assertion `line_length > first_column_width' failed.
Aborted (core dumped)
release build:
$ dbms/programs/clickhouse-client --help < /dev/null
.... print lots of empty lines and so forth ...
v2: add a test and bsdutils into image for tests
v3: adjust minimal cols to the length of one of the longest arguments,
since with line_length=3 boost will bail anyway (under script(1)
ioctl(TIOCGWINSZ) returnes ws_col=0)
2019-03-23 02:01:32 +03:00
proller
e9af289b4d
Fix link in split mode ( #4773 )
2019-03-22 22:09:13 +03:00
proller
fce9db12b9
Move Interpreters/Settings* -> Core/Settings*
2019-03-22 15:08:30 +03:00
Mikhail Fandyushin
e986d0eae6
HTTP Accept-Encoding: br; Final fixes
2019-03-21 00:04:35 +03:00
Mikhail Fandyushin
73a9644da2
HTTP Accept-Encoding: br; Expended ZlibCompressionMethod to generic CompressionMethod; Added brotli to CompressionMethod enum
2019-03-21 00:04:35 +03:00
proller
f697df2079
Tests: fix call .sh from .sh ( #4732 )
2019-03-20 23:04:49 +03:00
Alexey Milovidov
2f7ce49a9c
Merge branch 'master' of github.com:yandex/ClickHouse
2019-03-20 00:35:26 +03:00
Alexey Milovidov
6732e4366c
Commented out readonly user
2019-03-20 00:34:44 +03:00
proller
78e0b1af5e
Fix compression level detection when network_compression_method in lowercase ( #4706 )
2019-03-18 17:59:07 +03:00
Yuriy
bfd53e3ccc
draft
2019-03-17 10:11:22 +03:00
Alexey Zatelepin
304c67da99
Merge branch 'master' into fix-add-materialized-column-after
...
Conflicts:
dbms/src/Interpreters/InterpreterCreateQuery.cpp
dbms/src/Interpreters/InterpreterDescribeQuery.cpp
dbms/src/Interpreters/interpretSubquery.cpp
dbms/src/Storages/ColumnsDescription.cpp
2019-03-17 00:46:53 +03:00
Ivan
8ac3e89628
Merge pull request #4649 from abyss7/iast-as
...
Implement and use method IAST::as<Derived>()
2019-03-15 23:22:46 +03:00
Alexey Zatelepin
a2debdb724
fix use-after-free [#CLICKHOUSE-3101]
2019-03-15 21:52:45 +03:00
Ivan Lezhankin
61954d855d
More reverts
2019-03-15 20:09:14 +03:00
Alexey Zatelepin
b5a0a3fa23
store all kinds of columns in the same list in ColumnsDescription [#CLICKHOUSE-3101]
2019-03-15 19:37:52 +03:00
Ivan Lezhankin
4f6a494af8
Revert references where they were before refactoring.
2019-03-15 19:14:13 +03:00
Ivan Lezhankin
61c24e0844
Overload template method |as<>()| with reference type.
...
Move promotion logic to a separate class
2019-03-15 16:12:11 +03:00
proller
d243c665d1
libclickhouse.so : dont use debug postfix
2019-03-15 14:38:17 +03:00
Ivan Lezhankin
f64118030a
Merge remote-tracking branch 'upstream/master' into iast-as
2019-03-13 17:23:02 +03:00
Alexey Milovidov
1ca16d7882
Fix "bad_alloc" handler clobbering by LLVM library
2019-03-12 22:30:59 +03:00
Alexey Milovidov
9d026ef733
Avoid deadlock on exit if exception was thrown in loadMetadata due to cyclic references in ContextShared that holds BackgroundProcessingPool
2019-03-12 22:30:01 +03:00
proller
9d86f3ce17
clickhouse-split-helper
2019-03-12 16:29:35 +03:00
Ivan Lezhankin
4c1a0ca255
Merge remote-tracking branch 'upstream/master' into iast-as
2019-03-12 15:51:18 +03:00
Ivan Lezhankin
67eefa7b12
Revert wrong replacements of dynamic_cast.
...
dynamic_cast to intermediate type is not equivalent to typeid_cast
2019-03-12 15:41:57 +03:00
Alexey Milovidov
104b0fd7e5
Fixed build
2019-03-11 22:47:06 +03:00
proller
3cbd3ce285
Build fixes ( #4655 )
2019-03-11 21:03:32 +03:00
Ivan Lezhankin
d1ead22073
Rename As<…> → as<…>
2019-03-11 16:22:51 +03:00
Ivan Lezhankin
1e9f7847dc
Merge remote-tracking branch 'upstream/master' into iast-as
2019-03-11 16:11:22 +03:00
Ivan Lezhankin
a7e838e328
Replace all other casts to method IAST::As<Derived>
...
Also remove some redundant methods like IsIdentifier() et. al.
2019-03-11 15:49:39 +03:00
Nikita Lapkov
1ea971ddd2
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-03-10 01:56:41 +00:00
proller
0061df234a
Build fix (split) ( #4641 )
2019-03-09 21:52:46 +03:00
Ivan Lezhankin
0e325c7a4a
Replace const typeid_casts with As<Derived>() method invocations
2019-03-08 12:48:20 +03:00
alexey-milovidov
b72894d693
Merge pull request #4613 from zlobober/host_context
...
CHYT-67: introduce host context for using CH as a library.
2019-03-07 02:35:15 +03:00
Maxim Akhmedov
15576ca809
Better lifetime of query context in TCP handler.
2019-03-07 00:32:26 +03:00
proller
55cf27da07
Build fix (copier)
2019-03-06 23:07:00 +03:00
Maxim Akhmedov
28bc3fd7d8
Remove accidental modification of unrelated file.
2019-03-06 22:28:48 +03:00
alexey-milovidov
61e82da684
Update TCPHandler.cpp
2019-03-06 21:38:26 +03:00
Maxim Akhmedov
9a56294fdf
CHYT-67: introduce host context for using CH as a library.
2019-03-06 19:47:47 +03:00
Nikita Lapkov
12fe175385
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-03-06 10:30:47 +00:00
alexey-milovidov
1df9c1720e
Merge pull request #4426 from Felixoid/graphite-rollup
...
Graphite rollup: combined rules
2019-03-06 03:10:45 +03:00
proller
d2e18d47fb
Fix link in split mode ( #4574 )
2019-03-04 20:47:31 +03:00
alexey-milovidov
97cea95f74
Merge pull request #4536 from amosbird/fixedhashtable
...
A Proper lookup table that uses HashTable's API
2019-03-01 17:47:33 +03:00
Nikita Lapkov
ce4e48d6f4
Merge branch 'master' into query-poor-mans-profiler
2019-03-01 14:22:38 +00:00
Amos Bird
26ab5dd7a7
A Proper lookup table that uses HashTable's API
...
This is the first step of allowing heterogeneous cells in hash tables.
performance test results are
```
1. HashMap<UInt16, UInt8, TrivialHash, HashTableFixedGrower<16>>;
2. NewLookupMap<UInt16, UInt8>
ResolutionWidth 30000 1 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................223550276.46
ResolutionWidth 30000 2 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................248772721.24
Best: 2 - 24877272124
ResolutionWidth 100000 1 ..........................................................................................................................................................................................................................................................238498413.99
ResolutionWidth 100000 2 ..........................................................................................................................................................................................................................................................261808889.98
Best: 2 - 26180888998
ResolutionWidth 300000 1 ...................................................................................239307348.81
ResolutionWidth 300000 2 ...................................................................................257592761.30
Best: 2 - 25759276130
ResolutionWidth 1000000 1 .........................240144759.26
ResolutionWidth 1000000 2 .........................257093531.91
Best: 2 - 25709353191
ResolutionWidth 5000000 1 .....241573260.35
ResolutionWidth 5000000 2 .....259314162.79
Best: 2 - 25931416279
ResolutionDepth 30000 1 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................217108119.84
ResolutionDepth 30000 2 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................249459504.41
Best: 2 - 24945950441
ResolutionDepth 100000 1 ..........................................................................................................................................................................................................................................................229065162.17
ResolutionDepth 100000 2 ..........................................................................................................................................................................................................................................................253769105.64
Best: 2 - 25376910564
ResolutionDepth 300000 1 ...................................................................................233079225.18
ResolutionDepth 300000 2 ...................................................................................256316273.78
Best: 2 - 25631627378
ResolutionDepth 1000000 1 .........................234184633.51
ResolutionDepth 1000000 2 .........................261100491.57
Best: 2 - 26110049157
ResolutionDepth 5000000 1 .....233118795.66
ResolutionDepth 5000000 2 .....252436160.41
Best: 2 - 25243616041
```
2019-03-01 16:47:13 +08:00
alexey-milovidov
918750c3ba
Merge pull request #4535 from yandex/fix-concurrent-alters
...
Fix deadlock of concurrent SELECTs and DDL queries
2019-03-01 04:10:10 +03:00
Alexey Zatelepin
eee73dac42
Merge branch 'master' into fix-concurrent-alters
2019-02-28 19:19:21 +03:00
chertus
ddf0f11e51
fix ClusterCopier crash cause of ThreadStatus not created
2019-02-28 18:49:03 +03:00
Alexey Zatelepin
0d7ab9e3ea
allow acquiring read lock to a table out of order if it was already locked by the same query [#CLICKHOUSE-3789]
...
this is important in preventing ALTER deadlocks
2019-02-27 21:34:38 +03:00
Alexey Milovidov
3b20ecf36a
Merge branch 'master' into fix-bad-parsing-error-message
2019-02-26 13:27:12 +03:00
alexey-milovidov
9d8b91b97a
Merge pull request #4483 from yandex/dont-create-part-log-if-not-defined
...
Do not create part_log if it is not defined in configuration file
2019-02-24 18:27:50 +03:00
Alexey Milovidov
ac2ea9b198
Added 'query_thread_log' section to configuration file. Now query_thread_log doesn't work without this section.
2019-02-24 02:29:38 +03:00
Alexey Milovidov
0d9c438864
Added a test
2019-02-22 20:16:11 +03:00
Alexey Zatelepin
73f852ae82
manually reset DDLWorker in shared context to prevent reference cycles
2019-02-21 19:41:27 +03:00
Mikhail f. Shiryaev
58a5a9dc0c
Fix "only_from_localhost" example
2019-02-21 10:54:06 +01:00
Vitaly Baranov
76aae5f5d0
Add support for settings 'format_schema' in a "INSERT INTO table FORMAT" query.
2019-02-20 05:32:29 +03:00
proller
e20c77e4c6
Add parquet support. Fixes, tests, ...
2019-02-19 23:51:44 +03:00
Alexey Milovidov
11fc35e098
Fixed accidential incompatibility due to wrong implementation of "send_logs_level" setting
2019-02-19 16:27:59 +03:00
alesapin
b2d90d5c10
Add CLI settings for clickhouse-performance-test.
2019-02-18 18:43:58 +03:00
proller
263e69e861
Build fixes (FreeBSD port) ( #4397 )
2019-02-15 14:46:07 +03:00
Alexey Milovidov
46e8553b1f
Config: added clarification
2019-02-14 00:16:40 +03:00
alesapin
af4c4dc1e5
Fix old clients insert query processing with embedded data
2019-02-13 15:54:22 +03:00
Mikhail
4fd289c1f4
Merge branch 'master' into brotli
2019-02-12 22:52:23 +03:00
proller
af29067fa9
Merge remote-tracking branch 'upstream/master' into fix10
2019-02-12 12:51:01 +03:00
alesapin
067ee98852
Forward settings in perf test and fix exception in uniq.xml
2019-02-12 12:13:31 +03:00
proller
428f7ce27b
Fix split link of dbms/programs/odbc-bridge
2019-02-12 00:43:29 +03:00
Mikhail
763b3dcf73
Merge branch 'master' into brotli
2019-02-11 23:44:39 +03:00
alesapin
acd8c8bd28
Skip unfulfilled tests in preformance-test
2019-02-11 18:45:41 +03:00
alexey-milovidov
81a184c47f
Merge pull request #4301 from yandex/input-data-in-perf-test
...
Fix perf-test input data and refactor two tests
2019-02-11 12:52:03 +03:00
alexey-milovidov
4f2b35cb10
Merge pull request #4215 from abyss7/CLICKHOUSE-3729
...
Report progress from server-side to keep client connections alive
2019-02-11 02:07:57 +03:00
Alexey Milovidov
5ed720b522
Fixed typo
2019-02-11 00:17:52 +03:00
Alexey Milovidov
0861af12a3
Fixed thread names
2019-02-11 00:15:14 +03:00
Alexey Milovidov
a1754f76b5
Added one more keyword for command line completions #4328
2019-02-10 23:30:28 +03:00
alexey-milovidov
0dd618b9ad
Merge pull request #4326 from yandex/duplicate-includes
...
Removed duplicate includes
2019-02-10 22:31:37 +03:00
Alexey Milovidov
ba3cb83a84
Removed duplicate includes
2019-02-10 20:12:22 +03:00
Alexey Milovidov
58a6accee5
Updated test #4246
2019-02-10 19:55:12 +03:00
Alexey Milovidov
eb39f6b653
Cleanup #4240
2019-02-10 01:38:26 +03:00
Alexey Milovidov
dc863dd8a0
Merge branch 'reduce_max_memory_and_caches_size' of https://github.com/k-lopatin/ClickHouse into k-lopatin-reduce_max_memory_and_caches_size
2019-02-10 01:11:46 +03:00
Nikita Lapkov
b8d78807fe
Merge remote-tracking branch 'parent/master' into query-poor-mans-profiler
2019-02-09 21:45:34 +00:00
Alexey Milovidov
5b97abe693
Fixed use after free in clickhouse-client (suggestion thread)
2019-02-08 21:15:54 +03:00
alesapin
0a4c99efe4
More effective
2019-02-07 19:09:06 +03:00
alesapin
15488a21eb
Really process single query instead of preparsed multiquery
2019-02-07 19:03:02 +03:00
Ivan Lezhankin
92769a2460
Don't update "arrow" on client-side for nothing
2019-02-07 16:47:16 +03:00
alesapin
48bd750856
Fix perf-test input data and refactor two tests
2019-02-07 16:18:04 +03:00
alesapin
f4e9dab229
Merge branch 'master' of github.com:yandex/ClickHouse
2019-02-06 18:49:10 +03:00
alesapin
3c4f54f6f7
Fix report builder
2019-02-06 18:48:53 +03:00
KochetovNicolai
9f971c276f
Merge pull request #3669 from Enmk/ipv4_and_ipv6_domains
...
Ipv4 and ipv6 domains
2019-02-06 18:16:58 +03:00
alesapin
3c4b7cb37b
Do not report quantilies in perf test if thereis no values.
2019-02-06 16:12:48 +03:00
alesapin
321caa7f5c
Enable all metrics in performance test by default
2019-02-06 14:44:00 +03:00
Mikhail Fandyushin
1ee18203ae
handle brotli errors; working wersion of BrotliReadBuffer
2019-02-06 02:12:31 +03:00
Nikita Vasilev
a1b0dede07
Data Skipping Indices ( #4143 )
...
* made index parser
* added index parsing
* some fixes
* added index interface and factory
* fixed compilation
* ptrs
* added indexParts
* indextypes
* index condition
* IndexCondition
* added indexes in selectexecutor
* fix
* changed comment
* fix
* added granularity
* comments
* fix
* fix
* added writing indexes
* removed indexpart class
* fix
* added setSkipIndexes
* add rw for MergeTreeIndexes
* fixes
* upd error
* fix
* fix
* reading
* test index
* fixed nullptr error
* fixed
* fix
* unique names
* asts -> exprlist
* minmax index
* fix
* fixed select
* fixed merging
* fixed mutation
* working minmax
* removed test index
* fixed style
* added indexes to checkDataPart
* added tests for minmax index
* fixed constructor
* fix style
* fixed includes
* fixed setSkipIndexes
* added indexes meta to zookeeper
* added parsing
* removed throw
* alter cmds parse
* fix
* added alter
* fix
* alters fix
* fix alters
* fix "after"
* fixed alter
* alter fix + test
* fixes
* upd setSkipIndexes
* fixed alter bug with drop all indices
* fix metadata editing
* new test and repl fix
* rm test files
* fixed repl alter
* fix
* fix
* indices
* MTReadStream
* upd test for bug
* fix
* added useful parsers and ast classes
* fix
* fix comments
* replaced columns
* fix
* fixed parsing
* fixed printing
* fix err
* basic IndicesDescription
* go to IndicesDescr
* moved indices
* go to indicesDescr
* fix test minmax_index*
* fixed MT alter
* fixed bug with replMT indices storing in zk
* rename
* refactoring
* docs ru
* docs ru
* docs en
* refactor
* rename tests
* fix docs
* refactoring
* fix
* fix
* fix
* fixed style
* unique idx
* unique
* fix
* better minmax calculation
* upd
* added getBlock
* unique_condition
* added termForAST
* unique
* fixed not
* uniqueCondition::mayBeTrueOnGranule
* fix
* fixed bug with double column
* is always true
* fix
* key set
* spaces
* test
* tests
* fix
* unique
* fix
* fix
* fixed bug with duplicate column
* removed unused data
* fix
* fixes
* __bitSwapLastTwo
* fix
2019-02-05 17:50:25 +03:00
Ivan Lezhankin
8c640f54f8
Fix clang-7 warnings
2019-02-05 13:19:34 +03:00
Mikhail Fandyushin
7e9e34bebf
WIP: Reading brotli encoded HTTP messages. First-draft-ugly implementation, but its works
2019-02-05 01:15:08 +03:00
alesapin
e1f4e02766
Add ability to run queries by indexes
2019-02-04 20:37:55 +03:00
Ivan Lezhankin
994926e568
Merge remote-tracking branch 'upstream/master' into CLICKHOUSE-3729
2019-02-04 20:13:50 +03:00
alexey-milovidov
39f8eb571f
Merge pull request #4213 from nvartolomei/nv/http-cancel
...
Cancel http read only queries if client socket goes away
2019-02-04 17:33:47 +03:00
alexey-milovidov
a29385108a
Update Server.cpp
2019-02-04 15:49:54 +03:00
Vasily Nemkov
2716df8ab2
IPv4 and IPv6 Domain implementation.
...
Added:
* IDataTypeDomain interface;
* method DataTypeFactory::registerDataTypeDomain for registering domains;
* DataTypeDomainWithSimpleSerialization domain base class with simple serialization/deserialization;
* Concrete IPv4 and IPv6 domain implementations: DataTypeDomanIPv6 and DataTypeDomanIPv4;
Updated:
* IDataType text serialization/deserialization methods;
* IDataType implementation to use domain for text serialization/deserialization;
* Refactored implementation of the IPv4/IPv6 functions to use formatIPv4/v6 and parseIPv4/v6 from Common/formatIPv6.h;
Tests:
* Added test cases for IPv4 and IPv6 domains.
* Updated IPv4/v6 functions tests to validate more cases;
* Added performance tests for IPv4 and IPv6 related functions;
2019-02-04 12:37:46 +03:00
Lopatin Konstantin
97cb36ac2e
Clickhouse server version option support
2019-02-04 12:21:12 +03:00
Nikita Lapkov
5c54bbb750
write traces to trace_log
2019-02-03 21:30:45 +00:00
Lopatin Konstantin
86f226d62e
Reduce max memory usage, max memory usage for all querie, mark cache size and uncompressed cache size accordingly to available memory amount
2019-02-04 00:23:17 +03:00
alexey-milovidov
8db13da097
Update HTTPHandler.cpp
2019-02-03 23:40:34 +03:00
alexey-milovidov
450c575c7e
Merge pull request #4230 from bsd-conqueror/missing_password_value
...
Fixed the issue when --password was used without a value
2019-02-02 20:53:15 +03:00