Commit Graph

15085 Commits

Author SHA1 Message Date
Alexey Milovidov
4f8d1872d2 Merge branch 'master' of github.com:yandex/ClickHouse into fix-thread-pool-hang-if-full 2019-08-03 02:51:46 +03:00
alexey-milovidov
0ee60229ea
Merge pull request #6303 from yandex/part-name-more-checks
More validation of part_name
2019-08-03 02:27:06 +03:00
Alexey Milovidov
11762f6eec Updated SIMDJSON 2019-08-03 02:24:50 +03:00
Alexey Milovidov
67f167605b Merge branch 'master' of github.com:yandex/ClickHouse into fastops 2019-08-03 01:58:53 +03:00
Alexey Milovidov
a5a6aaf8b1 Merge branch 'master' into fastops 2019-08-03 01:58:38 +03:00
alexey-milovidov
9af4542230
Merge pull request #6278 from yandex/fix_bool_settings_parsing
Fix bool settings parsing
2019-08-03 01:55:42 +03:00
alexey-milovidov
149ed67462
Merge pull request #6281 from yandex/fix-low-cardinality-aggregate-arguments
Fix LowCardinality arguments conversion in AggregateFunctionFactory
2019-08-03 01:50:21 +03:00
Alexey Milovidov
7394d3e73a Fixed exception message 2019-08-03 01:42:21 +03:00
Alexey Milovidov
62053314bb Fixed FPE in yandexConsistentHash 2019-08-03 01:40:28 +03:00
Alexey Milovidov
21cb7de777 More validation of part_name 2019-08-02 23:21:31 +03:00
alexey-milovidov
f149e3b436
Merge pull request #6277 from yandex/aku/pairnoinit
Make PairNoInit a simple struct.
2019-08-02 22:56:12 +03:00
alexey-milovidov
f8980e691e
Merge pull request #6274 from CurtizJ/ttl-old-parts
TTL improvements.
2019-08-02 22:51:28 +03:00
alexey-milovidov
12a8bf20eb
Merge pull request #6297 from 4ertus2/bugs
Fix crash on CAST exotic types to Decimal
2019-08-02 22:47:27 +03:00
Nikita Vasilev
bfa9a2c86f fixed index condition 2019-08-02 22:21:55 +03:00
alexey-milovidov
3e0ce7df58
Merge pull request #6249 from 4ertus2/joins
Fix join_use_nulls. Nulls in JOIN keys issue
2019-08-02 22:07:03 +03:00
Alexey Milovidov
e3927cf176 Merge branch 'master' into fastops 2019-08-02 22:04:38 +03:00
Alexey Milovidov
35a71506a5 Fixed error 2019-08-02 21:59:19 +03:00
Alexey Milovidov
a5105f85cf Removed table function "catBoostPool" and storage "CatBoostPool" 2019-08-02 21:52:43 +03:00
Alexey Milovidov
994ef14393 Fixed "unbundled" build 2019-08-02 21:51:39 +03:00
Nikolai Kochetov
a92f086600 Remove XMLRowOutputStream. 2019-08-02 20:39:24 +03:00
Nikolai Kochetov
6e3274ef98 Remove VerticalRowOutputStream. 2019-08-02 20:37:24 +03:00
Nikolai Kochetov
6234cb865a Remove ValuesRowOutputStream. 2019-08-02 20:19:10 +03:00
Nikolai Kochetov
1f6a16b03a Remove ValuesRowInputStream. 2019-08-02 20:16:58 +03:00
Alexey Milovidov
67d91c4b88 Fixed the possibility of hanging queries when server is overloaded 2019-08-02 20:14:04 +03:00
Nikolai Kochetov
e6b3f3f03a Remove TSKVRowInputStream. 2019-08-02 20:00:38 +03:00
Nikolai Kochetov
f820fff794 Remove TSKVRowInputStream. 2019-08-02 19:59:50 +03:00
Nikolai Kochetov
c336c514fb Remove TSKVRowInputStream. 2019-08-02 19:58:52 +03:00
Nikolai Kochetov
422b593570 Remove TSKVRowInputStream. 2019-08-02 19:56:52 +03:00
Nikolai Kochetov
ab914010e1 Remove TSKVRowInputStream. 2019-08-02 19:56:16 +03:00
Nikolai Kochetov
6ab2e19410 Remove TSKVRowInputStream. 2019-08-02 19:51:33 +03:00
Nikolai Kochetov
f809de0949 Remove TabSeparatedRowOutputStream and TSKVRowOutputStream. 2019-08-02 19:48:50 +03:00
Nikolai Kochetov
afb3c20778 Remove CSVRowOutputStream. 2019-08-02 19:37:33 +03:00
Nikolai Kochetov
e5d67cbe61 Remove ProtobufRowOutputStream. 2019-08-02 19:34:20 +03:00
Nikolai Kochetov
5fb548c994 Remove ProtobufRowOutputStream. 2019-08-02 19:31:17 +03:00
Nikolai Kochetov
8c66d106e4 Remove ProtobufRowInputStream. 2019-08-02 19:23:44 +03:00
Nikolai Kochetov
bd4f0182e4 Remove PrettyBlockOutputStreams. 2019-08-02 19:20:25 +03:00
Nikolai Kochetov
529e06e5cb Remove ParquetBlockOutputStream. 2019-08-02 19:09:52 +03:00
Nikolai Kochetov
fcecbbda73 Remove OParquetBlockInputStream 2019-08-02 19:00:24 +03:00
Nikolai Kochetov
978bdc4bfc Remove ODBCDriverBlockOutputStream. 2019-08-02 18:51:43 +03:00
Nikolai Kochetov
51bd715781 Remove ODBCDriver2BlockOutputStream. 2019-08-02 18:49:46 +03:00
Nikolai Kochetov
d57d8a609f Remove MySQLWireBlockOutputStream. 2019-08-02 18:45:21 +03:00
Nikolai Kochetov
4019f5e102 Remove JSONRowOutputStream. 2019-08-02 18:42:52 +03:00
Nikolai Kochetov
ce712d881a Remove JSONEachRowRowOutputStream. 2019-08-02 18:39:12 +03:00
Alexander Kuzmenkov
d808fafa8f Disable consecutive key optimization for UInt8/16.
These types use a FixedHashMap for aggregation, which makes lookup
almost free, so we don't have to cache the last lookup result.

This is a part of StringHashMap PR #5417 by Amos Bird.
2019-08-02 18:37:32 +03:00
Nikolai Kochetov
ae50ab6907 Remove JSONEachRowRowInputStream. 2019-08-02 18:36:36 +03:00
Nikolai Kochetov
cd299bb162 Remove JSONCompactRowOutputStream. 2019-08-02 18:32:07 +03:00
Nikolai Kochetov
2833ca6d2f Remove CapnProtoRowInputStream. 2019-08-02 18:28:13 +03:00
Nikolai Kochetov
342f044241 Remove BinaryRowOutputStream. 2019-08-02 18:25:32 +03:00
Nikolai Kochetov
03ece9dc99 Remove BinaryRowInputStream. 2019-08-02 18:21:48 +03:00
Nikolai Kochetov
dd90932222 Update FormatFactory. 2019-08-02 18:06:31 +03:00
Nikolai Kochetov
49632a74b7 Update FormatFactory. 2019-08-02 17:41:19 +03:00
chertus
fcc6a2c2be fix crash on CAST exotic types to decimal 2019-08-02 17:31:55 +03:00
Nikolai Kochetov
48818aef7f Update MySQLOutputFormat. 2019-08-02 15:41:21 +03:00
Nikolai Kochetov
0201cdf61a Merge branch 'master' into processors-and-output-formats 2019-08-02 15:29:19 +03:00
Nikolai Kochetov
77ca4acf67 Remove LowCardinality in AggregatingSortedBlockInputStream. 2019-08-02 13:54:40 +03:00
Nikolai Kochetov
5a9a4b23c3 Remove LowCardinality in AggregatingSortedBlockInputStream. 2019-08-02 13:50:42 +03:00
Nikolai Kochetov
f71ce27a70 Remove LowCardinality in AggregatingSortedBlockInputStream. 2019-08-02 13:49:52 +03:00
alesapin
46a6a78e7b Merge branch 'master' into fix_bool_settings_parsing 2019-08-02 10:51:42 +03:00
Alexey Milovidov
07273c7914 Instrumented ThreadPool 2019-08-01 23:09:38 +03:00
chertus
c5a661a05c undo wrong changes 2019-08-01 22:56:29 +03:00
chertus
94813b21ba restore names deduplication 2019-08-01 22:48:21 +03:00
Alexey Milovidov
c1de1d445c Enabled query profiler by default 2019-08-01 22:47:04 +03:00
chertus
479a0a9c8e fix case with several same keys in join 2019-08-01 22:39:39 +03:00
alesapin
af5cabd740 Fix changed logic 2019-08-01 22:30:00 +03:00
alexey-milovidov
5cf2f5f301
Merge pull request #6265 from nikitamikhaylov/query_log_enum
system.query_log: change data type of `type` column to Enum.
2019-08-01 22:21:43 +03:00
Nikita Vasilev
7aacbbdc5a fix bug 2019-08-01 22:18:36 +03:00
Alexey Milovidov
5c361c327b Enabled "precise" mode; updated tests 2019-08-01 22:17:49 +03:00
CurtizJ
d169f42b36 fix build 2019-08-01 22:07:31 +03:00
Nikolai Kochetov
a8378e8ef0 Fix LowCardinality arguments conversion for AggregateFunctionFactory. 2019-08-01 21:22:38 +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
chertus
4072214b5d fix UB in join keys order 2019-08-01 20:27:51 +03:00
alesapin
5b4b875497 Fix bool settings parsing in config 2019-08-01 20:03:34 +03:00
Alexander Kuzmenkov
011150fa8a Make PairNoInit a simple struct. 2019-08-01 19:54:33 +03:00
Nikita Mikhaylov
241751542e CamelCase 2019-08-01 19:37:50 +03:00
CurtizJ
82f304f81e add query 'SYSTEM STOP TTL MERGES' 2019-08-01 18:36:12 +03:00
Nikolai Kochetov
c228f18130 Update IRowInputFormat and FormatFactory. 2019-08-01 17:25:41 +03:00
Nikita Mikhaylov
9dbb758133 better style 2019-08-01 15:40:12 +03:00
Vitaly Baranov
d7891ec9cf Fix formula for new_size in WriteBufferFromVector(AppendModeTag). 2019-08-01 15:27:32 +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
CurtizJ
c30bdecf6d add missing comments 2019-08-01 15:00:35 +03:00
alexey-milovidov
e034dab1be
Merge pull request #6255 from yandex/storage-values-simplification
Simplified code with parsing table declaration for table functions.
2019-08-01 14:58:28 +03:00
Nikita Mikhaylov
406f7a2bfe done 2019-08-01 14:11:08 +03:00
CurtizJ
f224269d41 filter by ttl parts created before 'alter ... modify ttl' query with 'optimize ... final' query 2019-08-01 14:10:42 +03:00
Nikita Mikhaylov
a9fea0314e better style 2019-08-01 13:31:29 +03:00
Nikolai Kochetov
a5bb2e2b3f Update Schema name in Protobuf and CapnProto formats. 2019-08-01 12:56:30 +03:00
Nikolai Kochetov
9811fdcdc7 Update CapnProtoRowInputFormat. 2019-08-01 11:31:08 +03:00
alexey-milovidov
eeeab85bbe
Merge pull request #6247 from yandex/fix-malicious-replica
Fixed the case when malicious ClickHouse replica can force clickhouse-server to write to arbitrary path.
2019-08-01 07:22:58 +03:00
Alexey Milovidov
591af05e57 Fixed error with searching debug info 2019-08-01 06:45:33 +03:00
Alexey Milovidov
c3f54f85c1 Fixed error with "unbundled" build 2019-08-01 06:06:15 +03:00
Alexey Milovidov
a25890c038 Merge branch 'master' into fastops 2019-08-01 06:05:53 +03:00
Alexey Milovidov
12f6b75284 Fixed error 2019-08-01 05:34:58 +03:00
Alexey Milovidov
49b6749280 Merge branch 'master' into fix-malicious-replica 2019-08-01 05:11:45 +03:00
Alexey Milovidov
26bb14da4e Simplified table function "values" 2019-08-01 05:03:15 +03:00
alexey-milovidov
a8793fbef3
Merge pull request #6209 from dimarub2000/values_list
VALUES list
2019-08-01 04:36:04 +03:00
alexey-milovidov
10d02cd2b9
Merge pull request #6250 from yandex/better-stack-traces
QueryProfiler: better stack traces: start outside of signal handler
2019-08-01 04:34:32 +03:00
alexey-milovidov
e8cac8ab6e
Merge pull request #6253 from yandex/std-filesystem-2
Changed boost::filesystem to std::filesystem
2019-08-01 04:32:40 +03:00
Alexey Milovidov
ec2fd3e29d Added missing files 2019-08-01 04:17:44 +03:00
Alexey Milovidov
b1c9fc0233 Using FastOps library 2019-08-01 03:29:32 +03:00
Alexey Milovidov
fb3824f98b Merge branch 'master' into fastops 2019-08-01 01:59:59 +03:00
alexey-milovidov
a94fe354c5
Merge pull request #6233 from yandex/fix-overflow-in-int-div
Fixed overflow in intDiv functions
2019-08-01 01:39:37 +03:00
Alexey Milovidov
f3921ce3e0 Changed boost::filesystem to std::filesystem 2019-08-01 01:37:41 +03:00
Alexey Milovidov
e3c342d893 Better stack traces: start outside of signal handler 2019-08-01 00:40:29 +03:00
alesapin
cfbae59701
Merge pull request #6236 from yandex/fix_prewhere_remote
Fix bug in prewhere + distributed
2019-07-31 23:22:29 +03:00
chertus
10edd76fe4 fix join_use_nulls results for key columns 2019-07-31 23:19:52 +03:00
Alexey Milovidov
bc9d620155 Fixed the case when malicious ClickHouse replica can force clickhouse-server to write to arbitrary path 2019-07-31 22:31:04 +03:00
Alexey Milovidov
5cedc24e51 Fixed error 2019-07-31 21:04:24 +03:00
Dmitry Rubashkin
fab6e89a9d Minor style fixes 2019-07-31 18:58:28 +03:00
Dmitry Rubashkin
fbe7e56e93 Changed name and added comments 2019-07-31 18:43:01 +03:00
Dmitry Rubashkin
1ec249755e Parser is now used for ITableFunctionFileLike 2019-07-31 18:36:10 +03:00
Nikolai Kochetov
9c4aefe2ae Update ODBCDriver2BlockOutputFormat. 2019-07-31 18:10:51 +03:00
alesapin
f70b0ed910 Slightly better 2019-07-31 18:05:21 +03:00
Nikolai Kochetov
1347cf1359 Update ODBCDriver2BlockOutputFormat. 2019-07-31 17:58:56 +03:00
alesapin
aed4e5d1c4 Get type from source column 2019-07-31 17:57:14 +03:00
alesapin
4481bf429f Remove nulltype from assignment 2019-07-31 17:54:58 +03:00
Nikolai Kochetov
3a8fefdda8 Update CSVRowInputStream. 2019-07-31 17:43:08 +03:00
alexey-milovidov
ac5d2a225d
Merge pull request #6226 from yandex/aku/lock-tinylog
Lock the TinyLog storage when reading.
2019-07-31 17:40:55 +03:00
Nikita Mikhaylov
cac7972837 better 2019-07-31 17:18:59 +03:00
Nikolai Kochetov
f0bf083efc Update CSVRowInputStream. 2019-07-31 17:16:28 +03:00
Dmitry Rubashkin
a449a00e58 Comments are now in right places 2019-07-31 17:12:05 +03:00
Dmitry Rubashkin
f91c64bd28 parser changed, test modified, comments added 2019-07-31 17:06:22 +03:00
Nikita Mikhaylov
ad4459c4a2 fixed flush_logs + added pretty function 2019-07-31 17:03:23 +03:00
Nikolai Kochetov
4e38a45922 Update FormatFactory. 2019-07-31 16:26:08 +03:00
alesapin
2254e6fd32 Fix comment 2019-07-31 15:35:23 +03:00
alesapin
46c1e9d1a2 Use COPY_COLUMN instead of PROJECT 2019-07-31 15:33:58 +03:00
Nikolai Kochetov
2c638d577d Update VerticalRowOutputFormat. 2019-07-31 14:51:00 +03:00
chertus
f402ae5092 Merge branch 'master' into joins 2019-07-31 14:40:19 +03:00
Alexander Kuzmenkov
3ff143c60f Lock the TinyLog storage when reading.
Unlike StripeLog, we only have one set of files per column, so we can't
read concurrently with writing. We didn't use any locking before, and
that lead to user-visible error messages and tsan failures.
2019-07-31 13:59:12 +03:00
Nikolai Kochetov
77d81687b3 Update FormatFactory. 2019-07-31 13:54:50 +03:00
Nikolai Kochetov
2d5b282a31 Update FormatFactory. 2019-07-31 13:37:28 +03:00
Nikolai Kochetov
0e61ca79d0 Update FormatFactory. 2019-07-31 13:34:31 +03:00
Nikolai Kochetov
cc74c5ec78 Update FormatFactory. 2019-07-31 13:31:14 +03:00
Nikolai Kochetov
4bea8541d1 Update FormatFactory. 2019-07-31 13:28:54 +03:00
alesapin
e6052ec117 Fix bug in prewhere + distributed 2019-07-31 13:22:56 +03:00
Nikolai Kochetov
8bfd909f5b Update JSONEachRowRowOutputFormat. 2019-07-31 13:06:46 +03:00
Nikolai Kochetov
5bdb6aa9f3 Update TSKVRowInputFormat. 2019-07-31 12:43:20 +03:00
BayoNet
cf746c3eed DOCAPI-3825: System tables. EN review, RU translation. (#6088) 2019-07-31 08:09:13 +03:00
alexey-milovidov
94454e514d
Merge pull request #6211 from 4ertus2/asof
Support ASOF JOIN ON syntax
2019-07-31 06:00:22 +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
bfdfb7c814
Merge pull request #6232 from yandex/limit-sleep-time-in-max-execution-speed
Limit sleep time in max_execution_speed; fixed Estimated query execution time (inf seconds) is too long
2019-07-31 05:54:05 +03:00
alexey-milovidov
10ab19b2e4
Merge pull request #6231 from yandex/bad-server-shutdown
Fixed bad server shutdown
2019-07-31 05:53:11 +03:00
alexey-milovidov
7fd6204114
Merge pull request #6197 from yandex/thread_local_rng
Less number of "clock_gettime" calls; fixed ABI compatibility between debug/release in Allocator.
2019-07-31 04:36:30 +03:00
Alexey Milovidov
52650ce2f7 Fixed overflow in intDiv functions 2019-07-31 04:05:33 +03:00
Alexey Milovidov
2205a0097d Avoid false exceptions like "Estimated query execution time (inf seconds) is too long" 2019-07-31 03:05:31 +03:00
Alexey Milovidov
f75dff9be8 Limit maximum sleep time for "max_execution_speed" settings 2019-07-31 02:57:53 +03:00
Alexey Milovidov
b6275010f2 Fixed error with server shutdown 2019-07-31 02:12:04 +03:00
alexey-milovidov
30c35b1cbf
Update StorageValues.cpp 2019-07-31 01:06:48 +03:00
alexey-milovidov
8949ef6dd3
Merge pull request #6225 from CurtizJ/withcube-fix
Fix rollup and cube modifiers with two-level aggregation.
2019-07-31 00:54:35 +03:00
alexey-milovidov
cb37c79c41
Merge pull request #6201 from yandex/speed-up-dladdr
Introspection functions + better stack traces.
2019-07-31 00:49:16 +03:00
Nikolai Kochetov
b274545bb7 Update CSVRowInputFormat. 2019-07-30 21:48:40 +03:00
chertus
504d548d79 AnalyzedJoin refactoring 2019-07-30 21:39:37 +03:00
Nikolai Kochetov
e8b643e032 Update CSVRowInputFormat. 2019-07-30 21:22:01 +03:00
Nikolai Kochetov
ee3a93bab5 Update CSVRowInputFormat. 2019-07-30 21:21:12 +03:00
CurtizJ
218de76285 fix rollup and cube modifiers with two-level aggregation 2019-07-30 19:36:52 +03:00
Alexey Milovidov
a9b079c7ba Minor modifications 2019-07-30 19:18:06 +03:00
Alexey Milovidov
72e0fbd861 Added support for splitted debug info; advancements 2019-07-30 19:12:53 +03:00
Nikolai Kochetov
d4da486b51 Update CSVRowInputFormat. 2019-07-30 17:55:59 +03:00
Nikita Mikhaylov
e06b3b17b3 some changes to log all text logs 2019-07-30 17:04:18 +03:00
Dmitry Rubashkin
7945d05565 Minor style fixes 2019-07-30 15:15:02 +03:00
chertus
24fd416084 remove unused ExpressionAnalyzer settings 2019-07-30 14:41:11 +03:00
Amos Bird
6db1c02bfd Fix materialized view with column defaults.
https://github.com/yandex/ClickHouse/issues/448
https://github.com/yandex/ClickHouse/issues/3484
https://github.com/yandex/ClickHouse/issues/3450
https://github.com/yandex/ClickHouse/issues/2878
https://github.com/yandex/ClickHouse/issues/2285
2019-07-30 10:49:54 +08:00
Alexey Milovidov
b5b80fb342 Merge branch 'master' into thread_local_rng 2019-07-30 03:19:48 +03:00
Alexey Milovidov
20ae0ee80e Added a flag to disable introspection functions 2019-07-30 02:54:49 +03:00
Alexey Milovidov
efbbb14972 Renamed function symbolizeAddress to addressToSymbol 2019-07-30 02:49:00 +03:00
Alexey Milovidov
256e260693 Added one more function for introspection 2019-07-30 02:37:50 +03:00
Alexey Milovidov
97ac56139b Addition to prev. revision 2019-07-30 01:50:39 +03:00
Alexey Milovidov
0cbd4f68ce Addition to prev. revision 2019-07-30 01:37:26 +03:00
Alexey Milovidov
a05c6026dc Addition to prev. revision 2019-07-30 01:34:05 +03:00
Alexey Milovidov
10439bc010 Addition to prev. revision 2019-07-30 01:33:28 +03:00
Alexey Milovidov
ad3f2066d9 Added missing file 2019-07-30 01:27:02 +03:00
Alexey Milovidov
372c4d89b2 Enabled line numbers in stack traces 2019-07-30 01:26:44 +03:00
Alexey Milovidov
15dc6d1818 Advancements 2019-07-29 21:38:04 +03:00
Alexey Milovidov
daa36650fb Imported Dwarf parser from Facebook folly 2019-07-29 21:06:39 +03:00
Alexey Milovidov
957b59f0d0 Cleanups 2019-07-29 20:14:53 +03:00
Dmitry Rubashkin
45aebda677 Fixes and test 2019-07-29 19:20:17 +03:00
Yuriy
c1b57f9cf5 fixed heap buffer overflow in PacketPayloadWriteBuffer 2019-07-29 18:41:47 +03:00
chertus
7b4ddd268e support ASOF JOIN ON syntax 2019-07-29 17:58:36 +03:00
Dmitry Rubashkin
e9784573ea Values list implementation 2019-07-29 17:02:34 +03:00
Alexey Milovidov
300d25256e Include private symbols in stack traces of QueryProfiler 2019-07-29 15:48:19 +03:00
alesapin
86831fe500 Add ability to create immutable settings 2019-07-29 14:03:50 +03:00
alesapin
d9a2ac123a Fix small typo and merge 2019-07-29 12:17:37 +03:00
alexey-milovidov
a999192b0a
Merge pull request #6198 from yandex/fix-json-functions
Fixed hang in JSONExtractRaw function
2019-07-29 04:11:50 +03:00
Alexey Milovidov
5fbe53b562 Speedup "symbolizeAddress" function 2019-07-29 04:08:52 +03:00
Alexey Milovidov
f6daa7e2dd Merge branch 'master' of github.com:yandex/ClickHouse 2019-07-29 02:57:59 +03:00
Alexey Milovidov
48a3c82f6f Removed useless code from MySQLWireBlockOutputStream 2019-07-29 02:57:49 +03:00
alexey-milovidov
3e9dd7ed42
Merge pull request #6196 from zlobober/patch-2
Fix build under gcc-8.2
2019-07-29 02:21:46 +03:00
Max Akhmedov
5e9ea2a905
Remove spaces from empty line 2019-07-28 20:46:48 +03:00
Alexey Milovidov
f03df37b57 Fixed error #6195 2019-07-28 20:16:48 +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
Alexey Milovidov
856cc1b9c5 Added thread_local_rng 2019-07-28 18:30:38 +03:00
Max Akhmedov
f632a0b241
Fix build under gcc-8.2 2019-07-28 18:12:07 +03:00
Alexey Milovidov
c0e0166991 Updated contributors 2019-07-28 18:11:47 +03:00
Alexey Milovidov
32a9b27876 Added a comment 2019-07-28 17:55:02 +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
CurtizJ
95a6b85267 fix reading in order of sorting_key 2019-07-28 03:41:26 +03:00
Yuriy
383fa25c51 resolved conflict 2019-07-28 02:00:15 +03:00
alexey-milovidov
12a15316fd
Merge pull request #6181 from 4ertus2/joins
Fix crop column names in GLOBAL JOIN ON
2019-07-28 00:31:29 +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
CurtizJ
12dcfe1f25 reduce number of read rows while reading in reverse order 2019-07-27 03:33:47 +03:00
CurtizJ
60289cd764 fix optimizeSortingWithPK 2019-07-27 03:15:22 +03:00
CurtizJ
cb85721cba handle ExpressionAnalyzer exceptions, while trying to optimize order by, in case of complicated queries 2019-07-27 03:02:04 +03:00
CurtizJ
b1d981ec3a better pipeline while reading in pk_order 2019-07-27 01:18:27 +03:00
chertus
9f9ba3a06f restore cropped names in JOIN ON section for distributed queries 2019-07-26 20:43:42 +03:00
alexey-milovidov
2442e65367
Merge pull request #6124 from yandex/merge-profiler
Fixes for query profiler.
2019-07-26 03:51:57 +03:00
Alexey Milovidov
da3806bf36 Add timer offset randomization 2019-07-26 03:51:19 +03:00
alexey-milovidov
a3e4c1d39f
Merge pull request #6131 from 4ertus2/joins
Better JOIN ON keys extraction
2019-07-26 02:10:45 +03:00
Alexey Milovidov
f4ec18b30f Merge branch 'system_text_log' of https://github.com/nikitamikhaylov/ClickHouse into nikitamikhaylov-system_text_log 2019-07-26 01:51:19 +03:00
Alexey Milovidov
cf67765fc8 Reverted bad modification 2019-07-26 01:38:59 +03:00
Alexey Milovidov
5a47b0b990 Sanity and configuration checks 2019-07-26 01:35:47 +03:00
Alexey Milovidov
0cce86db3f Merge remote-tracking branch 'origin/master' into merge-profiler 2019-07-26 00:41:24 +03:00
Alexey Milovidov
eb2533f898 Merge branch 'master' into merge-profiler 2019-07-26 00:40:27 +03:00
alexey-milovidov
6cc3027a84
Merge pull request #6162 from yandex/TCeason-fix_ISSUE5695
Merging "support push down predicate to final subquery"
2019-07-26 00:34:33 +03:00
alexey-milovidov
0d11cbcae6
Merge pull request #6163 from yandex/fix-protobuf-ubsan-report
Fixed UBSan report in ProtobufWriter
2019-07-25 23:13:02 +03:00
Alexey Milovidov
bc74013f98 Fixed UBSan report in ProtobufWriter 2019-07-25 23:10:33 +03:00
alexey-milovidov
71cef7beac
Merge pull request #6156 from dimarub2000/master
ISSUE-6136: Fix DB::Exception throwed by bitmapContains
2019-07-25 23:00:42 +03:00
Alexey Milovidov
472a61c1fa Updating PHDRCache after dlopen 2019-07-25 22:56:51 +03:00
Alexey Milovidov
050db07e3d Merge branch 'master' into merge-profiler 2019-07-25 22:54:22 +03:00
chertus
554e4ab5b8 fix cross alliasing case with JOIN ON 2019-07-25 22:25:51 +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
dimarub2000
f53f22fd17 ISSUE-6136: Fix DB::Exception throwed by bitmapContains 2019-07-25 18:56:20 +03:00
Nikolai Kochetov
95dd6222fe Use IInputFormat and IOutputFormat by default. 2019-07-25 15:17:57 +03:00
CurtizJ
b1cc019bd4 fix pipeline 2019-07-25 14:00:14 +03:00
Nikolai Kochetov
079e41ac26 Use IInputFormat and IOutputFormat by default. 2019-07-25 13:51:32 +03:00
chertus
06076e67a3 Merge branch 'master' into joins 2019-07-25 13:48:32 +03:00
CurtizJ
f5b93eb991 fix order by optimization 2019-07-25 13:45:01 +03:00
chertus
50e3839157 NOT_UNBUNDLED -> UNBUNDLED 2019-07-25 13:35:57 +03:00
Nikolai Kochetov
78f056d83f Use IInputFormat and IOutputFormat by default. 2019-07-25 12:35:16 +03:00
Nikolai Kochetov
36a0275ff1 Use IInputFormat and IOutputFormat by default. 2019-07-25 12:31:38 +03:00
Nikolai Kochetov
69f860a5ef Use IInputFormat and IOutputFormat by default. 2019-07-25 12:28:33 +03:00
Nikolai Kochetov
a22540d010 Use IInputFormat and IOutputFormat by default. 2019-07-25 12:20:00 +03:00
Nikolai Kochetov
4cc3bf7724 Use IInputFormat and IOutputFormat by default. 2019-07-25 12:15:33 +03:00
Nikolai Kochetov
7f1fd1a918 Use IInputFormat and IOutputFormat by default. 2019-07-25 11:37:21 +03:00
alexey-milovidov
7219e167d2
Merge pull request #6026 from bopohaa/fix-kafka-unclean-stream
Clear Kafka's buffer if an invalid message is found.
2019-07-25 04:30:37 +03:00
alexey-milovidov
f1f5cdc802
Merge pull request #6144 from yandex/fix-msan
Fixed MSan report
2019-07-25 04:29:11 +03:00
alexey-milovidov
56131a7fe7
Merge pull request #6080 from abyss7/issue-6071
Check background_task_handle before use
2019-07-25 04:16:47 +03:00
alexey-milovidov
8064fb3b94
Merge pull request #6108 from 4ertus2/ast
Refactoring: move prefer_alias_to_column_name logic out of parser
2019-07-25 04:14:34 +03:00
alexey-milovidov
20a8914858
Merge pull request #6132 from vitlibar/allow-protobuf-message-with-all-fields-by-default
Allow protobuf message with all fields by default
2019-07-25 04:12:23 +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
e52653aa06 Miscellaneous 2019-07-25 04:08:33 +03:00
alexey-milovidov
a985897a07
Update PredicateExpressionsOptimizer.h 2019-07-25 04:05:16 +03:00
alexey-milovidov
3022c4a759
Update PredicateExpressionsOptimizer.cpp 2019-07-25 04:04:03 +03:00
alexey-milovidov
8f3c097c1b
Update Settings.h 2019-07-25 04:03:16 +03:00
alexey-milovidov
bb74727065
Merge pull request #6123 from dimarub2000/config_exception
Throw an exception if config.d file doesn't have the corresponding root element as the config file
2019-07-25 04:00:33 +03:00
Alexey Milovidov
6b2810d346 Fixed error with non-SIMD implementation of memcmpSmall 2019-07-25 03:28:27 +03:00