Alexey Milovidov
5e942d2d79
Added performance test to show degradation of performance in gcc-9 in more isolated way
2019-08-02 23:16:02 +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
aaf7480c15
Updated test
2019-08-02 22:04:20 +03:00
Alexey Milovidov
73faf623f2
Adjusted precision in test
2019-08-02 22:00:22 +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
CurtizJ
e06a53a5d9
fix ranges selection at reading in order
2019-08-02 20:34:29 +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
CurtizJ
a6e85a331a
more optimal ranges selection at reading in order
2019-08-02 19:37:43 +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
CurtizJ
b8430bb4da
Merge branch 'order-by-efficient' of https://github.com/CurtizJ/ClickHouse into order-by-efficient
2019-08-02 19:23:09 +03:00
Nikolai Kochetov
bd4f0182e4
Remove PrettyBlockOutputStreams.
2019-08-02 19:20:25 +03:00
CurtizJ
a0f61e8cb3
better performance test for order by optimization
2019-08-02 19:17:18 +03:00
CurtizJ
5f7ebb18ed
more optimal ranges selection at reading in order
2019-08-02 19:16:18 +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
ac5daf964e
Fix buggy tests
2019-08-02 11:09:23 +03:00
alesapin
46a6a78e7b
Merge branch 'master' into fix_bool_settings_parsing
2019-08-02 10:51:42 +03:00
Alexander Rodin
68487d512a
Merge if branches with the same status code
2019-08-02 05:11:02 +00:00
Alexander Rodin
5c5b4f4de2
Revert "Replace ifs by cases"
...
This reverts commit 0c70f78fcb
.
2019-08-02 05:07:10 +00: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
Nikita Vasilev
b242c6ec79
fix test
2019-08-01 22:51:51 +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
CurtizJ
b8dff6ebb1
more optimal ranges selection at reading in order
2019-08-01 22:03:39 +03:00
Nikolai Kochetov
c11e04f9d9
Added test.
2019-08-01 21:44:23 +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
Alexander Rodin
0c70f78fcb
Replace ifs by cases
2019-08-01 15:23:20 +00:00
Nikolai Kochetov
c228f18130
Update IRowInputFormat and FormatFactory.
2019-08-01 17:25:41 +03:00
Alexander Rodin
44b3dbb23b
Return Bad Request for INCORRECT_DATA and TYPE_MISMATCH errors
2019-08-01 13:16:09 +00:00
Nikita Mikhaylov
508934fa85
remove redudant includes
2019-08-01 16:05:59 +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
chertus
e5d3f17225
fix test results
2019-08-01 14:02:32 +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
6de3939a3d
Added a test
2019-08-01 05:08:44 +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
74d4fb3ce1
Added a test for new functions
2019-08-01 03:43:50 +03:00
Alexey Milovidov
ab8dd7edd6
Added performance test
2019-08-01 03:37:47 +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
bf524b4419
Merge branch 'master' of github.com:yandex/ClickHouse
2019-08-01 01:49:24 +03:00
Alexey Milovidov
63c57a4c26
Fixed flappy test
2019-08-01 01:49:14 +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
Sergi Vladykin
662364b720
performance bug fix: never read the children if we are not going to return any data
2019-07-31 22:36:03 +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
Nikita Mikhaylov
42641a5b56
update flappy test
2019-07-31 18:43:55 +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
Alexander Tokmakov
f0836553d4
drop detached partition
2019-07-31 18:27:21 +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
Alexey Milovidov
e3df5a79b3
Updated test
2019-07-31 17:43:39 +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
c4072b12a7
Merge pull request #6230 from yandex/override-idle-time-poll-interval
...
Allow user to override poll_interval and idle_connection_timeout
2019-07-31 05:57:46 +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
c2035a21fc
Added a test
2019-07-31 03:29:47 +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
03ded6be04
Merge branch 'master' of github.com:yandex/ClickHouse into bad-server-shutdown
2019-07-31 02:10:24 +03:00
Alexey Milovidov
aa6f7f2730
Slightly better
2019-07-31 01:27:14 +03:00
Alexey Milovidov
0055bd1a1b
Allow user to override poll_interval and idle_connection_timeout
2019-07-31 01:22:45 +03:00
Alexey Milovidov
2452b2eba7
Fixed the issue with "listen_try" option
2019-07-31 01:08:57 +03:00
alexey-milovidov
30c35b1cbf
Update StorageValues.cpp
2019-07-31 01:06:48 +03:00
Alexey Milovidov
3ef3dcb4c8
Fixed the issue with "listen_try" option
2019-07-31 01:06:13 +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
8e62907ab8
Merge pull request #6219 from dimarub2000/low_cord_index
...
Test for primary index with lowCardinality(String)
2019-07-31 00:50:10 +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
Alexey Milovidov
e0c8bec28a
Fixed the issue with "listen_try" option
2019-07-31 00:23:42 +03:00
Alexey Milovidov
b85cdd565c
Fixed idiotic inconsistent code
2019-07-31 00:11:42 +03:00
Alexander Tokmakov
c6717e0d3f
refactor attachPartition
2019-07-30 22:11:15 +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
Alexey Milovidov
d95e0e66c6
Fixed "splitted" build
2019-07-30 21:03:12 +03:00
Alexey Milovidov
8292f3dbc9
Fixed test
2019-07-30 21:01:59 +03:00
Alexander Tokmakov
2f33df1b2e
rename all parts before attaching
2019-07-30 20:24:40 +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
Alexey Milovidov
1d289b5b49
Fixed "splitted" build
2019-07-30 18:22:41 +03:00
Alexey Milovidov
c0118bda75
Fixed test
2019-07-30 18:19:57 +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
4af44af3b7
test for priamry index with lowCardinality
2019-07-30 15:38:40 +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
Gleb Novikov
a3ebe31535
Brace style fix
2019-07-29 22:41:08 +03:00
alesapin
16255f7a9f
Merge pull request #6207 from yandex/fix-logs-level-tests
...
Update send logs tests.
2019-07-29 21:40:58 +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
chertus
f79851591a
one more test
2019-07-29 20:11:56 +03:00
Nikolai Kochetov
b8623869e0
Update send logs tests.
2019-07-29 19:33:07 +03:00
Nikolai Kochetov
efc4395b2f
Update send logs tests.
2019-07-29 19:29:58 +03:00
Dmitry Rubashkin
89bbe1a299
drop table
2019-07-29 19:23:22 +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
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
Nikolai Kochetov
52a9341082
Update send logs tests.
2019-07-29 13:51:56 +03:00
Alexander Tokmakov
0fc47fbbe4
fixes
2019-07-29 13:27:37 +03:00
Nikolai Kochetov
40ae9aa60b
Update send logs tests.
2019-07-29 13:15:03 +03:00
alesapin
d9a2ac123a
Fix small typo and merge
2019-07-29 12:17:37 +03:00
alexey-milovidov
5b52ccc665
Merge pull request #6204 from yurriy/disable-mysql-wire-format-tests
...
Temporary disabled tests of MySQLWire format until it is fixed
2019-07-29 12:13:16 +03:00
alesapin
ea6053eadc
Do not report strange exception messages into JSON report from performance-test
2019-07-29 12:05:37 +03:00
Yuriy
e12ab0cccc
disabled tests of MySQLWire format until it is fixed
2019-07-29 11:45:43 +03:00
Sergi Vladykin
915092515c
revert the performance bug fix
2019-07-29 11:20:11 +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
Yuriy
f1694a1746
build fix
2019-07-29 03:09:17 +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
Alexey Milovidov
a1dacdd25f
Fixed bad test
2019-07-29 02:03:55 +03:00
Max Akhmedov
5e9ea2a905
Remove spaces from empty line
2019-07-28 20:46:48 +03:00
Alexey Milovidov
41d2ed0ee5
Added test result
2019-07-28 20:19:15 +03:00
Alexey Milovidov
f03df37b57
Fixed error #6195
2019-07-28 20:16:48 +03:00
Alexey Milovidov
ea6515dac6
Added failing test
2019-07-28 20:15:25 +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
Nikita Vasilev
39b40f8e42
fix replicated indices mutations
2019-07-28 17:55:51 +03:00
Alexey Milovidov
32a9b27876
Added a comment
2019-07-28 17:55:02 +03:00
Yuriy
dd2e3ab7f7
removed wrong comment
2019-07-28 17:24:52 +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
760afb007c
arbitrary passwords
2019-07-28 16:36:27 +03:00
Yuriy
21ce5331d1
implemented mysql_native_password auth plugin for compatibility with mysqljs
2019-07-28 16:12:26 +03:00
Gleb Novikov
8f4883b0d2
Better constraint exception
2019-07-28 15:33:40 +03:00
Nikita Vasilev
538c17be3f
replicated test
2019-07-28 14:56:16 +03:00
Nikita Vasilev
4c5003b3b9
const &
2019-07-28 14:45:50 +03:00
Nikita Vasilev
908623c029
style
2019-07-28 14:32:03 +03:00
Nikita Vasilev
63fe714420
fix
2019-07-28 14:10:35 +03:00
Sergi Vladykin
c5a42a6948
TTL: Only drop altogether the expired parts and not partially prune them.
...
Though in regular merges eviction of expired values still must happen.
2019-07-28 13:30:46 +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
2dc2eb56d8
remove renamed tests
2019-07-28 04:21:25 +03:00
CurtizJ
d69d68f065
rename setting 'optimize_pk_order' and some functions
2019-07-28 04:16:56 +03:00
Yuriy
997c94d093
includes order
2019-07-28 03:55:46 +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
3988fe7fe4
Removed <name> from all performance tests #6179
2019-07-28 00:18:54 +03:00
Alexey Milovidov
febc935fa8
Revert "Removed <name> from all performance tests #6179 "
...
This reverts commit d61d489c2e
.
2019-07-28 00:17:44 +03:00
Alexey Milovidov
97f11a6a3c
Fixed typo #6179
2019-07-28 00:17:06 +03:00
Alexey Milovidov
d61d489c2e
Removed <name> from all performance tests #6179
2019-07-28 00:15:20 +03:00
alexey-milovidov
6ad596264b
Merge pull request #6179 from Enmk/doubledelta_gorilla_perftest_fix
...
Fixed Gorilla and DoubleDelta codec performance tests.
2019-07-28 00:10:27 +03:00
Vasily Nemkov
3765ee39e0
Removed blank line
2019-07-27 20:54:04 +03:00
Alexey Milovidov
98c3ff92ae
Fixed non-standard build
2019-07-27 20:04:26 +03:00
Nikita Vasilev
1118ce04b9
fixed
2019-07-27 18:36:40 +03:00
CurtizJ
08d5ebb54d
Merge remote-tracking branch 'upstream/master' into order-by-efficient
2019-07-27 10:38:10 +03:00
Nikita Vasilev
7efb1bcb12
Merge remote-tracking branch 'upstream/master' into nikvas0/index_mutate
2019-07-27 10:30:43 +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
Vasily Nemkov
2ced6a3adb
Fixed Gorilla and DoubleDelta codec performance tests.
...
* Converted to loop-tests
* Set limits for both INSERT and SELECT to make those finite and more predictable
2019-07-26 19:21:18 +03:00
alesapin
0c7a6fc64b
Merge branch 'master' of github.com:yandex/ClickHouse
2019-07-26 17:37:53 +03:00
alesapin
363fca3895
More integration fixes and disable kafka test test_kafka_settings_new_syntax
2019-07-26 17:37:37 +03:00
chertus
74596ed8dc
improve test
2019-07-26 15:12:34 +03:00
qianlixiang
64d65c0123
Fixed mismatched header of prewhere with sample column
2019-07-26 18:48:42 +08:00
Alexey Milovidov
3eb29c1950
Clarified comment
2019-07-26 03:54:48 +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
2a9d606d4b
Use text_log in development environments
2019-07-26 02:01:18 +03:00
Alexey Milovidov
e5df077c21
Added example in config
2019-07-26 02:00:18 +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
ae161d7514
Fixed test
2019-07-26 00:33:30 +03:00
alesapin
1c615d263c
Merge branch 'master' of github.com:yandex/ClickHouse
2019-07-25 23:25:20 +03:00
alesapin
fdac4f2962
More fixes in integration tests configs
2019-07-25 23:24:58 +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
alesapin
858a8a083e
Merge branch 'master' of github.com:yandex/ClickHouse
2019-07-25 23:11:39 +03:00
alesapin
21ef261702
Fix some integration tests and make kafka tests endless
2019-07-25 23:11:26 +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
Alexey Milovidov
1d499bcdc0
Allow to update PHDRCache
2019-07-25 22:54:16 +03:00
chertus
554e4ab5b8
fix cross alliasing case with JOIN ON
2019-07-25 22:25:51 +03:00
alexey-milovidov
9c8a3971a0
Merge pull request #6147 from theruziev/regression_for_full_join_column_name
...
Add regression test for #5192 fix
2019-07-25 22:16:49 +03:00
Alexey Milovidov
d5b537224e
Fixed test
2019-07-25 22:08:40 +03:00
Alexey Milovidov
522aed7168
Fixed build
2019-07-25 22:02:44 +03:00
Dmitry Rubashkin
1c8842af4b
Merge branch 'master' of github.com:dimarub2000/ClickHouse
2019-07-25 19:28:09 +03:00
Alexander Tokmakov
3ba26aba43
tests
2019-07-25 19:28:08 +03:00
Dmitry Rubashkin
46e4b45f96
test added`
2019-07-25 19:26:48 +03:00
Alexander Tokmakov
e4212bfe59
add full part name to detached_parts
2019-07-25 19:26:36 +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
alesapin
c3f82f0b8c
Fix indent and add init file
2019-07-25 16:41:39 +03:00
Nikolai Kochetov
95dd6222fe
Use IInputFormat and IOutputFormat by default.
2019-07-25 15:17:57 +03:00
Alexander Tokmakov
6ac950c6dc
test attach active part fails
2019-07-25 14:13:13 +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
Alexander Tokmakov
1805ab5736
attach
2019-07-25 13:46:07 +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
Alexander Tokmakov
856c8ef0e8
test for bug in ATTACH PART
2019-07-25 13:31:48 +03:00
Nikita Mikhailov
795eebb5ad
stable tests
2019-07-25 12:39:36 +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
Nikita Mikhailov
f637e22eb6
tests...
2019-07-25 11:50:16 +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
d4f3bdb946
Merge pull request #6114 from vitlibar/add-test-for-reload-dictionary-after-fail-by-timer
...
Add test for reloading a dictionary after fail by timer.
2019-07-25 04:10:34 +03:00
alexey-milovidov
65600efbfa
Update 00974_final_predicate_push_down.reference
2019-07-25 04:09:26 +03:00
Alexey Milovidov
e52653aa06
Miscellaneous
2019-07-25 04:08:33 +03:00
Alexey Milovidov
290322b39d
Updated instruction
2019-07-25 04:07:58 +03:00
alexey-milovidov
26580844f5
Update 00974_final_predicate_push_down.sql
2019-07-25 04:07:06 +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
Alexey Milovidov
5755c93d5c
Fixed MSan report
2019-07-25 01:31:39 +03:00
alexey-milovidov
05ca583f22
Merge pull request #6126 from yandex/fix_index_write_with_adaptive_granularity
...
Fix secondary indices write with adaptive granularity
2019-07-25 01:16:21 +03:00
Alexey Milovidov
4c57405770
Added information about revision to trace log
2019-07-24 23:12:32 +03:00
Alexey Milovidov
cfb2066198
Added information about thread number to trace log
2019-07-24 23:10:23 +03:00
Alexey Milovidov
4b93b45935
Update settings description
2019-07-24 22:22:42 +03:00
Alexey Milovidov
d9976abe18
Added ProfileEvents for signal handler overruns
2019-07-24 22:19:29 +03:00
Alexey Milovidov
63764af4fb
Merge branch 'merge-profiler' of github.com:yandex/ClickHouse into merge-profiler
2019-07-24 22:04:13 +03:00
Alexey Milovidov
6e8258fa2f
Added ProfileEvent for dropped traces due to pipe full
2019-07-24 22:04:07 +03:00
Alexey Milovidov
f031d064b6
Don't drop all traces if frequency is too high
2019-07-24 22:03:26 +03:00
Alexey Milovidov
9de5b0d21c
Fixed error in test
2019-07-24 21:07:30 +03:00
Nikolai Kochetov
58d579e7e2
Use IInputFormat and IOutputFormat by default.
2019-07-24 21:00:09 +03:00
chertus
b3123df58e
use source and joined columns to detect JOIN ON right and left keys
2019-07-24 18:37:37 +03:00
Alexey Milovidov
d95c6e1bc4
Attempt to solve signal safety of libunwind with solution from Fedor Korotkiy
2019-07-24 18:26:23 +03:00
alesapin
f7e0d17490
Fix some bugs
2019-07-24 18:22:16 +03:00
CurtizJ
3d706ec20e
support 'order by' optimiation with simple monotonic functions
2019-07-24 17:23:57 +03:00
alesapin
8a00ce5ff1
Intermediate step
2019-07-24 15:56:39 +03:00
Bakhtiyor Ruziev
67b8f0c789
Add regression test for #5192 fix
2019-07-24 15:36:16 +03:00
Nikita Mikhaylov
405e9965f4
Merge branch 'master' into system_text_log
2019-07-24 15:21:29 +03:00
akuzm
95fdc8a96b
Add a test case for #4402 . ( #6129 )
...
Turns out it's easy to reproduce using the `hits` table, so we can add a case to
stateful tests.
2019-07-24 15:04:18 +03:00
Nikita Mikhaylov
df14bd6142
test with sleep
2019-07-24 15:02:58 +03:00
Vitaly Baranov
96df26a4d2
Add test for reloading a dictionary after fail by timer.
2019-07-24 14:46:50 +03:00
Vitaly Baranov
d3ff30cb5b
Use better approach to check offsets in protobuf messages.
2019-07-24 14:41:49 +03:00
alesapin
75c2f4950b
Merge branch 'master' into fix_index_write_with_adaptive_granularity
2019-07-24 14:13:20 +03:00
alesapin
ba988735cc
Merge branch 'master' of github.com:yandex/ClickHouse
2019-07-24 14:10:46 +03:00
alesapin
db9f0cfba1
Add empty text_log file
2019-07-24 14:10:34 +03:00
Ivan Lezhankin
b14356ba11
Try to debug failing kafka test.
2019-07-24 12:53:51 +03:00
Nikolai Kochetov
ca17df3f26
Merge pull request #6119 from yandex/fix-cast-from-nullable-lc
...
Fix LowCardinality(Nullable) to not-Nullable cast.
2019-07-24 12:49:20 +03:00
Nikita Mikhaylov
e382089c7f
better test
2019-07-24 11:41:31 +03:00
Nikita Mikhaylov
38607af95f
nothing interesting
2019-07-24 11:26:23 +03:00
alesapin
fd97c01f78
Fix test
2019-07-24 10:59:20 +03:00
Alexey Milovidov
56bb2956cd
Addition to prev. revision
2019-07-24 05:07:16 +03:00
Alexey Milovidov
b9105e131f
Avoid deadlock in TraceCollector
2019-07-24 05:02:10 +03:00
Alexey Milovidov
72d543f3cf
Updated test
2019-07-24 04:11:46 +03:00
Alexey Milovidov
c97a4e1133
Added a test
2019-07-24 04:04:46 +03:00
Alexey Milovidov
33ee957b5c
Addition to prev. revision
2019-07-24 03:49:14 +03:00
Alexey Milovidov
36746d85dd
Better cache for symbolizeAddress function
2019-07-24 03:47:17 +03:00
Alexey Milovidov
378fff2990
Lower bound on profiler period
2019-07-24 03:46:37 +03:00
Alexander Tokmakov
6e4aabbb1a
draft for StorageMergeTree
2019-07-23 23:18:18 +03:00
Alexey Milovidov
a3f6b70433
Fixed warning from PVS-Studio
2019-07-23 23:07:33 +03:00
chertus
9da1b0089c
visitor for JOIN ON keys extraction
2019-07-23 22:49:15 +03:00
Alexander Tokmakov
ad787938f5
better detached part name parsing
2019-07-23 22:43:33 +03:00
Alexander Tokmakov
3c2172b750
parse and interpret query
2019-07-23 22:25:10 +03:00
Alexey Milovidov
02fb67dc8a
Simple protection from too frequent profiler signals
2019-07-23 21:45:54 +03:00
Ivan Lezhankin
e8ef13edfa
Check background_task_handle
2019-07-23 20:34:57 +03:00
alesapin
6e458a6a68
Fix secondary indices write with adaptive granularity
2019-07-23 18:27:36 +03:00
Alexey Milovidov
1913bfa276
Added cache for symbolizeAddress function
2019-07-23 17:59:29 +03:00
Nikita Mikhaylov
811e3ab241
style check
2019-07-23 17:50:38 +03:00
dimarub2000
752eccf2eb
changes after review
2019-07-23 17:41:41 +03:00
Alexey Milovidov
1b00e99334
Fixed error with initialization of query profiler
2019-07-23 17:30:14 +03:00
Vitaly Baranov
746066be48
Remove excessive throw
in a correct case.
2019-07-23 17:02:15 +03:00
Vitaly Baranov
2068e1f0e0
Add more protobuf IO tests.
2019-07-23 16:57:25 +03:00
Dmitry Rubashkin
4bee54cd93
integration test added
2019-07-23 16:53:25 +03:00
Dmitry Rubashkin
13ef987361
Git commit fixes
2019-07-23 16:53:25 +03:00
Dmitry Rubashkin
4d43cf2a8d
config exception when not corresponding root names
2019-07-23 16:53:25 +03:00
Vitaly Baranov
4f91e3e4b7
Fix protobuf format tests.
2019-07-23 16:51:22 +03:00
Alexander Tokmakov
87c7186feb
better test
2019-07-23 16:37:52 +03:00
Alexey Milovidov
0755d1e4b3
Added demangling to function symbolizeAddress
2019-07-23 16:34:22 +03:00
Alexey Milovidov
bd3173bac2
Added comment
2019-07-23 16:17:56 +03:00
Alexey Milovidov
398a280f23
Fixed error
2019-07-23 16:16:51 +03:00
Alexey Milovidov
97103b9067
Every function in its own file
2019-07-23 15:55:13 +03:00
Nikita Mikhaylov
14b384f3e5
Merge branch 'master' into system_text_log
2019-07-23 15:51:04 +03:00
Alexey Milovidov
2d895c4fe6
Changed symbolizeTrace to symbolizeAddress
2019-07-23 15:46:58 +03:00
Nikita Mikhaylov
23dba8d025
better test
2019-07-23 13:50:43 +03:00
Alexander Tokmakov
89a4462c4f
Merge branch 'master' into csv_unquoted_nulls_and_default_values
2019-07-23 13:49:47 +03:00
chertus
9baf1bf196
Merge branch 'master' into ast
2019-07-23 13:49:18 +03:00
Alexander Tokmakov
35b57699b0
better error message
2019-07-23 13:44:28 +03:00
akazz
6aae1ad391
Adjusted comments in the .h
2019-07-23 13:34:56 +03:00
tai
b01f54ade1
ISSUE-5695: support push down predicate to final subquery
2019-07-23 18:22:07 +08:00
Nikolai Kochetov
eef0e08fbd
Added test with LowCardinality(Nullable) to not-Nullable cast.
2019-07-23 13:04:26 +03:00
Nikita Mikhaylov
b0ee2a4ce0
system flush logs added
2019-07-23 12:10:00 +03:00
Nikita Mikhaylov
61412e7f74
changes after review + update config + resolve build fail
2019-07-23 11:22:38 +03:00
robot-clickhouse
58e03ad7b9
Auto version update to [19.13.1.1] [54425]
2019-07-23 11:20:52 +03:00
robot-clickhouse
8c71c109a6
Auto version update to [19.12.1.889] [54424]
2019-07-23 11:20:19 +03: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
Nikolai Kochetov
1e35f87760
Fix CAST from LowCardinality(Nullable).
2019-07-23 10:57:32 +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
alexey-milovidov
cd6c15b79f
Merge pull request #6057 from dimarub2000/master
...
CREATE TABLE AS table_function()
2019-07-23 02:50:08 +03:00
Alexey Milovidov
b282c6160d
Added "fastops" as submodule
2019-07-23 02:41:06 +03:00
akazz
58d83e44ed
Build fixed
2019-07-23 01:39:42 +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
chertus
eaa3cb557a
move prefer_alias_to_column_name logic out of parser
2019-07-22 22:21:07 +03:00
Nikolai Kochetov
fa2610e096
Fix CAST from LowCardinality(Nullable).
2019-07-22 19:46:42 +03:00
Nikita Mikhaylov
daa7fc154f
better includes
2019-07-22 19:21:34 +03:00
Nikita Mikhaylov
a80e066769
better
2019-07-22 19:04:15 +03:00
Nikolai Kochetov
1d960e5c0b
Fix CAST from LowCardinality(Nullable).
2019-07-22 18:41:52 +03:00
Nikita Mikhaylov
0f3a4a34b4
test + comment
2019-07-22 18:33:38 +03:00
Nikita Mikhaylov
8289472b98
style improvements
2019-07-22 18:09:33 +03:00
Alexander Kazakov
9c769bb942
Fixed build in clang
2019-07-22 16:56:38 +03:00
Nikita Mikhaylov
c6667ff888
wip
2019-07-22 16:54:08 +03:00
Dmitry Rubashkin
0320de9132
test and fixes
2019-07-22 16:49:16 +03:00
Alexander Kazakov
2ebf2e8d69
Sync with upstream
2019-07-22 16:41:04 +03:00
Dmitry Rubashkin
9ffbf65741
Fix of a fix
2019-07-22 15:50:10 +03:00
Dmitry Rubashkin
42efc1051e
fixes of bad commit
2019-07-22 15:35:29 +03:00
Dmitry Rubashkin
d279a685a9
Merge branch
2019-07-22 15:31:17 +03:00
Dmitry Rubashkin
6c6af60194
Fixes after review
2019-07-22 15:18:53 +03:00
Ivan Lezhankin
969cb2f826
Append _partition virtual column
2019-07-22 14:32:11 +03:00
Ivan Lezhankin
762f1d3a85
Merge remote-tracking branch 'upstream/master' into issue-5846
2019-07-22 13:19:37 +03:00
Alexander Tokmakov
d46a27ee01
Fixes
2019-07-22 03:28:55 +03:00
Alexander Tokmakov
89ae562e83
Fix
2019-07-22 03:17:03 +03:00
Alexander Tokmakov
7e9c3f2022
PeekableReadBufferCheckpoint
2019-07-22 03:12:11 +03:00
Alexander Tokmakov
456a8c4b17
Fix buffer padding
2019-07-22 03:10:13 +03:00
Alexander Tokmakov
23fddc8688
Fixes
2019-07-22 03:09:35 +03:00
Alexander Tokmakov
4d0a6bad5e
PeekableReadBuffer
2019-07-22 03:07:55 +03:00
Alexander Tokmakov
6e4efb94f0
OPTIMIZE(1)
2019-07-22 03:02:31 +03:00
Alexander Tokmakov
66ae943899
tests
2019-07-22 03:02:15 +03:00
Alexander Tokmakov
f43f7c43a5
Fixes
2019-07-22 02:59:31 +03:00
Alexander Tokmakov
ab9ce18fc7
Added CSV (de)serialization
2019-07-22 02:58:55 +03:00
Alexander Tokmakov
c92a0f3ac5
Fixes
2019-07-22 02:58:39 +03:00
Alexander Tokmakov
4e97fd697a
Diagnostic info for Template
2019-07-22 02:58:22 +03:00
Alexander Tokmakov
a931e16c6c
Diagnostic info refactored
2019-07-22 02:57:27 +03:00
alexey-milovidov
adfc369172
Merge pull request #6082 from vitlibar/fix-segfault-in-reload-outdated
...
Fix segfault in ExternalLoader::reloadOutdated().
2019-07-22 01:28:37 +03:00
alexey-milovidov
3da461fea5
Merge pull request #6038 from yandex/Immowelt-ThreeDots
...
Merging COLUMNS matcher
2019-07-22 01:27:38 +03:00
Alexander Tokmakov
892b67492d
Checking for suffix, not for eof
2019-07-22 01:03:29 +03:00
Alexander Tokmakov
79015898cf
TemplateRowInputStream
2019-07-22 01:02:54 +03:00
Alexander Tokmakov
05d6e23373
Customizable prefix, suffix and row delimiter
2019-07-22 01:00:34 +03:00
Alexander Tokmakov
4f7720139a
TemplateRowOutputStream changed to TemplateBlockOutputStream
2019-07-22 00:59:10 +03:00
Alexander Tokmakov
12e08417d6
Template format implementation
2019-07-22 00:57:57 +03:00
Alexey Milovidov
9b5cba8174
Fixed bad code
2019-07-22 00:35:43 +03:00
Alexey Milovidov
b2961bcc31
Added check for empty number of columns; improved test
2019-07-22 00:19:42 +03:00
Alexey Milovidov
8060993ca2
Removed obsolete comment
2019-07-21 23:40:34 +03:00
alexey-milovidov
ea9b36e531
Merge pull request #6091 from yurriy/php-client-test
...
MySQL Native Driver test
2019-07-21 23:29:24 +03:00
CurtizJ
e559c8f949
fix build
2019-07-21 21:17:28 +03:00
Alexey Milovidov
fb0d09c5d3
Rename files
2019-07-21 20:03:58 +03:00
alexey-milovidov
9f9dd040dd
Update StorageMergeTree.cpp
2019-07-21 17:14:55 +03:00
Yuriy
28a0481f1a
php mysql client test
2019-07-21 15:19:14 +03:00
Mikhail f. Shiryaev
75de4eec70
Add tests for optimization exceptions
2019-07-21 08:57:24 +02:00
Alexey Milovidov
47058e8e11
Fixed error
2019-07-21 05:13:42 +03:00
Alexey Milovidov
7064fe6678
Merge branch 'master' into Immowelt-ThreeDots
2019-07-21 02:21:55 +03:00
Mikhail f. Shiryaev
15fd980d0b
Add description "unable to select parts" and logging
2019-07-21 00:39:40 +02:00
Ivan Lezhankin
301a64afa6
Merge remote-tracking branch 'upstream/master' into issue-5846
2019-07-21 01:09:03 +03:00
alexey-milovidov
8008ce6e9e
Update StorageReplicatedMergeTree.cpp
2019-07-20 10:44:05 +02:00
Mikhail f. Shiryaev
da50663e2c
Pass a proper message to exception
2019-07-20 10:44:05 +02:00
alexey-milovidov
c6b468d435
Merge pull request #6083 from yandex/odbc-initial-load-fix
...
Fix for initial load of external dictionaries via ODBC
2019-07-20 04:26:22 +03:00
Alexey Milovidov
7661eeefa0
Fixed idiotic test
2019-07-20 03:47:06 +03:00
Alexey Milovidov
cf873b9308
Fixed flappy test (can fail due to timeout in debug/sanitizer builds)
2019-07-20 03:28:48 +03:00
alexey-milovidov
67b72f4261
Merge pull request #6029 from yandex/aku/agg-arenas
...
Do not access shared arenas in aggregate function columns.
2019-07-20 03:16:24 +03:00
alexey-milovidov
b035edefea
Update InterpreterCreateQuery.cpp
2019-07-20 03:02:18 +03:00
alexey-milovidov
f9d1214bbc
Update DatabasesCommon.cpp
2019-07-20 02:51:43 +03:00
alexey-milovidov
3abf1b278e
Update DatabasesCommon.cpp
2019-07-20 02:51:20 +03:00
Alexey Milovidov
7ce6a71c95
Steal part of modifications from #6007
2019-07-20 02:42:59 +03:00
Alexey Milovidov
389cf9fcee
Better fix: removed old and bad code #6069
2019-07-20 02:10:55 +03:00
Alexey Milovidov
21165edcb7
Quick fix for initial load of external dictionaries via ODBC
2019-07-20 02:06:15 +03:00
alexey-milovidov
ad95d4e3e0
Merge pull request #6000 from Quid37/master
...
regression methods adam optimizer
2019-07-20 00:45:51 +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
d0996c0b73
Minor modifications for #6070
2019-07-20 00:37:34 +03:00
alexey-milovidov
4adf47bb77
Merge pull request #6068 from PerformanceVision/fix_ipv6_cidr
...
Resolve segfault on IPv6CIDRToRange with setting a max cidr
2019-07-20 00:32:05 +03:00
alexey-milovidov
d0eb20f4b7
Merge pull request #6070 from bopohaa/fix-protobuf-length-delimited-message-limit
...
Add verification of the length of the protobuf message
2019-07-20 00:31:36 +03:00
alexey-milovidov
3a8bb58522
Update ProtobufReader.cpp
2019-07-20 00:30:22 +03:00
alexey-milovidov
f2b6adf15e
Update ProtobufReader.cpp
2019-07-20 00:27:20 +03:00
alexey-milovidov
6cb9e9f56f
Update ProtobufReader.h
2019-07-20 00:26:12 +03:00
alexey-milovidov
3ec2360afd
Update ProtobufReader.h
2019-07-20 00:25:49 +03:00
alexey-milovidov
93ddb7da89
Update ProtobufReader.cpp
2019-07-20 00:25:07 +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
Vitaly Baranov
e64f8e606d
Add comments.
2019-07-20 00:04:19 +03:00
alexey-milovidov
f18e9592a1
Update ExternalLoader.cpp
2019-07-20 00:03:57 +03:00
Vitaly Baranov
5b879e143f
Fix segfault in ExternalLoader::reloadOutdated().
2019-07-20 00:03:25 +03:00
alexey-milovidov
ca5d078a23
Update DatabaseOrdinary.cpp
2019-07-20 00:02:29 +03:00
alexey-milovidov
14f14c68cb
Update FunctionsCoding.h
2019-07-19 23:58:28 +03:00
alexey-milovidov
936aa38e64
Merge pull request #6062 from weiqxu/master
...
support reading from HA mode HDFS
2019-07-19 23:56:09 +03:00
Yuriy
be589ed825
commented about endianness
2019-07-19 22:29:44 +03:00
Alexander Tokmakov
fb06a8518e
optimization
2019-07-19 21:56:14 +03:00
Yuriy
34a4d6a57a
better
2019-07-19 21:46:57 +03:00
Yuriy
fa2dfcd71d
better
2019-07-19 21:43:52 +03:00
Yuriy
39ea5486f5
removed reinterpret_cast
2019-07-19 21:29:39 +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
Alexey Milovidov
9ccf5a7c90
Merge branch 'master' into Immowelt-ThreeDots
2019-07-19 19:54:00 +03:00
alexey-milovidov
6f96102fe9
Merge pull request #6058 from yandex/uniq-fix-non-deterministic-result
...
Fix non-deterministic result of "uniq" aggregate function in extreme rare cases.
2019-07-19 18:40:12 +03:00
Alexey Milovidov
faa07c8440
Added a test
2019-07-19 18:37:45 +03:00
Ivan Lezhankin
f9945494d9
Always resume consumer before subscription.
...
Also add more logs to see the difference between rd_kafka_assignment() vs rd_kafka_subscription()
2019-07-19 18:01:34 +03:00
chertus
e15f6e9752
Merge branch 'master' into ast
2019-07-19 18:01:09 +03:00
CurtizJ
1bec5a8241
refactor MergeTree select streams
2019-07-19 17:56:00 +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
Alexander Tokmakov
8146126dfd
improvements
2019-07-19 16:57:20 +03:00
Mikhail Filimonov
b9f208d54c
reverse order of cropping and removing sensitive data in query
2019-07-19 15:50:11 +02:00
Dmitry Rubashkin
6ba4408741
Tests added
2019-07-19 16:30:22 +03:00
Dmitry Rubashkin
1aca3da121
Fixed inegration
2019-07-19 16:28:28 +03:00
Alexey Milovidov
98b0d08bf3
Added missing header #5981
2019-07-19 15:57:23 +03:00
CurtizJ
2797c16930
fix prewhere at fetching columns
2019-07-19 13:14:27 +03:00
Guillaume Tassery
7063ab3c38
Set max CIDR for IPV6 cidr function
2019-07-19 11:39:25 +02:00
Mikhail Filimonov
f13e18d4fb
atomic masker in channel
2019-07-19 10:23:51 +02:00
Mikhail Filimonov
9c2ae4513d
SensitiveDataMasker
2019-07-19 10:22:42 +02:00
Weiqing Xu
ec3c5a369d
support reading from HA mode HDSF
...
the driver libhdfs3 can support HA mode. When the uri doesn't contain
port num, the libhdfs3 will handle it in HA mode, treat the uri as
nameservice name and read the real host and port from configuration file
as the origin Java client.
the default configuration file is hdfs-client.xml in the working
directory, it also can be set in env variable "LIBHDFS3_CONF".
the format of the configuration file is same with hdfs-site.xml.
2019-07-19 07:32:59 +08:00
CurtizJ
b9dc472071
Merge remote-tracking branch 'upstream/master' into order-by-efficient
2019-07-19 01:09:59 +03:00
Alexey Milovidov
a8caf269ca
Better rehash loop
2019-07-18 23:28:47 +03:00
Alexey Milovidov
268854d14e
Fix non-deterministic result of "uniq" aggregate function in extreme rare cases
2019-07-18 23:21:24 +03:00
Alexey Milovidov
71eed6507e
Removed manual memory tracking when appropriate
2019-07-18 23:10:31 +03:00
alexey-milovidov
6706af64d7
Merge pull request #5981 from 4ertus2/some
...
Count new/delete memory in MemoryTracker
2019-07-18 23:07:00 +03:00
dimarub2000
c9ec16987e
minor fixes
2019-07-18 22:09:45 +03:00
dimarub2000
1ab0893432
minor fixes
2019-07-18 21:59:31 +03:00
dimarub2000
20a846d753
Merge branch 'master' of github.com:yandex/ClickHouse
2019-07-18 21:52:18 +03:00
CurtizJ
12b3560def
build fixes
2019-07-18 21:34:15 +03:00
Dmitry Rubashkin
7382cb41fa
CREATE TABLE AS table_function()
2019-07-18 21:29:49 +03:00
alexey-milovidov
d3449e118f
Update TaskStatsInfoGetter.cpp
2019-07-18 21:24:38 +03:00
Amos Bird
9d5693bd69
fix clang build with certain toolchain
2019-07-19 02:17:26 +08:00
chertus
8f168005d9
disable (not working) defaults for table functions in HTTP
2019-07-18 19:54:31 +03:00
Alexander Tokmakov
4c8c516208
add tests
2019-07-18 18:54:58 +03:00
chertus
d8579714b8
trying to speedup Allocator::realloc() (attempt 2)
2019-07-18 18:25:23 +03:00
Alexander Tokmakov
6565d5c15f
parse unquoted NULL
2019-07-18 18:20:45 +03:00
CurtizJ
4380404604
skip block with zero rows in MergingSortedBlockInputStream
2019-07-18 18:09:08 +03:00
chertus
34e1b81f84
trying to speedup Allocator::realloc()
2019-07-18 18:07:41 +03:00
CurtizJ
a3d25790bd
basic implementation of reading in pk order and 'order by' optimization
2019-07-18 17:41:11 +03:00
chertus
6885e892ae
do not damage ColumnsDescription in TTLBlockInputStream (appempt 2)
2019-07-18 16:44:29 +03:00
Alexander Tokmakov
668959b300
use default if not nullable
2019-07-18 16:43:20 +03:00
chertus
5f510d5657
fix damage ColumnsDescription in TTLBlockInputStream
2019-07-18 16:30:02 +03:00
Nik
514851f0f8
Added verification of the length of the protobuff message
2019-07-18 15:58:03 +04:00
Alexander Kuzmenkov
9df09f3506
Do not access shared arenas in aggregate function columns.
...
These arenas may be updated concurrently, so it is unsafe to
access them, as illustrated by issue #4402 . Store them separately
and use a different arena for the updates. Change some callers
to accomodate for this.
2019-07-18 14:21:37 +03:00
akazz
87ef45bd3a
Fixed column size mismatch in some scenarios
2019-07-18 13:20:53 +03:00
akazz
e34e745466
Fix for consts
2019-07-18 13:14:12 +03:00
akazz
b6960e6700
Minor renamings
2019-07-18 12:09:29 +03:00
akazz
eb10ae0e5e
WIP - Fixes and code moving around
2019-07-18 11:07:24 +03:00
Yuriy
1913ae9cee
fixed asan check
2019-07-18 08:00:35 +03:00
chertus
afa2bd6dfb
allow alloc 4Mb more after out-of-limit exception
2019-07-18 01:48:31 +03:00
alexey-milovidov
a20a39caac
Merge pull request #6036 from vitlibar/remove-unnecessary-try-catch
...
Remove unnecessary try catch
2019-07-17 23:34:37 +03:00
alexey-milovidov
f6c636ce2e
Merge pull request #6039 from nikitamikhaylov/metrics_task
...
AsynchronousMetrics: add a metric for number of databases and total number of tables.
2019-07-17 22:34:37 +03:00
alexey-milovidov
aaee4724c3
Update AsynchronousMetrics.cpp
2019-07-17 22:34:29 +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
dc8b83c882
Added a test #6040
2019-07-17 20:23:06 +03:00
Alexey Milovidov
dd97878107
Style
2019-07-17 20:19:55 +03:00
akazz
6f9d87f787
WIP - Made code much more compact
2019-07-17 19:10:37 +03:00
Ivan
af44506ab4
Do not show virtual columns in DESCRIBE TABLE
2019-07-17 18:45:32 +03:00
Nikita Mikhaylov
44db7badbe
done
2019-07-17 18:36:28 +03:00
chertus
90487058c4
remove wrong infinite loop ckeck
2019-07-17 18:16:28 +03:00
Alexey Milovidov
eb625cba11
Merge remote-tracking branch 'origin/master' into Immowelt-ThreeDots
2019-07-17 17:49:21 +03:00
alexey-milovidov
ea28254711
Merge pull request #5964 from nikitamikhaylov/logs_bugfix
...
"send_logs_level" bugfix
2019-07-17 17:42:54 +03:00
Vitaly Baranov
ee2fd91e8f
Merge branch 'master' into remove-unnecessary-try-catch
2019-07-17 16:10:58 +03:00
Vitaly Baranov
a01fa50a93
Merge pull request #6011 from vitlibar/check-dictionaries-for-modification-with-unlocked-mutex
...
Check dictionaries for modification with unlocked ExternalLoader::mutex
2019-07-17 16:06:25 +03:00
proller
9be369fed5
clickhouse-test: optional termcolor ( #6035 )
2019-07-17 15:46:20 +03:00
chertus
ce1bc54c0c
infinite loop detection in MemoryTracker + shrink joins perf test into 1Gb memory usage
2019-07-17 15:40:05 +03:00
Nikita Mikhaylov
56c9bf5acc
pep8
2019-07-17 14:57:05 +03:00
Nikita Mikhaylov
e5360413a6
integration test added
2019-07-17 14:55:18 +03:00
alexey-milovidov
07fcbbcdc8
Merge pull request #6028 from amosbird/c1
...
Optimize count()
2019-07-17 13:08:16 +03:00
alexey-milovidov
e11c4a7740
Merge pull request #6027 from amosbird/c2
...
Misc build fix
2019-07-17 12:47:16 +03:00
Vitaly Baranov
38c3889564
Add an integration test for the invalidate_query parameter.
2019-07-17 11:40:35 +03:00
Vitaly Baranov
503553cbe4
Check dictionaries for modification with unlocked ExternalLoader::mutex
2019-07-17 11:40:35 +03:00
Vitaly Baranov
6d563c51e6
Remove unnecessary try-catch in the constructors of classes derived from IExternalLoadable.
2019-07-17 11:39:36 +03:00
Amos Bird
71233e11a9
minor updates.
2019-07-17 14:17:34 +08:00
Alexander Kozhikhov
52007c96d9
adam is default now
2019-07-17 00:11:10 +03:00
akazz
f75585cd46
Moving around some code
2019-07-17 00:06:23 +03:00
akazz
df2d347617
WIP: Candidate1 - Much less code. Several TODO's are still there
2019-07-16 23:57:11 +03:00
Alexey Milovidov
ef6c7ea5be
Merge COLUMNS matcher (incomplete)
2019-07-16 23:05:00 +03:00
alexey-milovidov
503556ae53
Update ExpressionAnalyzer.cpp
2019-07-16 22:22:05 +03:00
alexey-milovidov
d0c088b9cc
Update ExpressionAnalyzer.cpp
2019-07-16 22:16:25 +03:00
Nik
4a30eba32f
Fix style check
2019-07-16 22:34:47 +04:00
Amos Bird
9fa955403b
Optimize count()
...
Choose the smallest column to count if possible.
2019-07-17 02:29:17 +08:00
Amos Bird
a3312106af
Misc build fix
2019-07-17 02:27:11 +08:00
chertus
3db106c1f2
disable new/delete memory tracking for unbundled build
2019-07-16 21:09:06 +03:00
Vitaly Baranov
96f7a41044
Add an integration test for the invalidate_query parameter.
2019-07-16 20:57:08 +03:00
Vitaly Baranov
b74dacf9c4
Check dictionaries for modification with unlocked ExternalLoader::mutex
2019-07-16 20:47:18 +03:00
Alexey Milovidov
3793c3cd13
Merge branch 'ThreeDots' of https://github.com/Immowelt/ClickHouse into Immowelt-ThreeDots
2019-07-16 19:41:05 +03:00
chertus
019c156afa
fix je_nalocx() call with 0 & remove std::new_handler logic
2019-07-16 19:36:10 +03:00
alexey-milovidov
45b7588ab1
Merge pull request #6025 from dimarub2000/master
...
Minor fixes for FullTextIndex string functions
2019-07-16 19:30:32 +03:00
Nikita Mikhaylov
04de34a74f
changes after review
2019-07-16 19:27:42 +03:00
Nik
922c3eb22e
Clear Kafka's buffer if an invalid message is found.
2019-07-16 19:27:42 +04:00
alesapin
f5b7523429
Merge pull request #5899 from yandex/aku/perftest-mem
...
Report memory usage in performance tests.
2019-07-16 18:09:44 +03:00
chertus
4bc79bca35
fix unbandled build & add comment
2019-07-16 17:18:01 +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
chertus
7065504d5e
fix throw from ThreadStatus dtor
2019-07-16 14:56:46 +03:00
Dmitry Rubashkin
dcd8696466
Minor fixes
2019-07-16 14:40:11 +03:00
alesapin
27447d4816
Fix style
2019-07-16 13:50:59 +03:00
alesapin
0df345c2d9
Fix integration test
2019-07-16 13:49:16 +03:00
alesapin
f786c45ac4
Add settings for check query backward compatibility
2019-07-16 13:19:37 +03:00
Yuriy
a03114ede2
cast to proper type
2019-07-16 11:47:54 +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
c370de432a
better
2019-07-16 10:28:53 +03:00
Yuriy
a514de943c
replacing not implemented query
2019-07-16 10:11:59 +03:00
Yuriy
4df72f18ce
writing packets in parts
2019-07-16 09:39:18 +03:00
alexey-milovidov
70b0c3157d
Merge pull request #6009 from filimonov/config_for_query_masking_rules_tests
...
configs for query masking rules tests
2019-07-16 03:38:18 +03:00
alexey-milovidov
ceffbf39d6
Merge pull request #5965 from dimarub2000/master
...
Primary key, MergeTreeIndexFullText and MergeTreeIndexSet support for string functions
2019-07-16 03:36:42 +03:00
alexey-milovidov
b4306c13cd
Merge pull request #6019 from yandex/fix-max-rows-to-read-without-uniform-read-distribution
...
Fixed error with calculating of max_rows_to_read if the setting merge_tree_uniform_read_distribution is set to zero.
2019-07-16 02:06:17 +03:00
Alexey Milovidov
4ed1592cb6
Added license for test
2019-07-16 01:00:06 +03:00
alexey-milovidov
5215d13437
Merge pull request #5998 from Enmk/double_delta_fix_2
...
Fixed DoubleDelta encoding cases for random Int32 and Int64.
2019-07-16 00:54:22 +03:00
alexey-milovidov
ea54cdbede
Update CompressionCodecDoubleDelta.cpp
2019-07-16 00:53:23 +03:00
alexey-milovidov
37f9206925
Merge pull request #6001 from yandex/fixed-error-with-query-id-printing
...
Fixed error with query_id printing
2019-07-16 00:46:11 +03:00
alexey-milovidov
c517c467de
Merge pull request #6018 from yandex/fix_protocol_inconsistency
...
Fix bug client version which is able to read additional progress fiel…
2019-07-16 00:38:00 +03:00
Yuriy
f221fb0999
build fix
2019-07-15 23:37:01 +03:00
Alexey Milovidov
27b9f79cba
Fixed error after refactoring
2019-07-15 23:26:55 +03:00
Alexey Milovidov
77fb3de2d6
Improved test
2019-07-15 23:26:22 +03:00
Alexey Milovidov
21958c47cd
Added failing test
2019-07-15 23:06:20 +03:00
alexey-milovidov
bfe5022643
Merge pull request #6008 from yandex/gcd-lcm-std
...
Using std::gcd, lcm instead of boost
2019-07-15 22:30:42 +03:00
Alexey Milovidov
066337e197
Fixed test
2019-07-15 22:29:54 +03:00
Alexey Milovidov
3ac5ca0da0
Merge branch 'master' into fixed-error-with-query-id-printing
2019-07-15 22:29:33 +03:00
Alexey Milovidov
1937623f18
Better test
2019-07-15 22:13:43 +03:00
alexey-milovidov
1597103107
Merge pull request #6017 from yandex/mimallocexceptions
...
Add OOM checks in mimalloc
2019-07-15 22:10:05 +03:00
chertus
bd821d1898
exception safety and fix sanitizers' builds
2019-07-15 21:57:00 +03:00
Alexey Milovidov
a175c55136
Added a test that shows catastrophic behaviour of mimalloc
2019-07-15 21:49:30 +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
Danila Kutenin
f375a4559a
Add exception checking in mimalloc
2019-07-15 20:49:54 +03:00
Alexey Milovidov
b3c0292613
Fixed error; added test
2019-07-15 19:32:52 +03:00
Nikita Mikhailov
cc5f87e352
Merge branch 'master' of github.com:yandex/ClickHouse into logs_bugfix
2019-07-15 19:31:54 +03:00
Nikolai Kochetov
ced2721ce8
Fix deserializeAndInsertFromArena. ( #5973 )
2019-07-15 19:20:21 +03:00
alesapin
30464ccef7
Remove flapping uniqCombined(>= 19) tests
2019-07-15 19:19:25 +03:00
Nikita Mikhailov
d192df1388
poco patch define added
2019-07-15 18:25:32 +03:00
Mikhail Filimonov
e7b23d4fb2
configs for query masking rules tests
2019-07-15 16:53:16 +02:00
Alexey Milovidov
68ba42cc89
Using std::gcd, lcm instead of boost
2019-07-15 17:45:56 +03:00
chertus
81d8597bb9
memory tracking for size-unaware deletes with jemalloc
2019-07-15 16:19:56 +03:00
chertus
91028e9e5d
Merge branch 'master' into some
2019-07-15 13:45:48 +03:00
Vasily Nemkov
0f4075478e
Fixed DoubleDelta encoding cases for random Int32 and Int64.
2019-07-15 08:17:14 +03:00
Alexey Milovidov
4d14f8c230
Fixed error in query_id printing
2019-07-15 04:07:01 +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
Alexander Kozhikhov
7c54bb0956
deleted metadata
2019-07-14 23:38:07 +03:00
Alexander Kozhikhov
860be14761
adam optimizer
2019-07-14 23:35:34 +03:00
Yuriy
a6bd5bccff
tiny fix
2019-07-14 11:27:58 +03:00
Gleb Novikov
c1d91222d5
Ranamed setPrimaryKeyIndicesAndColumns to setProperties
2019-07-13 13:42:52 +03:00
Alexey Milovidov
e1271ae1f2
Added missing file #5958
2019-07-13 02:13:15 +03:00
alexey-milovidov
1314e083b4
Merge pull request #5958 from alex-krash/coverage_tests
...
Batch of tests
2019-07-13 00:52:18 +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
chertus
8c715d9b91
minor fix in cmake-files
2019-07-12 20:22:20 +03:00
chertus
a4bbb39195
fix crash cause of recursion in allocs and memory tracking
2019-07-12 20:06:02 +03:00
chertus
37bee1104d
Merge branch 'master' into some
2019-07-12 18:16:03 +03:00
chertus
9bd42366f0
build fixes
2019-07-12 17:41:59 +03:00
dimarub2000
4005987fc4
multiSearchAny fixed, tests added, minor syle changes
2019-07-12 14:35:17 +03:00
Maxim Fridental
bb40d4729c
Implement COLUMNS clause
2019-07-12 13:17:38 +02:00
Vitaly Baranov
fd89a8b051
Merge pull request #5212 from andyyzh/custom_week_functions
...
Added functions for working with the Custom week number
2019-07-12 14:00:35 +03:00
alexey-milovidov
ac035f7f5b
Merge pull request #5970 from vitlibar/invalid-json-must-not-parse
...
Extra bytes after correctly parsed JSON are now considered as a parsing error.
2019-07-12 03:26:42 +03:00
alexey-milovidov
a3dda4053f
Merge pull request #5979 from vitlibar/read-prefix-before-blocks-while-executing-subquery
...
Fix using a table powered by the File engine in a subquery.
2019-07-12 03:20:31 +03:00
Alexander Kozhikhov
c5b0871c9b
small fix
2019-07-12 00:02:22 +03:00
Alexander Kozhikhov
e046cdd62d
some change on regression method
2019-07-11 23:56:58 +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
chertus
9739ac13e4
move new/delete overloads to dbms/src/Common
2019-07-11 18:40:55 +03:00
Vitaly Baranov
001e4daf25
Read prefix before blocks while executing subquery.
2019-07-11 16:53:26 +03:00
dimarub2000
e5d4f11c73
Deleted some extra implementations, fixed style. multiSearchAny still not working.
2019-07-11 16:44:44 +03:00
dimarub2000
1480b8e62c
Actually set index already woks for everything. Here are some tests.
2019-07-11 15:31:24 +03:00
Vitaly Baranov
7aad2eff28
Add more test cases for JSON functions.
2019-07-11 11:39:30 +03:00
Vitaly Baranov
8306f25634
Extra bytes after correctly parsed JSON is now considered as a parsing error.
2019-07-11 11:31:45 +03:00
Nikolai Kochetov
bfa114126a
More comments for PipelineExecutor.
2019-07-11 09:50:44 +03:00
Nikita Lapkov
9d540abc84
refactor
2019-07-10 20:47:39 +00:00
robot-clickhouse
f635d2bd9b
Auto version update to [19.12.1.1] [54424]
2019-07-10 22:57:53 +03:00
robot-clickhouse
e0f04dee04
Auto version update to [19.11.0.830] [54423]
2019-07-10 22:57:24 +03:00
chertus
18a13a03dd
memory tracked new/delete concept
2019-07-10 21:12:50 +03:00
Vitaly Baranov
10b6e1b786
Merge pull request #5962 from vitlibar/fix-unused-variable-in-checkDataPart.cpp
...
Fix unused variable in checkDataPart.cpp
2019-07-10 19:10:55 +03:00
Ivan Lezhankin
998aa795fc
Merge remote-tracking branch 'upstream/master' into fix-filter-table
2019-07-10 18:14:15 +03:00
dimarub2000
88778b0f5b
minor style changes
2019-07-10 18:12:02 +03:00
dimarub2000
f5ba5e3ca9
Merge branch 'master' of github.com:dimarub2000/ClickHouse
2019-07-10 18:08:10 +03:00
dimarub2000
c9a5b3c9ab
primary key and MergeTreeIndexFullText support for string functions
2019-07-10 17:53:57 +03:00
NIKITA MIKHAILOV
e05f5388bc
clean after cherry-pick
2019-07-10 16:27:16 +03:00
NIKITA MIKHAILOV
865606b83c
bugfix client logs + some tests
2019-07-10 16:15:22 +03:00
NIKITA MIKHAILOV
21ad247df3
only for saving this changes
2019-07-10 16:05:22 +03:00
Nikita Mikhaylov
55e9e21cc5
better includes
2019-07-10 16:05:12 +03:00
Nikita Mikhaylov
c0a4495d17
multithreading
2019-07-10 16:04:50 +03:00
Nikita Mikhaylov
1740a24ded
better
2019-07-10 16:04:39 +03:00
Nikita Mikhaylov
6ff9dfce34
first try
2019-07-10 16:04:01 +03:00
Vitaliy Zakaznikov
280025d5b4
* Updating live view tests to workaround an issue with clickhouse-client exiting when
...
Ctrl-C is pressed during WATCH query execution instead of going to the
client prompt.
2019-07-10 08:22:31 -04:00
Vitaly Baranov
3a74f326a8
Fix unused variable in checkDataPart.cpp
2019-07-10 15:13:10 +03:00
Nikolai Kochetov
d104f2d8ff
Update PipelineExecutor
2019-07-10 14:59:30 +03:00
Alexey Milovidov
7643b1c7f9
Attempt to fix "splitted" build
2019-07-10 14:46:37 +03:00
Ivan Lezhankin
befb3ce15b
Merge branch 'master' into fix-filter-table
2019-07-10 13:27:26 +03:00
Alexandr Krasheninnikov
eb78c9f084
Batch of tests
2019-07-10 13:19:14 +03:00
Nikolai Kochetov
282feb1fdb
Update PipelineExecutor
2019-07-10 09:52:44 +03:00
Vitaliy Zakaznikov
9c5514135d
* Updating tests to send Ctrl-C instead of SIGINT signal to abort WATCH query
...
* Updating client.py to start commands inside shell
* Removing test code from uexpect.py
2019-07-09 23:27:19 -04:00
Vitaliy Zakaznikov
c84fd80345
* Fixing clang build by converting old style cast (Int64) to static_cast<Int64>.
2019-07-09 22:06:29 -04:00
Alexey Milovidov
499d798b34
Remove "clickhouse_compression" library because it is not a library (cyclic dependency via IDataType)
2019-07-10 00:37:43 +03:00
alexey-milovidov
cb05312ce0
Merge branch 'master' into libcxx-as-submodule
2019-07-09 22:35:03 +03:00
Ivan Lezhankin
8a600c39af
Fix build for gtests
2019-07-09 21:53:16 +03:00
Nikolai Kochetov
6974cc3c9f
Update ResizePipeline
2019-07-09 20:47:13 +03:00
Alexey Milovidov
85100048dd
Updated instruction
2019-07-09 20:36:51 +03:00
alexey-milovidov
97b75fe343
Merge pull request #5946 from akonyaev90/add_user_parsing_in_HDFS_uri
...
WIP: add user parsing in HDFS URI
2019-07-09 20:35:57 +03:00
alexey-milovidov
f6df911307
Update HDFSCommon.cpp
2019-07-09 20:35:47 +03:00
alesapin
8faf0b0dc7
Merge branch 'master' of github.com:yandex/ClickHouse
2019-07-09 19:43:03 +03:00
alesapin
81ee9a3683
Log to stderr for external_dictionaries tests
2019-07-09 19:42:37 +03:00
Alexey Milovidov
729ecfa9ab
Fixed build without SSL (disable MySQL protocol support)
2019-07-09 19:41:11 +03:00
Ivan Lezhankin
9f01fa7aaa
Implement getDatabaseName() and rename() for all storages
2019-07-09 18:40:21 +03:00
Alexey Milovidov
ed5abe83c0
Fixed build without SSL (disable MySQL protocol support)
2019-07-09 17:59:52 +03:00
Alexander Kuzmenkov
8c379fb972
Flush query log instead of waiting for it.
2019-07-09 17:22:42 +03:00
akonyaev
54d890b984
add user parsing in HDFS URI (rewrite split boost->std::string)
2019-07-09 17:09:56 +03:00
akonyaev
c0dc8fc9d3
add user parsing in HDFS URI (fixes after review, style fixes)
2019-07-09 16:16:04 +03:00
Nikolai Kochetov
0df2a67c19
Increase queue size in LazyOutputFormat in order to prevent potential lock.
2019-07-09 15:46:50 +03:00
Vitaliy Zakaznikov
a80af666ad
* Updates that incorporate comments from the review
2019-07-09 08:41:55 -04:00
Nikolai Kochetov
911e4014ff
Increase queue size in LazyOutputFormat in order to prevent potential lock.
2019-07-09 15:26:22 +03:00
akonyaev
74b2440f66
add user parsing in HDFS URI
2019-07-09 13:26:06 +03:00
Alexander Kuzmenkov
f260296f89
Print logs to stderr.
2019-07-09 12:49:34 +03:00
alesapin
d4c44320ea
Merge branch 'fix_fetch_of_existing_part' of github.com:yandex/ClickHouse into fix_fetch_of_existing_part
2019-07-09 12:04:00 +03:00
alesapin
9a17a461ea
Review fixes and better tests
2019-07-09 12:02:52 +03:00
alesapin
6a3b543e10
Merge branch 'master' of github.com:yandex/ClickHouse into fix_fetch_of_existing_part
2019-07-09 11:21:44 +03:00
Alexey Milovidov
283872f098
Fixed build
2019-07-09 05:12:02 +03:00
Alexey Milovidov
823ef749fd
Fixed build
2019-07-09 05:06:26 +03:00
Alexey Milovidov
10e4baf3f8
Fixed build
2019-07-09 05:01:25 +03:00
alexey-milovidov
ef3c06b3d0
Merge pull request #5943 from yandex/ubsan-fixes-5
...
Fixed ubsan report in fuzz test
2019-07-09 04:12:49 +03:00
Alexey Milovidov
8778b9a1f3
"clickhouse_compression" library is dependent on "typeinfo for DB::IDataType" (at least when building with ubsan)
2019-07-09 04:09:42 +03:00
alexey-milovidov
d6afdd5a8d
Merge pull request #5941 from 4ertus2/bugs
...
Fix wrong array_join_columns calculation
2019-07-09 03:58:36 +03:00
Alexey Milovidov
52bb292327
Merge branch 'master' into libcxx-as-submodule
2019-07-09 01:58:09 +03:00
Alexey Milovidov
f748efbb5b
Fixed ubsan report in fuzz test
2019-07-09 01:30:30 +03:00
alexey-milovidov
a8d8eb6b28
Merge pull request #5921 from yandex/pvs-studio-fixes-4
...
A few fixes for PVS-Studio
2019-07-09 01:10:05 +03:00
alexey-milovidov
3c7178a8d1
Merge pull request #5923 from yandex/add-noreturn
...
Add two more warnings from -Weverything
2019-07-09 00:10:35 +03:00
chertus
ef41b16a44
fix wrong ExpressionAnalyzer.array_join_columns calculation
2019-07-08 23:06:17 +03:00
alexey-milovidov
c491cddb78
Update CheckResults.h
2019-07-08 22:56:48 +03:00
alexey-milovidov
6088aa233f
Update ASTCheckQuery.h
2019-07-08 22:55:54 +03:00
alexey-milovidov
a1e7d12f68
Update ParserQueryWithOutput.cpp
2019-07-08 22:55:36 +03:00
Alexey Milovidov
02eada5b35
Fixed error in prev. revision
2019-07-08 22:41:11 +03:00
Alexey Milovidov
e07235e294
Addition to prev. revision
2019-07-08 21:55:06 +03:00
Nikolai Kochetov
27acbb0412
Fix tests.
2019-07-08 21:08:44 +03:00
Alexey Milovidov
26f91c4a96
Added a test
2019-07-08 20:05:38 +03:00
Alexey Milovidov
886e8ea0d4
Merge branch 'master' into pvs-studio-fixes-4
2019-07-08 19:58:42 +03:00
Alexey Milovidov
c1bb550c07
Addition to prev. revision
2019-07-08 19:58:32 +03:00
Alexey Milovidov
a5cce21ebd
Addition to prev. revision
2019-07-08 19:53:49 +03:00
Alexey Milovidov
6512f923ac
Fixed error with unit test
2019-07-08 19:47:40 +03:00
Alexey Milovidov
3779a5cba2
Addition to prev. revision
2019-07-08 19:01:00 +03:00
Nikolai Kochetov
de2221222e
Don't skip empty chunks in Filter Transform.
2019-07-08 18:52:18 +03:00
Alexander Kuzmenkov
78df28f0e9
Cleanup.
2019-07-08 18:35:32 +03:00
Nikolai Kochetov
2128fb890b
Don't skip empty chunks in Filter Transform.
2019-07-08 18:23:45 +03:00
Alexander Kuzmenkov
b928d87d8a
error: declaration shadows a field of 'DB::PerformanceTest'
2019-07-08 18:08:46 +03:00
Nikolai Kochetov
865f403227
Remove tsan-suppressions.
2019-07-08 16:29:26 +03:00
Alexander Kuzmenkov
bdbb77a0a1
Read the query log after running all the queries.
...
The log entries appear ~10s after a query has finished, so waiting
for them after each query takes too long.
2019-07-08 16:23:30 +03:00
Nikolai Kochetov
e0362c5216
Fix build.
2019-07-08 16:15:45 +03:00
Alexey Milovidov
3f92ecf334
Merge branch 'master' into add-noreturn
2019-07-08 16:13:56 +03:00
Nikolai Kochetov
a2cdab2799
Fix build.
2019-07-08 16:07:46 +03:00
Nikolai Kochetov
209793c981
Merged with master.
2019-07-08 16:00:54 +03:00
Nikolai Kochetov
472f32f718
Remove ThreadGroupThreadPoolCallbacks
2019-07-08 15:49:52 +03:00
Nikolai Kochetov
e5103d741c
Fix lock in case of query was cancelled.
2019-07-08 15:48:16 +03:00
Nikolai Kochetov
fc3b465d60
Fix race in doExpandPipeline.
2019-07-08 15:49:46 +03:00
Nikolai Kochetov
a27fbe6ea7
Removed lockfree stack.
2019-07-08 15:49:33 +03:00
Nikolai Kochetov
fbd96ff037
Disable processors for 00416_pocopatch_progress_in_http_headers
2019-07-08 15:48:16 +03:00
Nikolai Kochetov
a4b3338182
Add sorting to tests with union.
2019-07-08 15:49:28 +03:00
Nikolai Kochetov
45b7d479aa
Fix arguments in prepareProcessor call.
2019-07-08 15:49:23 +03:00
Nikolai Kochetov
02bded6f21
Added MySQLOutputFormat.
2019-07-08 15:49:15 +03:00
Nikolai Kochetov
acf382f9e5
Use boost::lockfree::stack instead of boost::lockfree::queue
2019-07-08 15:48:51 +03:00
Nikolai Kochetov
3ff5495fba
Fix raise in PipelineExecutor::doExpandPipeline
2019-07-08 15:48:41 +03:00
Nikolai Kochetov
3df6d12216
More comments for PipelineExecutor.
2019-07-08 15:48:16 +03:00
Nikolai Kochetov
e8b4362ed2
Use ThreadPool in PipelineExecutor.
2019-07-08 15:48:32 +03:00
Nikolai Kochetov
f808d71aba
Fix build.
2019-07-08 15:48:16 +03:00
Alexey Milovidov
36269c4e2a
Addition to prev. revision
2019-07-08 06:41:37 +03:00
Alexey Milovidov
f40b70884f
Two more fixes for PVS-Studio
2019-07-08 05:14:32 +03:00
Alexey Milovidov
57d8dac95d
Two more fixes for PVS-Studio
2019-07-08 05:06:15 +03:00
Alexey Milovidov
f9f85b4c65
Added test
2019-07-08 05:03:01 +03:00
Alexey Milovidov
ac20c515ab
Better code in unit tests
2019-07-08 04:58:31 +03:00
Alexey Milovidov
4752dae9bb
Allowed unresolvable addresses in cluster configuration #5714
2019-07-08 04:43:41 +03:00
Alexey Milovidov
d362ffb3ee
Added test for #5909
2019-07-08 04:01:52 +03:00
Alexey Milovidov
c35a832095
Two more fixes for PVS-Studio
2019-07-08 03:56:52 +03:00
Alexey Milovidov
553e6a273e
Two more fixes for PVS-Studio
2019-07-08 03:51:43 +03:00
Alexey Milovidov
03712aabec
Add two more warnings from -Weverything
2019-07-08 03:16:39 +03:00
Alexey Milovidov
e64e520e5b
One more fix for PVS-Studio
2019-07-08 03:11: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
Vitaliy Zakaznikov
259a95a3da
* Updates to fix issues after the merge
2019-07-07 19:57:58 -04:00
Alexey Milovidov
19059ef650
One more fix for PVS-Studio
2019-07-08 02:29:54 +03:00
Alexey Milovidov
bba2641bd0
A few fixes for PVS-Studio
2019-07-08 02:25:15 +03:00
alexey-milovidov
8d4358f19c
Merge pull request #5919 from dimarub2000/master
...
startsWith now uses PK index
2019-07-08 02:06:05 +03:00
alexey-milovidov
0480706ff4
Update KeyCondition.cpp
2019-07-08 00:28:03 +03:00
dimarub2000
0b756c48a8
also style changes
2019-07-07 18:56:15 +03:00
dimarub2000
95118a5fa3
also style changes
2019-07-07 18:54:13 +03:00
dimarub2000
94523c00cd
minor style changes
2019-07-07 18:52:20 +03:00
dimarub2000
2693ce27ff
startsWith now uses PK index
2019-07-07 18:48:34 +03:00
alexey-milovidov
97b8b2c769
Merge pull request #5915 from yandex/merge-table-more-streams
...
Increase number of streams to SELECT from Merge table
2019-07-07 15:57:06 +03:00
alexey-milovidov
d9029be079
Merge pull request #5914 from yandex/merge-table-streams-perf-test
...
Added performance test in appreciation of #5797
2019-07-07 15:56:12 +03:00
alexey-milovidov
bf4ace06e8
Merge pull request #5911 from yandex/quantile-timing-float
...
Returned back support for floating point argument in function quantileTiming
2019-07-07 04:27:34 +03: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
99334d0451
Added a test #5614
2019-07-07 03:39:45 +03:00
Alexey Milovidov
2e6280de07
Fixed #5797
2019-07-07 03:20:38 +03:00
Alexey Milovidov
db0f1825b7
Added performance test in appreciation of #5797
2019-07-07 03:19:29 +03:00
Alexey Milovidov
e8b6ac3fad
Returned back support for floating point argument in function quantileTiming
2019-07-07 02:15:14 +03:00
alexey-milovidov
a1cfdf2a60
Merge pull request #5855 from abyss7/no-undefined
...
Use --no-undefined linker option for split build
2019-07-07 01:47:11 +03:00
alexey-milovidov
31d71862e0
Merge pull request #5909 from yandex/os-nice
...
Added "os_thread_priority" setting
2019-07-06 23:59:56 +03:00
Nikita Lapkov
3828684f7a
style
2019-07-06 20:42:03 +00:00
Gleb Novikov
3757aa9d02
More style fix
2019-07-06 23:30:48 +03:00
Nikita Lapkov
ef1d84b35a
do not run trace collector without trace_log. do not run query profilers without trace collector.
2019-07-06 20:29:00 +00:00
Alexey Milovidov
338c0d27ca
Added "os_thread_priority" setting
2019-07-06 21:02:28 +03:00
alexey-milovidov
758de14138
Merge pull request #5902 from yandex/fix-visit-param-extract-raw
...
Fixed buffer underflow in visitParamExtractRaw
2019-07-06 20:34:46 +03:00
alexey-milovidov
004d3d462a
Merge pull request #5903 from dimarub2000/master
...
Exect -> Exact grammar fixed
2019-07-06 17:55:39 +03:00
Nikita Lapkov
17e3542a5a
refactor
2019-07-05 22:35:09 +00:00
dimarub2000
fd69ee1275
Exect -> Exact grammar improved
2019-07-06 01:18:37 +03:00
Nikita Lapkov
aaea6cbfc9
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-07-05 21:37:31 +00:00
alexey-milovidov
f25a3fd230
Merge pull request #5886 from dimarub2000/master
...
Enum data type as a synonim for Enum8 or Enum16.
2019-07-05 23:59:36 +03:00
alexey-milovidov
eb2ffccaf3
Merge pull request #5874 from nikitamikhaylov/master
...
Add data checksums to system.parts_columns table. #5151
2019-07-05 23:58:58 +03:00
Alexey Milovidov
6b357421fc
Added another test just in case
2019-07-05 21:47:59 +03:00
Alexey Milovidov
b396a5a392
Little better
2019-07-05 21:36:20 +03:00
alexey-milovidov
78c61ab772
Merge pull request #5890 from yandex/dns-cache-updater-allow-drift
...
Allow time drift in DNSCacheUpdater for natural randomization
2019-07-05 21:27:24 +03:00
alexey-milovidov
6dea389f26
Merge pull request #5892 from yandex/thread-status-remove-bad-code
...
ThreadStatus: removed bad and questionable code
2019-07-05 21:27:08 +03:00
alexey-milovidov
6a7c8b3c03
Merge pull request #5887 from PerformanceVision/test_jit
...
Add performance test concerning JIT with bigger dataset
2019-07-05 21:26:45 +03:00
dimarub2000
c4447355b3
Nicolay's suggestion
2019-07-05 21:23:50 +03:00
Alexey Milovidov
1c2e422797
Fixed buffer underflow in visitParamExtractRaw
2019-07-05 21:23:14 +03:00
Alexander Kuzmenkov
a43d3a6902
Report memory usage in performance tests.
2019-07-05 19:50:44 +03:00
Nikita Mikhaylov
afdd45fd85
checksum added to system_parts
2019-07-05 18:32:55 +03:00
Nikita Lapkov
6b7f587156
cut large query_ids
2019-07-05 14:16:20 +00:00
Alexey Milovidov
0225cb0089
ThreadStatus: removed bad and questionable code
2019-07-05 17:15:05 +03:00
dimarub2000
6537016abe
minor test change
2019-07-05 17:10:24 +03:00
Nikita Lapkov
b8585a5630
refactor and comments
2019-07-05 13:48:47 +00:00
dimarub2000
a6086ed7a8
changed names
2019-07-05 16:48:14 +03:00
CurtizJ
a49112a14e
Merge branch 'master' of https://github.com/yandex/ClickHouse into order-by-efficient
2019-07-05 16:41:48 +03:00
Nikita Mikhaylov
375932678b
new test with table creation
2019-07-05 16:33:28 +03:00
dimarub2000
a7c05938e3
checkASTStructure
2019-07-05 16:33:03 +03:00
Alexey Milovidov
5c3cd40db3
Allow time drift in DNSCacheUpdater for natural randomization
2019-07-05 16:20:21 +03:00
Nikita Mikhaylov
98f218c7ef
another test with constant result on diffrent machines
2019-07-05 16:02:48 +03:00
alexey-milovidov
b5f4d7194d
Update jit_large_requests.xml
2019-07-05 15:59:52 +03:00
alexey-milovidov
2469ec1af3
Merge pull request #5857 from CurtizJ/dns-cache
...
Implement dns cache with asynchronous update.
2019-07-05 15:56:26 +03:00
Guillaume Tassery
61bb29e0e0
Remove rows retrieval for jit performance test
2019-07-05 14:55:47 +02:00
dimarub2000
e8f6497f74
tests
2019-07-05 15:44:15 +03:00
Guillaume Tassery
d50c39f854
Add performance test concerning JIT with bigger dataset
2019-07-05 14:42:20 +02:00
Nikita Mikhaylov
1ffa488be4
lowercase added~
2019-07-05 14:45:47 +03:00
alexey-milovidov
8b62c96989
Merge pull request #5859 from 4ertus2/joins
...
Fix FULL|RIGHT JOIN with nulls in right table's keys
2019-07-05 14:23:35 +03:00
dimarub2000
dc13d2e4a7
Added Enum data type as a synonim for Enum8 or Enum16.
2019-07-05 14:22:45 +03:00
alexey-milovidov
a5bb0099dd
Merge pull request #5875 from yandex/more-robust-metrics-transmitter
...
Less locking in MetricsTransmitter
2019-07-05 14:05:08 +03:00
alexey-milovidov
c3c4f4aff0
Merge pull request #5880 from yandex/close-idle-connections
...
Close idle TCP connections
2019-07-05 14:04:28 +03:00
Nikolai Kochetov
bc1e9df6cc
Merge pull request #5871 from yandex/fix-clickhouse-copier-heap-use-after-free
...
Fix heap-use-after-free in ClusterCopier
2019-07-05 13:48:06 +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
Nikita Mikhaylov
f8dde20dcb
easier code
2019-07-05 13:13:44 +03:00
Nikita Mikhaylov
0e25190433
checksums now output in the same way + tests are better
2019-07-05 12:00:19 +03:00
alexey-milovidov
101b317efa
Merge pull request #5850 from PerformanceVision/top_k_weighted_fix
...
Add element on SpaceSaving set if the last element has a lower value compared to the last one
2019-07-05 10:57:11 +03:00
Guillaume Tassery
53d67103e7
Add documentation about removing the lowest element for the SpaceSaving set
2019-07-05 09:20:27 +02:00
Gleb Novikov
430400c3c5
Style fix
2019-07-05 10:16:34 +03:00
Gleb Novikov
06e92e14b8
alterTable fix in MySQL
2019-07-05 10:10:15 +03:00
Alexey Milovidov
2c6dd99644
Updated contributors
2019-07-05 04:13:03 +03:00
Alexey Milovidov
433467c3df
Added log message for idle connections
2019-07-05 02:03:20 +03:00
Alexey Milovidov
5229fa4538
Addition to prev. revision
2019-07-05 01:57:26 +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
Gleb Novikov
71c2ca0fe9
Merge branch 'master' into table-constraints
2019-07-04 22:40:00 +03:00
Alexey Milovidov
4875ee12d9
Less locking in MetricsTransmitter
2019-07-04 22:08:37 +03:00
Nikita Mikhaylov
fc75c8f62e
done
2019-07-04 21:27:14 +03:00
akuzm
74d17789d0
Destroy the text log queue after the I/O blocks. ( #5854 )
...
These blocks contain threads that use the queue, so they must be
destroyed first. This was reported by ThreadSanitizer.
2019-07-04 19:21:24 +03:00
alesapin
3021e48437
Merge pull request #5868 from yandex/test_with_old_v
...
Test for client-server interaction with different versions
2019-07-04 18:58:09 +03:00
Nikolai Kochetov
72afe9b842
Fix heap-use-after-free in ClusterCopier caused by watch which try to use already removed copier object.
2019-07-04 17:48:40 +03:00
Ivan Lezhankin
3b995bdb02
Add missing dependecies on sight to enable --no-undefined option
2019-07-04 17:05:55 +03:00
chertus
4d6757a7dc
add test for #3495 (already fixed)
2019-07-04 16:21:56 +03:00
Guillaume Tassery
85151b339b
Add test on topKWeighted function
2019-07-04 15:15:08 +02:00
chertus
8dc6810799
do not save null bitmaps for blocks without nulls
2019-07-04 15:38:54 +03:00
chertus
301345724a
use better data types
2019-07-04 15:12:39 +03:00
chertus
4759e8632e
fix crash and update test results
2019-07-04 14:50:32 +03:00
alesapin
9d767ae935
Add test for client-server interaction with different versions
2019-07-04 13:59:42 +03:00
CurtizJ
f3ac23fd48
add logging about DNS resolution errors
2019-07-04 13:38:44 +03:00
alesapin
efc1136ffb
Add for interaction between old and new versions of clickhouse
2019-07-04 13:38:04 +03:00
alesapin
65437d2289
Fix final mark and tests
2019-07-04 13:21:14 +03:00
alesapin
a0496da05f
Merge branch 'master' of github.com:yandex/ClickHouse into fix_fetch_of_existing_part
2019-07-04 12:46:54 +03:00
alesapin
18544e8f64
Missed file and style fix
2019-07-04 09:04:31 +03:00
CurtizJ
8eda3b5de4
fix deadlock in getHostName
2019-07-04 02:05:59 +03:00
alesapin
83ca611c59
Remove more unexpected changes
2019-07-03 23:59:47 +03:00
alesapin
4557412fed
Remove unexpected changes
2019-07-03 23:57:05 +03:00
alesapin
477a7450fb
Add test for data corruption
2019-07-03 23:51:13 +03:00
Alexey Milovidov
6b9df067d8
Merge branch 'master' into libcxx-as-submodule
2019-07-03 22:34:58 +03:00
chertus
73d6784c59
join right table nulls
2019-07-03 22:06:34 +03:00
CurtizJ
187812a00e
cleanup
2019-07-03 21:34:37 +03:00
CurtizJ
80e96995ae
Merge branch 'master' of https://github.com/yandex/ClickHouse into dns-cache
2019-07-03 21:27:43 +03:00
Ivan
fdae12a51c
Keep on reading of new Kafka messages after stalling ( #5852 )
2019-07-03 19:51:11 +03:00
CurtizJ
56ca9908f2
add tests for dns cache update
2019-07-03 19:37:37 +03:00
CurtizJ
35ad1a3b6b
implement dns cache with asynchronous update
2019-07-03 19:26:22 +03:00
alesapin
c880e00ffa
Start writing tests
2019-07-03 19:00:24 +03:00
alesapin
3925a3bd13
Generalize check query
2019-07-03 16:17:19 +03:00
Guillaume Tassery
81e39744e2
Add element on the SpaceSavingSet if the last element has a smaller weight value compared to the new one
2019-07-03 13:49:03 +02:00
alesapin
6b0498cd93
First version of check cmd
2019-07-03 11:49:52 +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
alexey-milovidov
90ea3b25fd
Merge pull request #5728 from yandex/aku/asan-arenas
...
Add asan integration to arenas.
2019-07-03 02:01:46 +03:00
alexey-milovidov
7ea33203d7
Merge pull request #5742 from 4ertus2/t64
...
T64 full bit-transpose variant
2019-07-03 01:56:34 +03:00
alexey-milovidov
de92b9854e
Merge pull request #5838 from 4ertus2/joins
...
Joins refactoring: extract joinDispatch into own file
2019-07-03 01:55:45 +03:00
alexey-milovidov
8d4af1bd33
Update joinDispatch.h
2019-07-03 01:55:36 +03:00
alexey-milovidov
1d582c92a7
Merge pull request #5842 from yandex/revert-questionable-code-query-priorities
...
Fixed wrong code in QueryPriorities
2019-07-03 01:53:07 +03:00
Alexey Milovidov
6fba717d50
Fixed wrong code in QueryPriorities
2019-07-02 23:21:31 +03:00
Alexander Kuzmenkov
90c40dccc8
Disable copy and move for AllocatorWithStackMemory.
...
Since this allocator uses its own buffer field for small allocations,
moving or copying it is ill-defined, because someone might already
use the pointers to its body.
2019-07-02 20:48:33 +03:00
Alexander Kuzmenkov
b445525426
Include asan_interface.h before including LLVM internals.
2019-07-02 20:48:00 +03:00
Alexander Kuzmenkov
bd33bf8f96
Don't copy aggregate function states with memcpy.
...
They may contain pointers to themselves, such as when using
PODArrayWithStackMemory. Instead, initialize empty new structures
with `create`, and merge the old one to it with `merge`.
2019-07-02 20:48:00 +03:00
Alexander Kuzmenkov
f6ee2ea4e4
Add asan integration to arenas.
2019-07-02 20:48:00 +03:00
Alexey Milovidov
ffaaf93c49
Compatibility with old compiler (gcc-7)
2019-07-02 20:24:22 +03:00
chertus
207145025c
Join.h refactoring: extract joinDispatch into own file
2019-07-02 17:38:31 +03:00
alexey-milovidov
1bda6994ad
Merge pull request #5832 from yandex/fix_low_cardinality_check
...
Fix low cardinality check
2019-07-02 17:06:06 +03:00
chertus
8932dc9c23
minpr perf improvement
2019-07-02 15:31:20 +03:00
chertus
d1250e6042
fix build
2019-07-02 15:01:39 +03:00
alesapin
cbb0d640f4
Add comments
2019-07-02 14:34:16 +03:00
alesapin
f68b5216a8
Fix prefix reading and skip check for low cardinality dictionary
2019-07-02 13:55:47 +03:00
alexey-milovidov
aea3fc661a
Merge pull request #5824 from Enmk/double_delta_fix
...
Fixed DoubleDelta codec edge case
2019-07-02 12:52:40 +03:00
Vasily Nemkov
c5b2ba2a25
Fixed DoubleDelta codec edge case
...
Casused by mistreating negative double delta value as HUGE unsigned value, crippling compression ratio.
2019-07-02 07:58:03 +03:00
Alexey Milovidov
da04c2f1ce
Merge branch 'master' of github.com:yandex/ClickHouse
2019-07-02 03:16:27 +03:00
alexey-milovidov
28ae9f9044
Merge pull request #4828 from laplab/update_libunwind
...
switch to llvm libunwind
2019-07-02 02:34:01 +03:00
Alexey Milovidov
ed8f81304c
Merge branch 'master' of github.com:yandex/ClickHouse
2019-07-02 02:33:28 +03:00
Alexey Milovidov
4e41e8a572
Preparation for #4828 : adapted test for build without libunwind
2019-07-02 02:33:15 +03:00
Vitaliy Zakaznikov
b5120931d5
Merge branch 'master' of https://github.com/yandex/ClickHouse into liveview
2019-07-01 18:12:31 -04:00
Nikita Lapkov
5286ab97fd
refactor and comments
2019-07-01 22:11:11 +00:00
Vitaliy Zakaznikov
a363189dfc
Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into liveview
2019-07-01 18:05:14 -04:00
Nikita Lapkov
9641d058d0
Merge remote-tracking branch 'upstream/master' into update_libunwind
2019-07-01 21:11:26 +00:00
alexey-milovidov
6890c5e3b3
Merge pull request #5822 from yandex/fix-build-gcc9
...
fix build on macosx and gcc9
2019-07-01 23:16:11 +03: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
alexey-milovidov
bf8c154d3d
Merge pull request #5819 from CurtizJ/fix-segfault-ttl
...
Fix segfault in TTL merge with non-physical columns in block.
2019-07-01 20:28:26 +03:00
filimonov
c5492e59f1
more accidental spaces
2019-07-01 17:01:10 +02:00
filimonov
051a9ae492
remove accidental spaces
2019-07-01 16:44:45 +02:00
filimonov
2627dec804
fix build on macosx and gcc9
2019-07-01 16:42:05 +02:00
Alexey Milovidov
2acaebb288
Added test
2019-07-01 17:28:39 +03:00
CurtizJ
ecf9feab9c
remove extra semicolon
2019-07-01 17:09:22 +03:00
Alexey Milovidov
cb8be105d5
Added missing implementations of IColumn::getFloat64, IColumn::getBool
2019-07-01 16:49:50 +03:00
Ivan Lezhankin
fa5431a524
Don't re-new docker volumes in all tests
2019-07-01 16:49:00 +03:00
chertus
13fa9a07e5
Merge branch 'master' into t64
2019-07-01 16:40:32 +03:00
chertus
37b7ff7a0a
fix maning, add comment
2019-07-01 16:35:04 +03:00
CurtizJ
c0a63801fc
fix segfault in ttl merge with non-physical columns in block
2019-07-01 15:50:50 +03:00
chertus
5df4ad0f28
Merge branch 'master' into bugs
2019-07-01 14:49:01 +03:00
chertus
0c634129da
add IColumn.isNullable()
2019-07-01 14:44:19 +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
alexey-milovidov
5fb7bf6854
Update ParallelInputsProcessor.h
2019-07-01 03:15:14 +03:00
Alexey Milovidov
f6c2815134
Merge branch 'master' of github.com:yandex/ClickHouse
2019-07-01 02:54:07 +03:00
Alexey Milovidov
22948ba508
Fixed test
2019-07-01 02:53:56 +03:00
alexey-milovidov
c108882c5f
Merge pull request #5805 from yandex/BHYCHIK-h3-integration
...
Merge H3 integration
2019-07-01 01:02:16 +03:00
alexey-milovidov
a9cfe4ce91
Merge pull request #5807 from yandex/ngramSearch
...
Inverting ngramSearch to be more intuitive
2019-07-01 00:43:17 +03:00
alexey-milovidov
1119056b71
Merge pull request #5798 from s-mx/complete_external_loader_methods
...
complete ExternalLoader method's implementations
2019-07-01 00:42:57 +03:00
Alexey Milovidov
fd2f90488e
Simplification
2019-06-30 23:54:06 +03:00
Alexey Milovidov
49ce1cc29b
Updated test
2019-06-30 23:39:23 +03:00
Alexey Milovidov
65ce94bb56
Updated performance test
2019-06-30 23:14:45 +03:00
Alexey Milovidov
4b6c21d995
Merge branch 'BHYCHIK-h3-integration' of github.com:yandex/ClickHouse into BHYCHIK-h3-integration
2019-06-30 23:14:03 +03:00
Alexey Milovidov
6eae511b6e
Changed order of (lat, lon) to (lon, lat) to be consistent with "greatCircleDistance" function and PostGIS
2019-06-30 23:13:32 +03:00
Alexey Milovidov
e541deb5ca
Added performance test
2019-06-30 23:06:04 +03:00
Maxim Sabyanin
663aab6f5b
complete ExternalLoader method's implementations
2019-06-30 23:04:21 +03:00
Alexey Milovidov
7591c3b7b2
Fixed error
2019-06-30 22:47:20 +03:00
Alexey Milovidov
7c98327e4d
Fixed error
2019-06-30 22:46:23 +03:00
Alexey Milovidov
86093a474f
Fixed error
2019-06-30 22:45:23 +03:00
Danila Kutenin
9127c8b27c
inverting ngramSearch to be more intuitive
2019-06-30 22:34:17 +03:00
Alexey Milovidov
7ca7d6c774
Initial support for clang-tidy (not yet useful)
2019-06-30 21:56:53 +03:00
Alexey Milovidov
a7fc631de7
Style
2019-06-30 21:55:08 +03:00
Alexey Milovidov
1777313821
Own CMakeLists for H3 because otherwise "m" library does not link correctly
2019-06-30 21:49:57 +03:00
Alexey Milovidov
008f3a247e
Merging H3 integration
2019-06-30 21:20:32 +03:00
Alexey Milovidov
b86aca37ea
Merge branch 'h3-integration' of https://github.com/BHYCHIK/ClickHouse into BHYCHIK-h3-integration
2019-06-30 19:15:33 +03:00
Alexey Milovidov
0bba515f8f
Updated test
2019-06-30 17:29:24 +03:00
Alexey Milovidov
33cff5ee0f
Merge remote-tracking branch 'origin/master' into sanych73-prepared_statements
2019-06-30 17:24:15 +03:00
alexey-milovidov
feafcb21bd
Merge branch 'master' into h3-integration
2019-06-30 16:19:11 +03:00
proller
a69990ce27
CLICKHOUSE-4514 Unique query_id among all users ( #5430 )
...
* CLICKHOUSE-4514 Unique query_id among all users
* try 1
* Fix
* fix
* use condvar
* fix style
* Update ProcessList.cpp
2019-06-30 16:17:27 +03:00
alexey-milovidov
18535590ce
Merge pull request #5802 from CurtizJ/upstream/systemlog-flushing
...
Fix shutdown of SystemLogs
2019-06-30 15:51:35 +03:00
Alexey Milovidov
6ad07172ee
Fixed error in query formatting
2019-06-30 15:49:06 +03:00
Gleb Novikov
ea4d42c3ac
Merged DROP_(COLUMN|INDEX|CONSTRAINT) AST parsing into one block
2019-06-30 12:09:58 +02:00
Gleb Novikov
bb78012cf9
Removed unused method and assertions
2019-06-30 12:09:06 +02:00
Gleb Novikov
a146b7383e
Merge branch 'master' into table-constraints
2019-06-30 11:32:02 +02:00
CurtizJ
1a8695ffd9
fix shutdown of system_logs
2019-06-30 04:56:16 +03:00
Alexey Milovidov
725bcd9d02
Merge branch 'master' into sanych73-prepared_statements
2019-06-30 02:59:37 +03:00
Alexey Milovidov
f25b96bed2
Moved a few tests to gtest
2019-06-30 02:23:53 +03:00
Alexey Milovidov
b76d5a7cf0
Added a test (not gtest though)
2019-06-30 01:45:57 +03:00
Alexey Milovidov
299607a301
ThreadPool: more informative error message if exception is thrown before we schedule a next thread #5305
2019-06-30 01:37:46 +03:00
Alexey Milovidov
af1e3b97ea
Updated test
2019-06-29 23:09:14 +03:00
Alexey Milovidov
b78b000ec1
Updated test
2019-06-29 23:06:53 +03:00
Alexey Milovidov
3fd3cc3ff4
Updated test
2019-06-29 23:05:41 +03:00
Alexey Milovidov
e2431a571f
Updated test
2019-06-29 23:05:11 +03:00
Alexey Milovidov
c7e70df5fc
Fixed error with formatting aliases
2019-06-29 21:59:07 +03:00
Alexey Milovidov
d29ab639d9
Updated test
2019-06-29 21:36:34 +03:00
Alexey Milovidov
b8e6cd0311
Updated test
2019-06-29 21:35:23 +03:00
Alexey Milovidov
3adfbff78c
Updated test
2019-06-29 21:33:56 +03:00
Alexey Milovidov
22bb0b5ca7
Updated test
2019-06-29 21:32:48 +03:00
Alexey Milovidov
16cfce7ab3
Updated test
2019-06-29 21:32:07 +03:00
Alexey Milovidov
1d3658662a
Updated test
2019-06-29 21:30:53 +03:00
Alexey Milovidov
88fc72f0b9
Merge branch 'feature/bloom_filter' of https://github.com/zhang2014/ClickHouse into zhang2014-feature/bloom_filter
2019-06-29 20:44:11 +03:00
alexey-milovidov
87993de98d
Merge pull request #5725 from yandex/PerformanceVision-ignore_scheme
...
Performance vision ignore scheme
2019-06-29 20:36:23 +03:00
Alexey Milovidov
90898905e0
Allow to DROP database with Dictionary engine
2019-06-29 20:27:32 +03:00
Alexey Milovidov
de8a15b5f4
Removed unused method
2019-06-29 20:19:46 +03:00
Alexey Milovidov
498a2072b5
Fixed bug in query formatting with TEMPORARY tables
2019-06-29 19:58:32 +03:00
Alexey Milovidov
2638bb79f7
Updated test
2019-06-29 19:22:02 +03:00
Alexey Milovidov
6566bb7088
Updated tests
2019-06-29 19:18:59 +03:00
Alexey Milovidov
a8e1c8a7d2
Fixed formatting of invalid queries with ambiguous aliases
2019-06-29 19:13:28 +03:00
Alexey Milovidov
6ff0a88eb3
Fixed minor issue in query formatting
2019-06-29 18:26:19 +03:00
Alexey Milovidov
3197b0748d
Updated test
2019-06-29 18:13:52 +03:00
Alexey Milovidov
a643f2f75e
Merge branch 'master' into sanych73-prepared_statements
2019-06-29 15:51:56 +03:00
alexey-milovidov
fe542e26f8
Merge pull request #5685 from CurtizJ/upstream/systemlog-flushing
...
Fix race condition in flushing system log in another way.
2019-06-29 15:46:22 +03:00
alexey-milovidov
e8b58e2a07
Merge pull request #5796 from yandex/excitoon-patch-1
...
Improved integration tests guide.
2019-06-29 15:36:18 +03:00
alexey-milovidov
a0d3db8d9b
Merge pull request #5787 from yandex/aku/podarray-bytes
...
Fix initial size of some inline PODArray's.
2019-06-29 15:34:00 +03:00
alexey-milovidov
7474abfea6
Merge pull request #5791 from yandex/aku/store-explicit
...
Require explicit type in unalignedStore
2019-06-29 15:33:38 +03:00
proller
8b1651ae1f
arcadia fixes ( #5795 )
2019-06-29 15:04:47 +03:00
Vladimir Chebotarev
1ed6a6a1ce
Improved integration tests guide.
2019-06-29 14:34:26 +03:00
Ivan Lezhankin
1a7cb519fe
Final test fix
2019-06-28 23:09:15 +03:00
Danila Kutenin
614ec98a42
Fix runtime of SPLIT_SHARED_LIBRARIES build
2019-06-28 21:26:24 +03:00
Nikita Lapkov
2a131185b0
Merge remote-tracking branch 'upstream/master' into update_libunwind
2019-06-28 18:20:23 +00:00
Nikita Lapkov
f8d2b5effd
introduce Backtrace class
2019-06-28 18:06:38 +00:00
Alexander Kuzmenkov
0116c10e41
Require explicit type in unalignedStore
...
This is a follow-up to PR #5786 , which fixed a segfault caused by
an unexpected deduced type for unalignedStore. To prevent future errors
of this kind, require a caller to specify the stored type explicitly.
2019-06-28 20:33:14 +03:00
Alexander Kuzmenkov
a719933c58
Fix initial size of some inline PODArray's.
...
A template parameter of PODArray named INITIAL_SIZE didn't make its
units clear, which made some callers to erroneously assume that it
specifies the number of elements and not the number of bytes.
Rename it, fix the wrong usages and, where possible, use the
PODArrayWithStackMemory typedef for arrays with inline memory.
2019-06-28 16:03:14 +03:00
alexey-milovidov
18659e367e
Merge pull request #5758 from zlobober/bool_masks
...
Extend KeyCondition interface so that it returns BoolMask.
2019-06-28 14:51:52 +03:00
alexey-milovidov
b9cbd36487
Merge pull request #5750 from hczhcz/patch-7
...
Refactor: Improve function registering
2019-06-28 14:50:38 +03:00
alexey-milovidov
1327342040
Merge pull request #5764 from hczhcz/patch-8
...
Add synonim arrayFlatten <-> flatten
2019-06-28 14:49:05 +03:00
alexey-milovidov
6e77fc4abe
Merge pull request #5775 from yandex/lfalloc2mimalloc
...
Use mimalloc instead of lfallocator
2019-06-28 14:48:18 +03:00
alexey-milovidov
8b93f086aa
Merge pull request #5777 from proller/fix27
...
Move file Functions/array/empty.cpp -> Functions/empty.cpp
2019-06-28 14:47:12 +03:00
alexey-milovidov
72b0bdd0d3
Merge pull request #5786 from yandex/awful_delta_codec_bug
...
Fix bug in delta codec
2019-06-28 14:46:05 +03:00
alexey-milovidov
2f0918eadf
Merge pull request #5785 from fredchenbj/fix/io_endian_portable_on_mac
...
IO: fix endian portable on macos x
2019-06-28 14:45:20 +03:00
alesapin
cfd8df6568
Fix bug in delta codec caused by genious C++ implicit type conversion and consequent template type deduction
2019-06-28 13:42:36 +03:00
hcz
aea8d93248
Fix tests
2019-06-28 15:17:47 +08:00
fredchenbj
e3b3ca8d0e
IO: fix endian portable on macos x
...
Signed-off-by: fredchenbj <cfworking@163.com>
2019-06-28 15:15:56 +08:00
hcz
fc6140ade8
Add tests
2019-06-28 13:00:26 +08:00
hcz
1d2695cbd2
Add alias flatten/arrayFlatten
2019-06-28 11:55:09 +08:00
Danila Kutenin
407cf9a229
Comments
2019-06-28 00:43:50 +03:00
chertus
f19dee706a
move IColumn.isColumnConst() outside of interface
2019-06-27 22:28:52 +03:00
Alexey Milovidov
3c4784a466
Removed obsolete undocumented embedded dictionaries that were used by Yandex.Metrica
2019-06-27 22:18:28 +03:00
chertus
db7c8748e9
remove IColumn.isColumnNullable()
2019-06-27 21:50:20 +03:00
proller
26b941b6d1
Merge remote-tracking branch 'upstream/master' into fix27
2019-06-27 21:43:55 +03:00
proller
da6490c11d
renamed: Functions/array/notEmpty.cpp -> Functions/notEmpty.cpp
2019-06-27 21:43:40 +03:00
alexey-milovidov
7ce4cd7861
Merge pull request #5745 from nvartolomei/nv/clickhouse-copier-cross-replication
...
clickhouse-copier: Allow empty database name
2019-06-27 21:09:00 +03:00
proller
0baaa4b254
Move file Functions/array/empty.cpp -> Functions/empty.cpp
2019-06-27 20:45:41 +03:00
alexey-milovidov
ea37aeb1b4
Merge pull request #5774 from yandex/gcc-9
...
Compatibility with gcc-9
2019-06-27 20:24:09 +03:00
alexey-milovidov
246f34d8f6
Merge pull request #5768 from abyss7/better-log
...
Print table name in message about missing column
2019-06-27 18:49:40 +03:00
Danila Kutenin
e67431e455
Use mimalloc instead of lfallocator
2019-06-27 18:13:19 +03:00
Alexey Milovidov
e33d482271
Fixed warning in gcc-9
2019-06-27 17:44:39 +03:00
Maxim Akhmedov
2cacc3cfd2
CHYT-142: extend KeyCondition interface so that it returns BoolMask.
2019-06-27 16:31:33 +03:00
Alexey Milovidov
e3277c191b
Fixed idiotic inconsistency in code
2019-06-27 16:26:06 +03:00
Alexey Milovidov
8f3ff6c77a
Removed inconsistent whitespaces
2019-06-27 16:20:33 +03:00
chertus
68034103bb
fix arrayIndex for new columns's isNullable
2019-06-27 15:49:08 +03:00
proller
aeb7eb42d1
clickhouse-copier: Fix use-after free on shutdown ( #5752 )
...
* release script: convert .deb to .rpm and .tgz
* clickhouse-copier: Fix use-after free on shutdown
* Revert "Disable cluster copier tests"
This reverts commit 71872fc3c3
.
2019-06-27 15:29:49 +03:00
Nikolai Kochetov
8e4bb58c4c
Merge pull request #5757 from yandex/leader_queries_ddl_worker
...
Execute some distributed DDL queries on leader
2019-06-27 15:12:37 +03:00
Alexey Milovidov
f6265d332a
Fixed bad translation in comment
2019-06-27 14:13:32 +03:00
Ivan Lezhankin
9d3eef80b0
Print table name in message about missing column.
2019-06-27 13:56:04 +03:00
proller
e9a66d427c
Fix freebsd build
2019-06-26 23:32:28 +03:00
chertus
65c0d23efa
better casts to ColumnNullable
2019-06-26 20:20:33 +03:00
Ivan Remen
718da84f41
Fix
2019-06-26 20:02:31 +03:00
Ivan Remen
c22322a446
3rd party header compile fix
2019-06-26 19:01:18 +03:00
alesapin
197f1eedd2
Remove searcher
2019-06-26 18:22:15 +03:00
alesapin
306e27c152
Return old behaviour
2019-06-26 18:18:12 +03:00
alesapin
b7f173ad2c
Execute some distributed DDL queries on leader
2019-06-26 17:52:20 +03:00
Ivan Remen
30c7055d3b
Fix
2019-06-26 17:15:29 +03:00
chertus
6fe4640e0b
fix ColumnConst.isColumnNullable() and related crash
2019-06-26 15:59:25 +03:00
Alexander Kuzmenkov
cb718c194f
Fix a hard-to-spot typo: aggreAGte -> aggregate.
2019-06-26 15:35:27 +03:00
Ivan Remen
93523416d7
Merge remote-tracking branch 'main/master' into h3-integration
2019-06-26 14:52:46 +03:00
Nikita Lapkov
7cff36fbfc
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-06-26 11:46:04 +00:00
alesapin
f740334ee5
Faster scheme search
...
Add docs
2019-06-26 13:26:34 +03:00
alexey-milovidov
dca6d2947c
Merge pull request #5600 from Enmk/gorilla_column_encoding
...
Gorilla column encoding
2019-06-26 12:53:12 +03:00
hcz
da206109a6
Move registerFunctionConvertCharset
2019-06-26 16:05:53 +08:00
hcz
97b762ad06
Improve function registering
2019-06-26 15:53:43 +08:00
Ivan Remen
7a5979cc0a
Fix bug
2019-06-26 02:11:28 +03:00
Nicolae Vartolomei
59d66bb1d5
clickhouse-copier: Allow empty database name
...
This is needed to make clickhouse-copier work with cross-replication
setups (also known as [circular replication][1]).
When database name is not specified we rely on `<default_database>`
element from replica stanza.
Example:
```xml
<source_cluster>
<shard>
<replica>
<host>localhost</host>
<port>9000</port>
<default_database>r0</default_database>
</replica>
<replica>
<host>localhost</host>
<port>666</port>
<default_database>r1</default_database>
</replica>
</shard>
<shard>
<replica>
<host>localhost</host>
<port>666</port>
<default_database>r0</default_database>
</replica>
<replica>
<host>localhost</host>
<port>9000</port>
<default_database>r1</default_database>
</replica>
</shard>
</source_cluster>
```
[1]: https://www.altinity.com/blog/2018/5/10/circular-replication-cluster-topology-in-clickhouse
2019-06-25 22:09:11 +00:00
Ivan Remen
d933b024bd
Fix now???
2019-06-26 00:49:42 +03:00
alesapin
71872fc3c3
Disable cluster copier tests
2019-06-25 22:26:26 +03:00
Nikolai Kochetov
f9b29bfdd2
Merged with master.
2019-06-25 20:00:54 +03:00
Nikolai Kochetov
50aac7e982
Atomic Ports. [2]
2019-06-25 19:42:57 +03:00
Nikolai Kochetov
67b7080707
Atomic Ports.
2019-06-25 19:42:26 +03:00
Nikolai Kochetov
ab781f0988
Add task_queue to PipelineExecutor.
2019-06-25 19:42:05 +03:00
Nikolai Kochetov
d0cd3cc640
Update PipelineExecutor
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
1f6bbeee7d
Update Port.h
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
94e087102d
Use std::pair in port.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
6c2dd9b87d
Remove copy constructor from Chunk.
2019-06-25 19:41:59 +03:00
Nikolai Kochetov
66b0ae52d5
Added StopwatchGuard
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
11e0752f6d
Update PipelineExecutor.
2019-06-25 19:41:55 +03:00
Nikolai Kochetov
c6bbf6d91d
Process pipeline in each thread in PipelineExecutor.
...
Exception safety in PipelineExecutor.
2019-06-25 19:41:38 +03:00
Nikolai Kochetov
d8f0c6c15a
Added stream number to pipeline execution state.
2019-06-25 19:41:28 +03:00
Nikolai Kochetov
3bee30a215
Update PipelineExecutor.
2019-06-25 19:41:11 +03:00
Nikolai Kochetov
fc5f28faeb
Remove ExceptionHandler from PipelineExecutor.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
8299680efe
Update Port.h
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
76934cf801
Don't call cancell for RemoteBlockInputStream in SourceFromInputStream.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
f5e20027a7
Better exception safety for SourceFromInputStream.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
b2a3835195
Unify streams for SourceFromInputStream.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
93b9f3e06a
Disable processors for ClickHouseDictionarySource.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
651b86b12f
Modify tuple extremes test for processors.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
1ae23a6d9d
Don't throw exception if query was cannelled.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
cebd32ad35
Disable 00634_performance_introspection_and_logging for processors.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
821d520a52
Fix limit by offset.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
cc09bb5557
Fix distinct.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
a43f789338
Fix performance introspection.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
96174e90b0
Fix build.
2019-06-25 19:41:00 +03:00
alesapin
bd56f219ab
Fix style
2019-06-25 19:15:00 +03:00
alesapin
ff72cf4893
Trying to do everything in one pass
2019-06-25 18:54:47 +03:00
chertus
ebedde9a0d
add test
2019-06-25 17:05:17 +03:00
chertus
e681bef71d
T64 full transpose variant
2019-06-25 16:59:33 +03:00
Nikita Vasilev
7079c91a0e
Merge remote-tracking branch 'upstream/master' into nikvas0/index_mutate
2019-06-25 16:34:11 +03:00
alesapin
d3a5759c73
Disable tests and add global timeout
2019-06-25 16:20:04 +03:00
Nikita Vasilev
9873b04611
StringRef -> String (race cond)
2019-06-25 16:10:09 +03:00
Ivan Remen
df4bd3eec6
Merge remote-tracking branch 'main/master' into h3-integration
2019-06-25 15:43:33 +03:00
Ivan Remen
737abcdbfc
Finally fix??
2019-06-25 15:43:07 +03:00
alesapin
57ed08f832
Merge pull request #5738 from yandex/hczhcz-patch-6
...
Slightly better style
2019-06-25 15:14:28 +03:00