kssenii
14c67c6ae6
Fixes
2020-05-26 17:34:57 +00:00
Alexander Kuzmenkov
83aaea7b0f
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-26 18:29:42 +03:00
Alexey Milovidov
b2057159c1
Experiment on parsing backslash escapes in a more convenient way #10922
2020-05-26 17:24:20 +03:00
alesapin
9d0c28d96c
Add missing methods
2020-05-26 17:14:08 +03:00
Maxim Akhmedov
e09bcb4290
Make possible adding nested storages to MultipleAccessStorage in run-time.
2020-05-26 17:05:06 +03:00
alesapin
8614487a5a
Fix primary key check
2020-05-26 16:46:19 +03:00
Vasily Nemkov
28a2cc0a82
Functions {to,from}UnixTimestamp64{Milli,Micro,Nano}
...
* Family of functions to convert DateTime64 to Int64 and back, usefull for
imporintg/exporting raw timestamp values of certain precision.
* Docs
* Tests
* Fixed ya.make
2020-05-26 16:42:22 +03:00
Nikolai Kochetov
12384551da
Fix totals and extremes header for views.
2020-05-26 16:19:24 +03:00
Nikolai Kochetov
e9d348ebf9
Merge pull request #11198 from ClickHouse/fix-step-by-step-pipeline-execution
...
Fix PipelineExecutor::executeStepImpl
2020-05-26 15:27:56 +03:00
alesapin
6626ef08e8
Fix PVS studio errors
2020-05-26 15:14:50 +03:00
Vitaly Baranov
2c8a355f19
Merge pull request #11081 from vitlibar/fix-no-password-mode
...
Fix settings NO_PASSWORD authentication mode in users.xml.
2020-05-26 14:20:34 +03:00
Vitaly Baranov
e27ded8798
Merge pull request #11172 from vitlibar/grpc-improve-build-scripts
...
Improve build scripts for protobuf & gRPC
2020-05-26 13:27:54 +03:00
Nikolai Kochetov
709f705886
Fix PipelineExecutor::executeStepImpl
2020-05-26 13:26:38 +03:00
Nikolai Kochetov
54f50745ec
Fix StrictResizeProcessor.
2020-05-26 13:19:56 +03:00
alesapin
5780240e88
Fix primry key check
2020-05-26 12:46:04 +03:00
alesapin
7bbb064b34
Fix metadata update
2020-05-26 11:58:32 +03:00
Nikolai Kochetov
1f9e4996c7
Fix PipelineExecutor::executeStepImpl
2020-05-26 10:51:53 +03:00
Ilya Yatsishin
2b155ac989
Merge pull request #11185 from ClickHouse/fix-lambda-lc-args
...
Fix lambda lc args
2020-05-26 10:27:35 +03:00
Alexander Kuzmenkov
4b1bb43543
Merge pull request #11076 from ClickHouse/aku/join-error-messages
...
Better error messages about joins
2020-05-26 09:09:59 +03:00
Alexander Kuzmenkov
9d25ae22b5
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-26 09:07:01 +03:00
Alexander Kuzmenkov
bf941755f2
fixup
2020-05-26 09:00:51 +03:00
Alexander Kuzmenkov
7142e68d7a
fixup
2020-05-26 08:54:04 +03:00
Alexey Milovidov
c858f4d89c
Clarifications
2020-05-26 02:47:21 +03:00
alexey-milovidov
d4acd1af3a
Merge pull request #11179 from excitoon-favorites/s3globfix
...
Fixed S3 globbing which could fail in case of more than 1000 keys and some backends
2020-05-26 02:45:42 +03:00
Alexey Milovidov
55a02c391d
Style
2020-05-26 01:06:02 +03:00
Alexey Milovidov
4bb3381bc9
Fix build after merge
2020-05-26 00:53:29 +03:00
Nikita Mikhaylov
507d98b24b
Merge pull request #11006 from nikitamikhaylov/MorozovVasily-UpdatePermutation
...
Merging IColumn::updatePermutation
2020-05-26 01:42:41 +04:00
filimonov
73a0ef6c0e
Fix for the hang during deletion of engine=Kafka (one more time) ( #11145 )
...
* Added flag for safer rdkafka destruction, but more testing detected another hang case, which has no straigt solutions and can be workarounded currenly only by draining the consumer queue, so destructor is back
* After review fixes
* After review fixes2
* After review fixes3
2020-05-26 00:13:10 +03:00
Nikolai Kochetov
a01b6496b6
Fix types for function Capture.
2020-05-25 22:21:42 +03:00
alesapin
355fbadb31
Fix style
2020-05-25 22:18:01 +03:00
Ivan Blinkov
548fc7141a
Enable log_queries by default
2020-05-25 21:12:03 +03:00
alesapin
211d7e229f
Better using
2020-05-25 21:03:04 +03:00
alesapin
adc7439a4c
Comments and refactoring
2020-05-25 20:57:08 +03:00
alesapin
62e9f67639
Better
2020-05-25 20:25:18 +03:00
alesapin
d7c59bb4aa
Merge branch 'master' into consistent_metadata2
2020-05-25 20:23:52 +03:00
alesapin
c3a6571036
Compilable code
2020-05-25 20:22:20 +03:00
potya
aea97ba9e4
Fix types and add complex test
2020-05-25 20:10:44 +03:00
alesapin
9b3cc9e525
Almost working ttl in IStorage
2020-05-25 20:07:14 +03:00
Vitaly Baranov
58a2172154
Improve build scripts related to protobuf and gRPC.
2020-05-25 18:46:57 +03:00
Nikita Mikhaylov
b48deb91ac
comments and styles
2020-05-25 17:33:31 +03:00
Nikita Mikhaylov
b7adfc7c07
Merge branch 'master' of github.com:ClickHouse/ClickHouse into MorozovVasily-UpdatePermutation
2020-05-25 17:26:30 +03:00
Vladimir Chebotarev
7f9a257c31
Fixed S3 globbing which could fail in case of more than 1000 keys and some backends.
2020-05-25 15:57:32 +03:00
Artem Zuikov
04322b7b87
remove stale unit-test
2020-05-25 15:06:14 +03:00
potya
927de75a47
Fix problems
2020-05-25 14:53:12 +03:00
Nikolai Kochetov
c83014bc76
Merge pull request #11114 from azat/max_threads-simple-query-optimization-fix
...
Do not reserve extra threads after max threads optimization for simple queries
2020-05-25 14:05:46 +03:00
alesapin
6281dd6893
Merge pull request #11115 from ClickHouse/consistent_metadata
...
Refactoring in storage metadata (more consistent keys)
2020-05-25 13:09:56 +03:00
Vitaly Baranov
eeb4cbc433
Fix settings NO_PASSWORD authentication mode in users.xml.
2020-05-25 11:35:26 +03:00
Alexander Kuzmenkov
8d5bbed2de
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-25 06:44:11 +03:00
Alexander Kuzmenkov
f1fb7245e5
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-25 06:21:27 +03:00
Alexander Kuzmenkov
09129a6d21
Function for printing array of Asts
2020-05-25 06:19:46 +03:00
hcz
f2e3bcdd15
Improve code style in src and test files of Arrow formats
2020-05-25 10:50:55 +08:00
Alexander Kuzmenkov
3b888e4e33
Add rand32 alias
2020-05-25 04:03:46 +03:00
Albert Kidrachev
3abf7b7dcd
fix
2020-05-25 03:32:08 +03:00
Albert Kidrachev
96260cf33a
init
2020-05-25 02:56:24 +03:00
alexey-milovidov
bee5849c6a
Merge pull request #11137 from ClickHouse/logger-fmt
...
fmt-style logging, part 1
2020-05-25 01:38:14 +03:00
alexey-milovidov
16760936a3
Merge pull request #11168 from ClickHouse/radix-sort-experiments
...
Fix bugs in MSB Radix Sort
2020-05-24 23:31:42 +03:00
alexey-milovidov
9b09cfc611
Merge pull request #11165 from ClickHouse/fix-test-s3
...
Merging #11036
2020-05-24 22:18:35 +03:00
Alexey Milovidov
4ebf63fb23
Fixed error
2020-05-24 22:17:15 +03:00
Alexey Milovidov
9082a70ee6
Fix clang-tidy
2020-05-24 21:25:58 +03:00
Alexey Milovidov
01be2dadb3
Various comments
2020-05-24 21:05:06 +03:00
Alexey Milovidov
d0c0a0aed6
Unrolled histogram calculation 8 times
2020-05-24 18:51:23 +03:00
Alexey Milovidov
e99ed19586
Unrolled histogram calculation
2020-05-24 18:48:11 +03:00
Alexey Milovidov
04022f71b4
Added comment
2020-05-24 18:35:48 +03:00
Alexey Milovidov
4748de9c85
Fix partial radix sort: it was not working at all
2020-05-24 18:26:07 +03:00
Alexey Milovidov
5e7ea6500c
Fix error
2020-05-24 17:48:53 +03:00
Alexey Milovidov
32158d9aee
Trying to understand and fix the code of RadixSortMSD
2020-05-24 17:42:20 +03:00
Azat Khuzhin
c36708caf9
Split data skipping indexes from the order by to evaluate order by before merge
2020-05-24 16:12:08 +03:00
Azat Khuzhin
71731b2e99
Fix data skipping indexes for columns with additional actions during merge
...
For example for AggregatingMergeTree if the column in the data skipping
index is under some aggregate function, then data skipping index will be
incorrect.
Fix this by calculating data skipping indexes after aggregation has been
done.
2020-05-24 16:12:08 +03:00
Alexey Milovidov
a8e8bc4298
Added a comment
2020-05-24 13:49:43 +03:00
Alexey Milovidov
7fca4ce4d0
Added missing test @excitoon #11036
2020-05-24 13:44:03 +03:00
Alexey Milovidov
e3cd085230
Fix test (looks like it was incorrect)
2020-05-24 13:42:13 +03:00
alexey-milovidov
aa8f385085
Merge pull request #11159 from ClickHouse/fix-radix-sort
...
Fix radix sort after #10981
2020-05-24 02:31:45 +03:00
Alexey Milovidov
bff624e2ef
Fix style
2020-05-24 01:30:43 +03:00
Alexey Milovidov
7e1813825b
Return old names of macros
2020-05-24 01:24:01 +03:00
Alexey Milovidov
61cc605ee7
Remove old method
2020-05-24 01:21:29 +03:00
Alexey Milovidov
af2a59e49b
Progress on task
2020-05-24 00:50:34 +03:00
Alexey Milovidov
d853bc39c5
Apply all transformations again
2020-05-24 00:41:48 +03:00
Alexey Milovidov
c87fb91532
Progress on task
2020-05-24 00:41:35 +03:00
Alexey Milovidov
93626701b8
Apply all transformations again
2020-05-24 00:27:27 +03:00
Alexey Milovidov
ce0619dabf
Progress on task
2020-05-24 00:26:45 +03:00
Alexey Milovidov
2d7d5a1547
Apply all transformations again
2020-05-24 00:16:27 +03:00
Alexey Milovidov
bab24879e9
Progress on task
2020-05-24 00:16:05 +03:00
Alexey Milovidov
7c0c328a35
Progress on task
2020-05-24 00:05:47 +03:00
Alexey Milovidov
d2621fee30
Progress on task
2020-05-23 23:57:48 +03:00
Alexey Milovidov
e1695feb7f
Apply all transformations again
2020-05-23 23:40:32 +03:00
Alexey Milovidov
38e3e273cd
Progress on task
2020-05-23 23:39:59 +03:00
Alexey Milovidov
85f84550ba
Progress on task
2020-05-23 23:37:37 +03:00
Azat Khuzhin
9de1a231c9
Add optional default_port argument for the port() function
2020-05-23 23:36:01 +03:00
Alexey Milovidov
f75587e562
Progress on task
2020-05-23 23:13:34 +03:00
Alexey Milovidov
18febd7b97
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_[^\_(]+\([^,]+, "[^"]+" << [^<]+ << "[^"]+" << [^<]+ << "[^"]+" << [^<]+ << "[^"]+" << [^<]+ << "[^"]+"\);' | while read file; do perl -pne 's/(LOG_[^\_(]+)\(([^,]+), "([^"]+)" << ([^<]+) << "([^"]+)" << ([^<]+) << "([^"]+)" << ([^<]+) << "([^"]+)" << ([^<]+) << "([^"]+)"\);/${1}_FORMATTED(${2}, "${3}{}${5}{}${7}{}${9}{}${11}", ${4}, ${6}, ${8}, ${10});/' $file > ${file}.tmp; mv ${file}.tmp $file; done
2020-05-23 22:56:05 +03:00
Alexey Milovidov
cd6d3c7509
Progress on task
2020-05-23 22:55:06 +03:00
Alexey Milovidov
d5b7883451
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_[^\_(]+\([^,]+, "[^"]+" << [^<]+ << "[^"]+" << [^<]+ << "[^"]+" << [^<]+ << "[^"]+"\);' | xargs sed -i -r -e 's/(LOG_[^\_(]+)\(([^,]+), "([^"]+)" << ([^<]+) << "([^"]+)" << ([^<]+) << "([^"]+)" << ([^<]+) << "([^"]+)"\);/\1_FORMATTED(\2, "\3{}\5{}\7{}\9", \4, \6, \8);/'
2020-05-23 22:41:08 +03:00
Alexey Milovidov
7e2fb9ad65
Apply all transformations again
2020-05-23 22:38:30 +03:00
Alexey Milovidov
eacff92d0e
Progress on task
2020-05-23 22:35:08 +03:00
Alexey Milovidov
0ab3ca8534
Apply all transformations again
2020-05-23 22:32:44 +03:00
Alexey Milovidov
29762240de
Remove duplicate whitespaces (preparation)
2020-05-23 22:31:54 +03:00
Alexey Milovidov
7fed65cbe2
Remove duplicate whitespaces (preparation)
2020-05-23 22:14:58 +03:00
Alexey Milovidov
86b4d5a86f
Remove duplicate whitespaces (preparation)
2020-05-23 22:09:06 +03:00
Alexey Milovidov
ab0562a574
Make all LOG in single line (preparation)
2020-05-23 22:05:41 +03:00
Alexey Milovidov
9d2a0d2dd7
Apply all transformations again
2020-05-23 21:59:49 +03:00
Alexey Milovidov
a2ad11897f
Remove duplicate whitespaces (preparation)
2020-05-23 21:53:58 +03:00
Alexey Milovidov
1f13515a65
Make all LOG in single line (preparation)
2020-05-23 21:31:37 +03:00
Alexey Milovidov
45b6abdfee
Progress on task
2020-05-23 21:22:40 +03:00
Alexey Milovidov
3384f3b77e
Progress on task
2020-05-23 21:07:38 +03:00
Alexey Milovidov
fc412f2d9d
Progress on task
2020-05-23 20:59:03 +03:00
Alexey Milovidov
9d24908e53
Progress on task
2020-05-23 20:52:11 +03:00
Azat Khuzhin
409cff11df
Add port() function
...
It uses domain() (getURLHost()) internally so it has the same
limitations:
- no ipv6 support
- no host-without-dots support (i.e. "foobar")
2020-05-23 20:45:56 +03:00
Alexey Milovidov
3a09f9ca1c
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_[^\W_]+\([^,]+, [^<+)"]+\);' | xargs sed -i -r -e 's/(LOG_[^\W_]+)\(([^,]+), ([^<+)"]+)\);/\1_FORMATTED(\2, \3);/'
2020-05-23 20:29:56 +03:00
Azat Khuzhin
aa656f95dd
Fix compilation on osx (where UInt64 and size_t is different)
2020-05-23 20:28:40 +03:00
Alexey Milovidov
b3f4fe12dd
Progress on task
2020-05-23 20:25:19 +03:00
Alexey Milovidov
d6bc4d2bd0
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, [^<]+ << "[^"]+" << [^<]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), ([^<]+) << "([^"]+)" << ([^<]+)\);/\1_FORMATTED(\2, "{}\4{}", \3, \5);/'
2020-05-23 20:14:57 +03:00
Alexey Milovidov
57f6dc66d3
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" \+ [^+]+ \+ "[^"]+" \+ [^+]+ \+ "[^"]+" \+ [^+]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" \+ ([^+]+) \+ "([^"]+)" \+ ([^+]+) \+ "([^"]+)" \+ ([^+]+)\);/\1_FORMATTED(\2, "\3{}\5{}\7{}", \4, \6, \8);/'
2020-05-23 20:11:09 +03:00
Alexey Milovidov
7bc2b6bbbc
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" \+ [^+]+ \+ "[^"]+" \+ [^+]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" \+ ([^+]+) \+ "([^"]+)" \+ ([^+]+)\);/\1_FORMATTED(\2, "\3{}\5{}", \4, \6);/'
2020-05-23 20:10:45 +03:00
Alexey Milovidov
241f8c5431
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" \+ [^+]+ \+ "[^"]+"\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" \+ ([^+]+) \+ "([^"]+)"\);/\1_FORMATTED(\2, "\3{}\5", \4);/'
2020-05-23 20:10:21 +03:00
Alexey Milovidov
f69cbdcbfc
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" \+ [^+]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" \+ ([^+]+)\);/\1_FORMATTED(\2, "\3{}", \4);/'
2020-05-23 20:09:37 +03:00
Alexey Milovidov
f68d1ceb4f
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+ << "[^"]+" << [^<]+ << "[^"]+" << [^<]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+) << "([^"]+)" << ([^<]+) << "([^"]+)" << ([^<]+)\);/\1_FORMATTED(\2, "\3{}\5{}\7{}", \4, \6, \8);/'
2020-05-23 20:02:09 +03:00
Alexey Milovidov
533f86278a
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+ << "[^"]+" << [^<]+ << "[^"]+"\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+) << "([^"]+)" << ([^<]+) << "([^"]+)"\);/\1_FORMATTED(\2, "\3{}\5{}\7", \4, \6);/'
2020-05-23 20:00:41 +03:00
Alexey Milovidov
8042e5febe
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+ << "[^"]+" << [^<]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+) << "([^"]+)" << ([^<]+)\);/\1_FORMATTED(\2, "\3{}\5{}", \4, \6);/'
2020-05-23 19:58:15 +03:00
Alexey Milovidov
e391b77d81
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+ << "[^"]+"\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+) << "([^"]+)"\);/\1_FORMATTED(\2, "\3{}\5", \4);/'
2020-05-23 19:56:05 +03:00
Alexey Milovidov
ee4ffbc332
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+)\);/\1_FORMATTED(\2, "\3{}", \4);/'
2020-05-23 19:47:56 +03:00
Alexey Milovidov
8d2e80a5e2
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+"\)' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+, "[^"]+")\)/\1_FORMATTED(\2)/'
2020-05-23 19:42:39 +03:00
Alexey Milovidov
e884800662
Remove commented code
2020-05-23 19:38:59 +03:00
Alexey Milovidov
35d79e1252
fmt-style logging, part 1
2020-05-23 19:33:07 +03:00
alexey-milovidov
08c7277d2b
Merge pull request #11144 from ClickHouse/dont-validate-polygons-in-non-constant-case
...
Fix performance issue with pointInPolygon
2020-05-23 18:54:50 +03:00
tavplubix
6ece9649f1
Merge pull request #11151 from naorlov/CLICKHOUSE-7224
...
Add `FailedQuery`, `FailedSelectQuery` and `FailedInsertQuery`
2020-05-23 18:47:44 +03:00
Alexey Milovidov
9c15e3ad92
Make it right
2020-05-23 18:29:43 +03:00
Alexey Milovidov
82f03fa8ce
Fix loop unrolling
2020-05-23 18:22:04 +03:00
Alexey Milovidov
73a3394b3d
Clarifications #10981
2020-05-23 17:28:22 +03:00
alexey-milovidov
ac6deaf8ec
Merge pull request #11036 from excitoon-favorites/s3fixes
...
Fixed parsing of S3 URL
2020-05-23 17:06:59 +03:00
alexey-milovidov
1d0043892b
Merge pull request #11155 from azat/dist-logging
...
Add table name into logs for StorageDistributed
2020-05-23 16:53:41 +03:00
alexey-milovidov
34eb533842
Merge pull request #10981 from g-arslan/master
...
Try to remove redundant data move in radix sort
2020-05-23 15:55:35 +03:00
Azat Khuzhin
0e12edb895
Fix max_threads simple query optimization for SELECT with subqueries
...
Fixes: 01245_limit_infinite_sources
2020-05-23 15:14:27 +03:00
Alexey Milovidov
2df7813177
Whitespaces
2020-05-23 14:52:45 +03:00
Alexey Milovidov
3e87b5fe72
Remove old TODO
2020-05-23 14:50:21 +03:00
Alexey Milovidov
8c63886ba6
Added a comment
2020-05-23 14:26:40 +03:00
Alexey Milovidov
6f39ac27d1
Comments and clarifications
2020-05-23 14:04:29 +03:00
Alexey Milovidov
3b7088262f
Comments and clarifications
2020-05-23 14:03:21 +03:00
Alexey Milovidov
146d8253ce
Comments and clarifications
2020-05-23 13:57:30 +03:00
Alexey Milovidov
f14b5c02e2
Added a comment
2020-05-23 13:41:49 +03:00
Azat Khuzhin
d4804e070f
Do not reserve extra threads after max threads optimization for simple queries
...
Before this patch pipeline.setMaxThreads() was called with 0 (since
streams.size() == 0, while pipes.size() == 1), which leads that
pipeline.getMaxThreads() returns max_streams.
While this threads were not used, they were reserved, which should not
happens either.
2020-05-23 13:19:09 +03:00
Azat Khuzhin
bc4b75dead
Add table name into logs for StorageDistributed
2020-05-23 11:57:14 +03:00
Nikita Orlov
09255b7c46
issue-7224 Codestyle changes
2020-05-23 02:37:14 +03:00
Alexey Milovidov
91b8659b4d
Avoid data movement
2020-05-23 02:14:14 +03:00
Alexey Milovidov
ba5d0a9793
Avoid virtual calls
2020-05-23 01:40:00 +03:00
Nikita Orlov
dffd15f643
issue-7224 Add failed Insert and Select query counters to ProfileEvents
2020-05-23 01:00:15 +03:00
Alexey Milovidov
d2cd941f47
Changed strategy to "Franklin"
2020-05-23 00:47:31 +03:00
Alexey Milovidov
5e21a06559
Added bounding box
2020-05-23 00:36:44 +03:00
Azat Khuzhin
6a9ec1396a
Access aggregate keys by names over indexes
...
Relax this to allow accepting aggregate keys in different order (typical
use case is distributed queries, where the initiator server will do
final merge).
2020-05-23 00:36:30 +03:00
Azat Khuzhin
1f45c4302a
Drop check for getPositionByName() (it already has it) in ExpressionActions
2020-05-23 00:36:30 +03:00
Azat Khuzhin
6d40c1ea2c
Preserve order of expressions during predicates optimization (enable_optimize_predicate_expression)
...
Before this patch enable_optimize_predicate_expression changes the
order *every* time, so:
foo AND bar -> bar AND foo
And this causes troubles for distributed queries, since query on shard
will have different order of expressions with the initiating server.
2020-05-23 00:36:30 +03:00
Alexey Milovidov
4deb69599e
Improve performance for non-const polygons
2020-05-23 00:27:06 +03:00
Alexey Milovidov
84dd802ba9
Improve performance for non-const polygons
2020-05-23 00:23:49 +03:00
Alexey Milovidov
a39f1d8bdc
Preparation
2020-05-22 23:29:28 +03:00
Alexey Milovidov
ad54b83563
Fix clang-tidy
2020-05-22 22:58:08 +03:00
Alexey Milovidov
a309e1050a
Finally fix performance issue
2020-05-22 22:54:16 +03:00
Alexey Milovidov
3f31f2b9e2
Replace polygon key to hash for simplicity
2020-05-22 22:37:56 +03:00
Alexey Milovidov
de83c1129f
Better "serialize" function for polygons
2020-05-22 22:27:38 +03:00
Alexey Milovidov
902fc8dd82
Fix outstandingly wrong code from #10623
2020-05-22 22:15:29 +03:00
alesapin
cd83ebc599
Merge pull request #11106 from ClickHouse/fix_deadlock_system_logs_startup
...
Fix deadlock in system tables during server startup
2020-05-22 20:53:07 +03:00
alesapin
e812fa15d1
Merge branch 'consistent_metadata' into consistent_metadata2
2020-05-22 17:41:53 +03:00
alesapin
e971ff627e
Fix gcc-9 build
2020-05-22 17:39:49 +03:00
Alexander Tokmakov
ac54d470da
Merge branch 'master' into merging_external_source_cassandra
2020-05-22 17:27:40 +03:00
Alexey Milovidov
4dd2015056
Preparation
2020-05-22 17:21:49 +03:00
Alexander Tokmakov
e6ca09e134
fix build
2020-05-22 17:19:33 +03:00
Alexey Milovidov
a9b3de8542
Remove excessive memory allocations
2020-05-22 17:07:17 +03:00
Alexey Milovidov
07a65c3090
Do not validate polygons in non-constant case
2020-05-22 16:50:12 +03:00
alesapin
f026fa7de1
Rename PartDestinationType to DataDestionationType, because there is no part-specific information
2020-05-22 16:29:33 +03:00
alesapin
a935db4169
boop CI
2020-05-22 15:34:26 +03:00
Andrey Skobtsov
806d2c9838
1 or 4 spaces in example values
2020-05-22 15:30:02 +03:00
Vitaly Baranov
5a0f356cd6
Merge pull request #11038 from Enmk/parseDateTime64BestEffort_fix
...
Fixed parseDateTime64BestEffort implementation
2020-05-22 14:40:39 +03:00
alexey-milovidov
10fd2dd17d
Merge pull request #11118 from ClickHouse/aku/trace-log-overflow-followup
...
A follow-up for trace log overflow in perftests
2020-05-22 14:29:11 +03:00
alexey-milovidov
e5808c6f2f
Merge pull request #11122 from ClickHouse/aku/addr2line
...
Remove extra copying from addressToLine
2020-05-22 14:16:46 +03:00
Andrey Skobtsov
d1d9af4fea
Perf metrics disabled by default
2020-05-22 14:16:41 +03:00
alexey-milovidov
b82c633716
Merge pull request #11048 from filimonov/kafka_missed_data_during_drop
...
Fixes the potential missed data during termination of Kafka engine table
2020-05-22 14:11:10 +03:00
Andrey Skobtsov
93d8e8c404
Removed perf page faults as they already exist in rusage
2020-05-22 14:09:14 +03:00
alesapin
f4b0d475af
Fix system.tables output
2020-05-22 14:04:15 +03:00
alesapin
70fe119426
Add clear names
2020-05-22 13:33:57 +03:00
alesapin
98ffefd90c
Fix bug with return type
2020-05-22 13:09:24 +03:00
Vladimir Chebotarev
98f31374d5
Added improved S3 URL parsing to DiskS3
.
2020-05-22 11:18:34 +03:00
alesapin
cbcdb6219e
Slighty more verbose comment
2020-05-22 11:17:57 +03:00
Vladimir Chebotarev
02cb08ea2f
Fixed parsing of S3 URL.
2020-05-22 11:17:10 +03:00
alesapin
b9dfa61774
Merge pull request #11042 from CurtizJ/modify-ttl
...
Apply TTL for old data, after ALTER MODIFY TTL query
2020-05-22 11:12:14 +03:00
Nikolai Kochetov
f7456f8320
Merge pull request #11004 from ClickHouse/remove-experimental-use-processors-flag-2
...
Remove allow_processors flag from executeQuery()
2020-05-22 10:47:15 +03:00
Alexander Kuzmenkov
322d731d28
Remove extra copying from addressToLine
...
The line is already serialized to the same arena, so there is no need to
copy it. Also add this function to query profiler test, so that it has
some coverage.
2020-05-22 03:01:35 +03:00
Dmitry
47778c0259
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-21 23:45:12 +03:00
Andrey Skobtsov
e3b756e65f
Added cpu-clock
to the list of supported events as it is included in perf and can be disabled if needed
2020-05-21 23:40:47 +03:00
Alexander Kuzmenkov
087d8ab020
A follow-up for trace log overflow in perftests
...
The start was in https://github.com/ClickHouse/ClickHouse/pull/11026
It turned out that the problem was due to the incorrect mutate()
implementation that lead to quadratic amount of column copying. This
problem has since been fixed.
Remove the excessively verbose logging, and also change appendToBlock of
LogElement's to accept mutable columns instead of accepting a block and
mutating it on each call. It looks wasteful, even though it is almost a
noop.
2020-05-21 23:40:23 +03:00
Dmitry
ee22a3ad30
Adding Info in FinalizingSimpleTransform
2020-05-21 23:34:53 +03:00
Andrey Skobtsov
790d7c2000
Reverted ctime
> sys/time.h
include just to not show it in the pull request
2020-05-21 23:29:20 +03:00
Andrey Skobtsov
5217fd7952
Renamed counters_id
to latest_counters_id
to be more specific about what this variable holds
2020-05-21 23:27:33 +03:00
Andrey Skobtsov
713173a3a5
More precise number of total events
2020-05-21 23:21:42 +03:00
Andrey Skobtsov
72e5545c51
Logging warnings instead of infos and always as the user can select
...
what metrics he wants to measure and perf measurements will be disabled by default
2020-05-21 23:20:55 +03:00
Andrey Skobtsov
bf5c7c4411
Logging perf event settings name when event is not supported
2020-05-21 23:11:19 +03:00
Alexander Kuzmenkov
fecd84d3c0
Merge pull request #10915 from ClickHouse/aku/mongodb-uri
...
Support MongoDB URI
2020-05-21 23:02:12 +03:00
alesapin
59b3bc0c05
Merge branch 'master' into fix_deadlock_system_logs_startup
2020-05-21 22:57:52 +03:00
Nikolai Kochetov
c81dd49686
Try fix build.
2020-05-21 22:55:27 +03:00
alesapin
09034157cd
Remove comments
2020-05-21 22:53:46 +03:00
alesapin
327d17ac6a
Better
2020-05-21 22:46:03 +03:00
alesapin
41914588fd
More clear
2020-05-21 22:07:18 +03:00
alesapin
1906762119
Merge pull request #11109 from ClickHouse/less_verbose_logging
...
Less verbose logging in mutation finalization task
2020-05-21 21:53:08 +03:00
alesapin
37fa26971e
boop ci
2020-05-21 21:49:31 +03:00
alexey-milovidov
655b8e1903
Merge pull request #11021 from ClickHouse/fix_10557
...
Remove data on DROP DATABASE for DatabaseMemory
2020-05-21 20:17:46 +03:00
Nikolai Kochetov
adfa77be9d
Added another one comment.
2020-05-21 20:07:22 +03:00
Alexander Kuzmenkov
f98ffdbc4c
Merge pull request #11087 from azat/context-fwd-decl
...
[RFC] Forward declaration for Context as much as possible.
2020-05-21 19:43:29 +03:00
alesapin
87eab514fb
Merge branch 'master' into consistent_metadata
2020-05-21 18:54:52 +03:00
alesapin
5676340f6b
Less verbose logging in mutation finalization task
2020-05-21 18:52:11 +03:00
Alexander Tokmakov
f40fadc3d6
fix segfault
2020-05-21 18:29:18 +03:00
Vasily Nemkov
403aae9126
Fixed parseDateTime64BestEffort implementation
...
Fixed argument resolution issues.
Added tests and made sure -orNull and -orZero variants alwo work correctly.
2020-05-21 17:21:39 +03:00
Andrey Skobtsov
d00609cb70
Validating file descriptors for external modification
2020-05-21 17:14:01 +03:00
alesapin
c036af0261
Fix deadlock after clickhouse-server update (with changes in one of system log tables structure) during startup between concurrent merge and table rename.
2020-05-21 17:11:56 +03:00
g-arslan
9e350bea33
replace shift array with std::rotate
2020-05-21 17:10:47 +03:00
alexey-milovidov
b480f137f3
Merge pull request #10623 from livace/master
...
Add point in polygon for non-const polygons
2020-05-21 15:18:24 +03:00
alexey-milovidov
765510d5c3
Merge pull request #10991 from ClickHouse/enable-clang-tidy-for-programs-and-utils
...
Enable clang-tidy for programs and utils
2020-05-21 15:12:07 +03:00
Alexey Milovidov
581b2358de
Added comment
2020-05-21 15:07:12 +03:00
Alexey Milovidov
3c763908c3
Added comment
2020-05-21 15:04:15 +03:00
Alexey Milovidov
6669607e17
Merge branch 'master' into vectorize-sum
2020-05-21 15:02:51 +03:00
g-arslan
3267eaa498
fix style
2020-05-21 15:00:55 +03:00
g-arslan
b88d0dec1c
some little improvements
2020-05-21 15:00:55 +03:00
g-arslan
c01a7ef0e2
Implement reverse in radix sort, fix style, fix build
2020-05-21 15:00:55 +03:00
g-arslan
95668def24
Try to remove redundant data move in radix sort
2020-05-21 15:00:55 +03:00
Nikolai Kochetov
d6ce1ed7b9
Added comments.
2020-05-21 14:54:26 +03:00
alexey-milovidov
c1b5d799ee
Merge pull request #11025 from ClickHouse/add-nchar-nvarchar
...
Add NCHAR and NVARCHAR synonims
2020-05-21 14:05:11 +03:00
Nikolai Kochetov
986dfe79a5
Merge pull request #10858 from azat/min_mv_insert_block_size
...
[RFC] Introduce min_insert_block_size_{rows,bytes}_for_materialized_views (for MVs)
2020-05-21 12:52:58 +03:00
Alexey Milovidov
2fa264d83e
Fix style #10591
2020-05-21 12:46:00 +03:00
alexey-milovidov
b6b62dbdbc
Merge pull request #10591 from excitoon-favorites/ttl_introspection
...
Added `move_ttl_info` to `system.parts`
2020-05-21 12:43:49 +03:00
alexey-milovidov
4a237faede
Merge pull request #11074 from Jokser/memory-leak-in-register-disk-s3
...
Fix memory leak in registerDiskS3
2020-05-21 12:42:46 +03:00
Nikolai Kochetov
37e5da737c
Fix ya.make.
2020-05-21 12:27:55 +03:00
BohuTANG
c9d315654c
Fix Storages/MergeTree typo
2020-05-21 17:00:44 +08:00
Nikolai Kochetov
cfef21be86
Fix build.
2020-05-21 11:54:41 +03:00
Nikolai Kochetov
adac47a845
Fix build.
2020-05-21 10:47:38 +03:00
Nikolai Kochetov
f6d5961915
Fix build.
2020-05-21 10:40:01 +03:00
Nikolai Kochetov
6efc51335a
Fix build.
2020-05-21 10:31:43 +03:00
hcz
ab37791134
Fix arrow stream termination
2020-05-21 15:28:10 +08:00
hcz
e11fa03bdd
Add ArrowStream input and output format
2020-05-21 12:07:47 +08:00
Azat Khuzhin
d93b9a57f6
Forward declaration for Context as much as possible.
...
Now after changing Context.h 488 modules will be recompiled instead of 582.
2020-05-21 01:53:18 +03:00
Andrey Skobtsov
8363ccb9b7
Fixed naming for lambda
2020-05-21 00:03:08 +03:00
Alexander Tokmakov
31b6f5f0d2
Merge branch 'master' into merging_external_source_cassandra
2020-05-20 23:44:53 +03:00
Alexander Tokmakov
4b30b3168c
try fix build
2020-05-20 23:26:39 +03:00
Alexander Kuzmenkov
50df893dc6
Assert that allocator & container are consistent wrt. inline memory
...
There are lots of places where HashTable is used with
AllocatorWithStackMemory, but the size of allocator inline memory is set
incorrectly, and it's less than the initial HashTable buffer size.
Because of this, HashTable is always allocated on the heap, and the
inline memory becomes a useless dead weight.
For PODArray, we have previously added a helper template that makes sure
these values are in sync, so there was only one such discrepancy left,
in the unit test.
2020-05-20 22:37:13 +03:00
Nikolai Kochetov
bcd38ac207
Fix build.
2020-05-20 22:08:20 +03:00
Alexander Kuzmenkov
9e410444e7
Better error messages about joins
2020-05-20 21:58:20 +03:00
Andrey Skobtsov
a329a6a86a
Fixed compilation on non linux devices
2020-05-20 21:54:07 +03:00
Nikolai Kochetov
6f50700f35
Add PullingOutputFormat and PullingPipelineExecutor.
2020-05-20 21:53:18 +03:00
Andrey Skobtsov
4151cf7ac8
Removed useless comment
2020-05-20 21:37:16 +03:00
Andrey Skobtsov
97043e588f
Space
2020-05-20 21:30:09 +03:00
Andrey Skobtsov
8b98bfe1d4
Enable perf measurements by default for performance tests
2020-05-20 21:28:58 +03:00
Andrey Skobtsov
4816abed28
Settings for measuring only particular metrics via perf events
2020-05-20 21:25:49 +03:00
kssenii
4dc659b763
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into add-storage-rabbitmq-read-only
2020-05-20 18:17:41 +00:00
alexey-milovidov
07924f0ae1
Merge pull request #11029 from azat/system_tables_lazy_load
...
Disable system_tables_lazy_load by default
2020-05-20 21:15:09 +03:00
alesapin
616902a995
Sorting and primary key (broken)
2020-05-20 21:11:38 +03:00
Pavel Kovalenko
d98c1589ed
Better error handling in Proxy Resolver.
2020-05-20 19:01:05 +03:00
Pavel Kovalenko
138154ba6a
Fix memory-leak in registerDiskS3 during config->createView invocations.
2020-05-20 18:42:45 +03:00
alesapin
9fb28f5ac0
Add sampling key
2020-05-20 18:16:39 +03:00
Nikolai Kochetov
fcf58fa4a1
Fix clang build.
2020-05-20 17:04:24 +03:00
Anton Popov
d62fe980ef
Merge remote-tracking branch 'upstream/master' into modify-ttl
2020-05-20 16:52:30 +03:00
alesapin
8bc527eecd
Compile partition key
2020-05-20 15:16:55 +03:00
Vitaly Baranov
06d18a4378
Merge pull request #11050 from vitlibar/amosbird_betterdictget
...
dictGet with table name
2020-05-20 14:18:24 +03:00
alexey-milovidov
da33858d39
Update StorageSystemParts.cpp
2020-05-20 14:07:31 +03:00
Vladimir Chebotarev
02b52df86d
Added delete_ttl_info_min
and delete_ttl_info_max
to system.parts
.
2020-05-20 14:07:31 +03:00
Vladimir Chebotarev
6f68979662
Switched system.parts.move_ttl_info
to separate arrays.
2020-05-20 14:07:31 +03:00
Vladimir Chebotarev
3ed5d9434a
Added move_ttl_info
to system.parts
.
2020-05-20 14:07:31 +03:00
kssenii
aeffab3fdb
Enable SELECT and CREATE MV queries with engine RabbitMQ
2020-05-20 09:40:49 +00:00
Artem Zuikov
9b38324028
fix JOIN with PREWHERE with second analyze() ( #11051 )
2020-05-20 12:29:23 +03:00
Mikhail Filimonov
e8a13842af
Better fix, previous fix was wrong (was leaving the cycle by eof condition)
2020-05-20 11:02:02 +02:00
alesapin
dc330ca7cb
Merge pull request #11037 from ClickHouse/alter_rename_and_modify
...
Fix alter rename with different types of alter
2020-05-20 11:28:13 +03:00
kssenii
3b75f214c5
Register RabbitMQ storage
2020-05-20 09:09:20 +03:00
kssenii
a055e33087
Add libevent & AMQP-CPP libraries
2020-05-20 09:08:27 +03:00
Nikolai Kochetov
7ba5419190
Update PipelineExecutor.
2020-05-19 23:24:06 +03:00
Alexander Kuzmenkov
bc34e0ff94
fixup
2020-05-19 23:12:10 +03:00
Andrey Skobtsov
844aac40e5
typedef > using
2020-05-19 21:25:40 +03:00
Andrey Skobtsov
b6d6427748
Added file descriptors threshold
2020-05-19 21:22:30 +03:00
Vitaly Baranov
57bd7afc03
Fix passing dictionary's name to dictGet() with alias.
2020-05-19 21:17:29 +03:00
Amos Bird
ce3c53a00a
dictGet* with table name
2020-05-19 20:33:45 +03:00
Mikhail Filimonov
34198336ed
Style
2020-05-19 19:02:37 +02:00
Mikhail Filimonov
b50480cbde
Fixes the potential missed data during termination of Kafka engine table
2020-05-19 18:55:37 +02:00
alesapin
7d382cc7b5
Return missed command
2020-05-19 19:03:10 +03:00
Nikolai Kochetov
6109e87aed
Try fix compatibility.
2020-05-19 18:40:15 +03:00
Nikolai Kochetov
c147badf4f
Merge remote-tracking branch 'upstream/master' into min_mv_insert_block_size
2020-05-19 18:24:21 +03:00
Alexander Kuzmenkov
ef6f386ee6
Merge pull request #11026 from ClickHouse/aku/trace-log
...
Add more logs to debug trace_log overflow
2020-05-19 17:56:06 +03:00
Alexander Kuzmenkov
838b3e9533
fixup
2020-05-19 17:55:27 +03:00
Nikolai Kochetov
b0d9552e1e
Try fix compatibility.
2020-05-19 17:06:33 +03:00
Andrey Skobtsov
483c78ba8f
Fixed warnings
2020-05-19 17:01:51 +03:00
Anton Popov
35b916433a
fix TTL with defaults after modify
2020-05-19 16:06:35 +03:00
alesapin
4906dbef41
Remove redundant logs
2020-05-19 13:46:56 +03:00
alesapin
2b37a418f2
More clear logic
2020-05-19 13:44:53 +03:00
alesapin
a416813597
Merge pull request #10777 from NanoBjorn/refactor-reservations
...
VolumePtr instead of DiskPtr in MergeTreeData*
2020-05-19 13:27:11 +03:00
alesapin
111c576579
Slightly less garbage
2020-05-19 13:03:05 +03:00
alesapin
70e5553204
At least something works
2020-05-19 12:54:56 +03:00
Gleb Novikov
665c6b7f59
Added new files to ya make
2020-05-19 12:38:43 +03:00
Nikolai Kochetov
daa519a654
Fix ya.make
2020-05-19 12:04:56 +03:00
Alexander Tokmakov
175b7aedf3
Merge branch 'master' into merging_external_source_cassandra
2020-05-19 05:21:27 +03:00
Anton Popov
58ed04dc24
materialize TTL after its modifying
2020-05-19 04:53:01 +03:00
potya
0b51e25a69
Support numeric parameters in VARCHAR, VARBINARY, INT... data types (e.g. VARCHAR(255)) and ignore them completely.
2020-05-19 02:53:41 +03:00
Azat Khuzhin
e1fbf82d0c
Disable system_tables_lazy_load by default
...
Refs: #9642
Refs: #10359
2020-05-19 02:41:18 +03:00
Andrey Skobtsov
ef788758bf
Revert "Fixed current counter id check"
...
This reverts commit f98c53e8
2020-05-19 01:30:40 +03:00
Andrey Skobtsov
f98c53e8d8
Fixed current counter id check
2020-05-19 01:29:46 +03:00
Andrey Skobtsov
04a902ba68
Reverted switch case indentation (v2)
2020-05-19 01:27:19 +03:00
Andrey Skobtsov
b8d447297b
Reverted switch case indentation
2020-05-19 01:26:35 +03:00
Andrey Skobtsov
4103700aa6
Changed comments
2020-05-19 01:17:19 +03:00
Andrey Skobtsov
b0a3dc2b88
Moved static on top of thread_local
2020-05-19 01:15:04 +03:00
Andrey Skobtsov
e46cabe1d8
UInt64 numbers to track active counters instead of memory addresses
2020-05-19 01:13:55 +03:00
Andrey Skobtsov
979b357c05
Removed unused method
2020-05-19 00:46:46 +03:00
Artem Zuikov
97c7447130
Bitonic sort improvements ( #10934 )
2020-05-19 00:41:23 +03:00
Andrey Skobtsov
901f546aee
Fixed 0 value of paranoid handling
2020-05-19 00:40:15 +03:00
Nikolai Kochetov
075ccceee9
Fix tests.
2020-05-19 00:38:28 +03:00
Nikolai Kochetov
0ec321a811
Fix ya.make
2020-05-19 00:01:33 +03:00
Alexander Kuzmenkov
a54773f947
Add more logs to debug trace_log overflow
2020-05-18 22:33:12 +03:00
Alexey Milovidov
08ff5b5966
Add NCHAR and NVARCHAR synonims
2020-05-18 22:13:13 +03:00
Nikolai Kochetov
4ce0ef6055
Fix tests.
2020-05-18 21:40:01 +03:00
Nikolai Kochetov
0ce9afd1e3
Try fix tests.
2020-05-18 19:19:43 +03:00
Nikolai Kochetov
deeae66455
Fix clang build.
2020-05-18 18:52:00 +03:00
Nikolai Kochetov
0e48cb1f80
Removed allow_processors flag from executeQuery().
2020-05-18 16:55:07 +03:00
Alexander Tokmakov
6af9c78476
remove data on DROP DATABASE
2020-05-18 16:51:01 +03:00
alesapin
bec7d1ce93
Fix style check
2020-05-18 16:49:19 +03:00
Artem Zuikov
bfcbc08bba
arcadia sync fixes
2020-05-18 15:50:23 +03:00
Andrey Skobtsov
1edd29b3f8
Removed custom events as they don't work in an "increment" manner
2020-05-18 15:23:47 +03:00
Andrey Skobtsov
e7bea6e03a
Renamed events
2020-05-18 14:44:40 +03:00
Nikita Mikhaylov
ebce2c7e7c
only style changes
2020-05-18 14:38:22 +03:00
Artem Zuikov
62f77abbc5
add file to ya.make
2020-05-18 13:40:02 +03:00
Andrey Skobtsov
182e4f2c0b
Added running and enabled time for perf metrics
2020-05-18 13:40:01 +03:00
Artem Zuikov
fcaee7dc98
add file to ya.make
2020-05-18 13:37:13 +03:00
Artem Zuikov
0fe723acc9
Try to fix arcadia sync ( #10959 )
2020-05-18 13:26:23 +03:00
Vasily Morozov
4688729396
fix
2020-05-18 13:16:50 +03:00
Vasily Morozov
876fff1938
fix build and style
2020-05-18 13:16:49 +03:00
Vasily Morozov
82af700eb8
updatePermutation fix
2020-05-18 13:16:49 +03:00
Vasily Morozov
ca1bf06498
updatePermutation
2020-05-18 13:16:49 +03:00
alesapin
07cb21ccb7
Merge branch 'master' into refactor-reservations
2020-05-18 11:43:48 +03:00
alesapin
ab491c0dd9
boop CI
2020-05-18 11:42:39 +03:00
Alexey Milovidov
f54435e7fd
Fix clang-tidy
2020-05-18 11:08:55 +03:00
alexey-milovidov
a316184bef
Merge pull request #10990 from ClickHouse/odbc-bridge-wait-exp-backoff
...
Wait for odbc-bridge with exponential backoff
2020-05-18 10:17:59 +03:00
Nikolai Kochetov
cdb742dd4b
Added comment.
2020-05-18 09:06:48 +03:00
Nikolai Kochetov
fcde0d36bd
Merge pull request #10978 from ClickHouse/static-mutate
...
Try fix performance after static mutate.
2020-05-18 09:02:24 +03:00
Alexey Milovidov
f5072aab18
Fix error
2020-05-18 08:01:55 +03:00
Alexey Milovidov
719a3b5a2c
Performance improvement for "sum" over nullable
2020-05-18 07:49:51 +03:00
Alexey Milovidov
6f0c78dfdd
Vectorize "sum" function
2020-05-18 06:50:53 +03:00
alexey-milovidov
7efd2a825f
Merge pull request #10463 from ClickHouse/parallel-final
...
Parallel final
2020-05-18 05:20:18 +03:00
alexey-milovidov
327a48bcf9
Update AddingSelectorTransform.h
2020-05-18 05:19:08 +03:00
Alexey Milovidov
c2b6ed5e21
Whitespaces
2020-05-18 04:42:46 +03:00
Alexey Milovidov
4d1dddeee9
Merge branch 'random_string_utf8_function' of https://github.com/xolm/ClickHouse into xolm-random_string_utf8_function
2020-05-18 04:22:16 +03:00
Alexey Milovidov
b0a5ce7743
Enable clang-tidy for programs and utils
2020-05-18 04:19:50 +03:00
Alexey Milovidov
7b5dfd9c00
Wait for odbc-bridge with exponential backoff
2020-05-18 04:06:04 +03:00
alexey-milovidov
073dc2e1e3
Merge pull request #10986 from ClickHouse/try-fix-use-after-free-mergetree
...
Try to fix use-after-free error in MergeTree
2020-05-18 03:41:53 +03:00
Andrei Nekrashevich
770b720620
no reinterpret_cast
2020-05-18 02:58:19 +03:00
Nikolai Kochetov
aab2599fad
Fix build.
2020-05-17 23:26:53 +03:00
alexey-milovidov
6f1d522b6a
Merge pull request #10980 from azat/database-atomic-fixes
...
Database atomic fixes
2020-05-17 23:25:56 +03:00
alexey-milovidov
3820075813
Merge pull request #10983 from azat/configure-librdkafka
...
Configure librdkafka (logging and thread names)
2020-05-17 23:25:18 +03:00
Andrei Nekrashevich
eba043aaf8
Merge branch 'master' into random_string_utf8_function
2020-05-17 22:53:42 +03:00
Alexey Milovidov
70c31cbdc4
Fix error
2020-05-17 22:44:31 +03:00
Alexey Milovidov
81a7930c3e
Merge branch 'master' of github.com:yandex/ClickHouse into try-fix-use-after-free-mergetree
2020-05-17 22:42:34 +03:00
Alexey Milovidov
20dbd6c3ef
Fix error
2020-05-17 22:41:49 +03:00
alexey-milovidov
ca1a9b890d
Revert "Try to fix use-after-free error in MergeTree"
2020-05-17 22:36:27 +03:00
alexey-milovidov
f7b1263d41
Merge pull request #10268 from ClickHouse/max-rows-to-sort
...
Added failing tests about "max_rows_to_sort" setting.
2020-05-17 22:21:30 +03:00
alexey-milovidov
8d3c37992a
Merge pull request #10533 from ClickHouse/alter-key-column-better-exception-message
...
Better exception message and error code for ALTER of key column #9078
2020-05-17 22:21:14 +03:00
alexey-milovidov
92686fea27
Merge pull request #10974 from ClickHouse/xolm-random_fixed_string_function
...
Merging #10866
2020-05-17 22:20:53 +03:00
alexey-milovidov
76dfc37bbf
Merge pull request #10975 from ClickHouse/Potya-master
...
Merging #10856
2020-05-17 22:20:36 +03:00
Nikolai Kochetov
c8e7ea0d6c
Try fix performance.
2020-05-17 21:55:49 +03:00
Azat Khuzhin
e3d69eea88
Configure thread names for librdkafka
...
First of all it is nice to have part of the table name in it.
And secondly, librdkafka uses pthread_setname_np(), but due to
glibc-compatibility it is a noop in clickhouse sources:
# librdkafka uses rdk: prefix for thread names by default
$ grep rdk /proc/$(pgrep clickhouse-serv)/task/*/comm
# just in case:
$ grep rdk /proc/*/task/*/comm
$ grep rdk /proc/*/comm
(gdb) disas pthread_setname_np
Dump of assembler code for function pthread_setname_np:
0x000000000c603250 <+0>: xor %eax,%eax
0x000000000c603252 <+2>: retq
End of assembler dump.
2020-05-17 20:40:18 +03:00
Azat Khuzhin
dbe781451a
Redirect librdkafka logs from stderr to clickhouse logger
2020-05-17 20:27:36 +03:00
Azat Khuzhin
fb6b19d57a
Fix symlinking data directory for Atomic database
2020-05-17 17:14:51 +03:00
Alexey Ilyukhov
a65923b028
Add comments
2020-05-17 17:02:41 +03:00
Azat Khuzhin
31035a3cd1
Allow relative path for renameat2 by using AT_FDCWD
...
Otherwise this will trigger logical error on CREATE TABLE with default
config.d overrides (path=./).
2020-05-17 17:02:03 +03:00
Andrey Skobtsov
40ad18be8e
Fixed compilation namespace issue and formatting
2020-05-17 16:56:17 +03:00
Andrei Nekrashevich
db07c9f5e9
fix
2020-05-17 16:22:52 +03:00
Andrei Nekrashevich
9d2801e0d8
fix
2020-05-17 16:07:37 +03:00
alexey-milovidov
7cf3538840
Merge pull request #10270 from ClickHouse/quota-key-in-client
...
Support quota_key for Native client
2020-05-17 14:09:40 +03:00
Nikolai Kochetov
29340d915a
Try fix performance.
2020-05-17 13:51:52 +03:00
Azat Khuzhin
fdc4823065
Simplify min_insert_block_size_{rows,bytes}_for_materialized_views changed detection
2020-05-17 13:41:54 +03:00
alexey-milovidov
d3c9f5cb65
Update RowRef.h
2020-05-17 13:31:06 +03:00
Alexey Milovidov
90cd5d8a3c
Remove unused header file
2020-05-17 13:27:13 +03:00
Azat Khuzhin
c1cf31f87d
Introduce min_insert_block_size_{rows,bytes}_for_materialized_views
...
With tons of MATERIALIZED VIEW attached to one table pushing to this
views can be pretty memory consuming due to blocks squashing, add
ability to control this separatelly for MATERIALIZED VIEWs.
Plus squashing is useless if the underlying engine is Buffer().
2020-05-17 12:21:05 +03:00
alexey-milovidov
6c49967395
Merge pull request #10802 from PerformanceVision/offset_without_limit
...
Add the ability to set an OFFSET clause without a LIMIT
2020-05-17 12:06:22 +03:00
alexey-milovidov
6d34f24605
Merge branch 'master' into complex_key_direct
2020-05-17 11:55:01 +03:00
alexey-milovidov
103f66e13f
Merge pull request #10968 from ClickHouse/fix_database_atomic_terminate_called
...
Fix exception from destructor in DatabaseAtomic
2020-05-17 11:45:37 +03:00
Alexey Milovidov
d1d070fa8d
More type aliases
2020-05-17 11:35:08 +03:00
Alexey Milovidov
6029b6d7bd
Added REAL; remove Int1/2/4; remove LONG because it has conflict meaning in MySQL and MS Access
2020-05-17 11:22:59 +03:00
Alexey Milovidov
c701ccbec0
Merge branch 'master' of https://github.com/Potya/ClickHouse into Potya-master
2020-05-17 11:19:37 +03:00
alexey-milovidov
1bceb48e65
Merge pull request #10920 from ClickHouse/fix-notNullIn-with-null
...
Fix not null in with null
2020-05-17 11:16:43 +03:00
alexey-milovidov
7ee35f102d
Merge pull request #10867 from azat/dist-INSERT-load-balancing
...
Respect prefer_localhost_replica/load_balancing on INSERT into Distributed
2020-05-17 11:11:35 +03:00
Alexey Milovidov
7e7fd41266
Fix build + improvement
2020-05-17 11:00:10 +03:00
Alexey Milovidov
157d0b612c
Merge branch 'random_fixed_string_function' of https://github.com/xolm/ClickHouse into xolm-random_fixed_string_function
2020-05-17 10:54:48 +03:00
Alexey Milovidov
7971f62776
Fix test
2020-05-17 10:47:53 +03:00
alexey-milovidov
2ec9d1e9ab
Merge pull request #10512 from ClickHouse/fix-ubsan-decimal-parse
...
Fix UBSan report in Decimal parse
2020-05-17 10:46:03 +03:00
Alexey Milovidov
c33373f7fb
Minor modification
2020-05-17 10:43:23 +03:00
Alexey Milovidov
f2d438b79f
Implement max_rows_to_sort again
2020-05-17 10:27:55 +03:00
Alexey Milovidov
de8120d69a
Improvement; added a test
2020-05-17 10:17:54 +03:00
Alexey Milovidov
c06995c03c
Whitespaces
2020-05-17 09:47:53 +03:00
alexey-milovidov
5297d1e86a
Merge pull request #10928 from vitlibar/check-access-once-for-dictget
...
dictGet() checks access once
2020-05-17 09:27:59 +03:00
alexey-milovidov
421eb6df8f
Merge pull request #10970 from ClickHouse/try-fix-use-after-free-mergetree
...
Try to fix use-after-free error in MergeTree
2020-05-17 09:09:45 +03:00
alexey-milovidov
a3346e9331
Merge pull request #10912 from ClickHouse/static-mutate
...
Static mutate
2020-05-17 09:05:35 +03:00
alexey-milovidov
261410ff58
Merge pull request #10829 from ClickHouse/variance-nonnegative
...
Ensure that variance is nonnegative
2020-05-17 09:04:27 +03:00
alexey-milovidov
ca1ded9124
Merge pull request #10937 from ClickHouse/input-format-use-header-by-default
...
Enable input_format_with_names_use_header by default
2020-05-17 09:00:05 +03:00
Alexey Milovidov
397859ccb8
Fix error
2020-05-17 08:45:20 +03:00
Alexey Milovidov
f4ac1eec04
Merge branch 'master' into quota-key-in-client
2020-05-17 08:15:13 +03:00
alexey-milovidov
7a220b7659
Update DataTypesDecimal.cpp
2020-05-17 08:12:33 +03:00
Andrei Nekrashevich
c4ff7eec01
fix
2020-05-17 07:49:41 +03:00
Alexey Milovidov
9fcfe5fb14
Better exception message and error code for ALTER of key column #9078
2020-05-17 07:46:25 +03:00
Andrei Nekrashevich
675509ed23
Added function randomStringUTF8
2020-05-17 07:43:53 +03:00
alexey-milovidov
0fd0711b51
Merge pull request #10910 from filimonov/kafka_drop_hang_fix
...
Fix for the hang during deletion of engine=Kafka
2020-05-17 07:13:54 +03:00
Alexey Milovidov
88ee76186b
Try to fix use-after-free error in MergeTree
2020-05-17 07:12:33 +03:00
alexey-milovidov
0d76091fd9
Merge pull request #10940 from azat/dist-send-partially-written-read-fix
...
Avoid sending partially written files by the DistributedBlockOutputStream
2020-05-17 06:53:51 +03:00
Alexey Milovidov
a5d35bfdfb
Better code
2020-05-17 06:18:52 +03:00
Alexey Milovidov
0636ea9f38
Add overflow check in Decimal parse
2020-05-17 06:16:58 +03:00
Alexey Milovidov
b156ac3cc1
Merge branch 'master' into fix-ubsan-decimal-parse
2020-05-17 05:42:24 +03:00
Alexey Milovidov
2df8c4f62e
Merge branch 'master' into input-format-use-header-by-default
2020-05-17 05:40:01 +03:00
Alexey Milovidov
3320fdce57
Fix error
2020-05-17 05:39:02 +03:00
alexey-milovidov
19b4e68ecf
Merge pull request #10953 from azat/write-after-close
...
[RFC] Add an assert() in case of write into a file after close
2020-05-17 05:05:05 +03:00
Alexey Milovidov
7df4748753
Merge branch 'master' into variance-nonnegative
2020-05-17 05:00:59 +03:00
alexey-milovidov
ce8e3e478e
Merge pull request #10927 from azat/gcc10-build-fix
...
gcc10 unbundled build fixes
2020-05-17 04:57:42 +03:00
Alexander Tokmakov
791ccd8b05
never throw from destructor
2020-05-17 04:01:26 +03:00
alexey-milovidov
2e2ef08619
Merge pull request #10967 from myrrc/gtest-fix
...
gtest macro find fix
2020-05-17 03:49:01 +03:00
alexey-milovidov
b6b1947de0
Merge pull request #10964 from ObjatieGroba/bugfix_raw_column_size
...
Fix incorrect Column byte size
2020-05-17 03:33:10 +03:00
myrrc
a56aba0211
gtest macro find fix
2020-05-17 02:38:30 +03:00
Andrey Skobtsov
cae41826a8
Merge branch 'master' into perf_events_metrics
...
# Conflicts:
# src/Common/ThreadProfileEvents.cpp
# src/Common/ThreadProfileEvents.h
# src/Common/ThreadStatus.cpp
# src/Common/ThreadStatus.h
2020-05-17 00:21:22 +03:00
Gleb Novikov
1a25ac6e1f
Merge branch 'master' into refactor-reservations
2020-05-16 23:34:45 +03:00
Gleb Novikov
45b84d491e
small fixes of review remarks
2020-05-16 23:31:17 +03:00
Nikolai Kochetov
d948fd61d8
try fix tests.
2020-05-16 23:15:19 +03:00
Nikolai Kochetov
caab379602
Merge pull request #10932 from ClickHouse/pulling-executor
...
Add PullingPipelineExecutor.
2020-05-16 23:09:18 +03:00
Igor Mineev
ce451bf396
Fix incorrect Column byte size
2020-05-16 23:06:32 +03:00
Alexey Milovidov
e0aaddb262
Fixed error
2020-05-16 22:55:38 +03:00
Alexey Milovidov
a9f64b4c1c
Ensure that the variance is nonnegative
2020-05-16 22:55:38 +03:00
alesapin
d0b56a4c7d
Merge pull request #10887 from ClickHouse/vzakaznikov-add_alter_rename_column_to_distributed
...
Vzakaznikov add alter rename column to distributed
2020-05-16 12:54:32 +03:00
alesapin
be4037abb5
Merge pull request #10895 from ClickHouse/fix_multiple_renames
...
Fix error in multiple rename commands in a single query.
2020-05-16 12:54:04 +03:00
Nikolai Kochetov
7309cbbfda
Try fix build.
2020-05-16 10:23:59 +03:00
Nikolai Kochetov
c957154fef
Merge pull request #10952 from ClickHouse/fix-distributed-queries-incompatibility-19.16-20.1
...
Fix incompatibility of two-level aggregation between 19.16 and 20.1
2020-05-16 10:17:15 +03:00
Azat Khuzhin
ec1aff245a
Add an assert() in case of write into a file after close
2020-05-16 01:13:15 +03:00
Azat Khuzhin
2498041cc1
Avoid sending partially written files by the DistributedBlockOutputStream
2020-05-16 01:00:42 +03:00
Azat Khuzhin
c059ee0085
Use is_trivial+is_standard_layout over is_pod (later is deprecated)
2020-05-16 00:00:38 +03:00
Azat Khuzhin
b7d46fe979
Add missing headers for libstdc++ from gcc10
2020-05-16 00:00:38 +03:00
tavplubix
cc4ddfd89e
Merge pull request #10901 from ClickHouse/merging_10554
...
Merging #10554
2020-05-15 23:23:02 +03:00
Mikhail Filimonov
405cce2c53
Another variant of fix. It looks like we do not need destructor at all
2020-05-15 22:19:21 +02:00
alexey-milovidov
5898f611da
Merge pull request #10861 from traceon/contrib-openldap
...
Add OpenLDAP third-party library integration (system or contrib/build)
2020-05-15 23:13:23 +03:00
Nikolai Kochetov
8c2d0aa7c0
Fix comment.
2020-05-15 22:30:41 +03:00
Nikolai Kochetov
fb38c2a30b
Remove experimental_use_processors setting, part 1. ( #10924 )
...
Remove experimental_use_processors setting, part 1.
2020-05-15 22:28:10 +03:00
Dmitry
a597e62d3b
nested_columns_holder is not destoyed
2020-05-15 22:27:18 +03:00
Nikolai Kochetov
5e7a35bbae
Try simplify code.
2020-05-15 22:19:20 +03:00
Alexey Milovidov
485d37b043
Fix incompatibility of two-level aggregation between 19.16 and 20.1
2020-05-15 22:09:32 +03:00
Nikolai Kochetov
6aea9c9a21
Tru fix build.
2020-05-15 21:55:30 +03:00
Nikolai Kochetov
b8052f512a
try fix tests.
2020-05-15 20:40:11 +03:00
Nikolai Kochetov
c4a07812f7
Try fix build.
2020-05-15 18:48:19 +03:00
alesapin
a504db3451
Fix typo
2020-05-15 18:11:13 +03:00
alesapin
97c2e549be
Merge pull request #10865 from azat/dist-dir-mon-fix
...
Fix ENOENT exception on current_batch.txt in DirectoryMonitor
2020-05-15 18:05:48 +03:00
Anton Popov
11b4bc7189
Merge pull request #10889 from CurtizJ/tuple-literal
...
Fix backward compatibility with tuples and distributed.
2020-05-15 15:39:03 +03:00
Vitaly Baranov
d92ac9ea47
Merge branch 'master' into RBAC-10
2020-05-15 14:12:43 +03:00
alesapin
ef1c7da4af
Merge pull request #10757 from ClickHouse/fix-parallel-mv
...
Fix parallel MV
2020-05-15 14:03:09 +03:00
Alexander Kuzmenkov
500b9bac03
fix config prefix
2020-05-15 13:48:55 +03:00
alesapin
26606dd640
Fix polymorphic parts
2020-05-15 13:36:35 +03:00
Nikolai Kochetov
3537c1a65e
Added comment.
2020-05-15 13:26:24 +03:00
Nikolai Kochetov
af0328bf30
Fix log tables.
2020-05-15 13:17:07 +03:00
Nikolai Kochetov
70ce0149b1
Try fix build.
2020-05-15 13:10:13 +03:00
Nikolai Kochetov
ad42ba09c8
Fix log tables.
2020-05-15 12:48:57 +03:00
Артем Стрельцов
33d4ae89f2
fixed yandex synchonization error
2020-05-15 12:16:01 +03:00
Nikolai Kochetov
34ce5bec48
Try fix tests.
2020-05-15 12:06:21 +03:00
Артем Стрельцов
be731ad62e
Merge branch 'master' of github.com:yandex/ClickHouse into complex_key_direct
2020-05-15 12:01:09 +03:00
Nikolai Kochetov
d84be03268
Fix tests.
2020-05-15 11:17:40 +03:00
Nikolai Kochetov
0344c9d9dc
Fix build.
2020-05-15 11:09:50 +03:00
alexey-milovidov
985b83a228
Merge pull request #10903 from ClickHouse/lexer-unicode-whitespaces
...
Support for unicode whitespaces in queries.
2020-05-15 10:31:59 +03:00
Alexey Milovidov
7a20d95339
Enable input_format_with_names_use_header by default
2020-05-15 10:30:26 +03:00
Vitaly Baranov
201c88f64f
Get dictionary and check access rights only once per each call of any function reading external dictionaries.
2020-05-15 03:14:14 +03:00
Artem Zuikov
8e8a2a17d6
build fixes
2020-05-15 03:01:31 +03:00
Ri
fc7afaa639
Bitonic sort on GPU (OpenCL) ( #10232 )
2020-05-15 03:01:14 +03:00
Nikolai Kochetov
681955661f
Add PullingPipelineExecutor.
2020-05-15 00:03:38 +03:00
Ivan
21ce8dbbc3
Fix CH-over-YDB build ( #10921 )
2020-05-14 22:56:10 +03:00
Nikolai Kochetov
83d420e608
Try fix tests.
2020-05-14 21:21:35 +03:00
Alexander Kuzmenkov
a11c9a3a22
Update MongoDBDictionarySource.cpp
2020-05-14 21:18:37 +03:00
Alexander Kuzmenkov
8e532a5d1f
Update MongoDBDictionarySource.cpp
2020-05-14 21:17:15 +03:00
Alexey Milovidov
81a5d02628
Fix annoying "Arcadia" build
2020-05-14 20:05:55 +03:00
alexey-milovidov
519e6ce6f3
Merge pull request #10832 from ClickHouse/better-sanitizer
...
Better cooperation with sanitizers
2020-05-14 20:01:49 +03:00
alesapin
8eb27f6f13
Fix rename with compact parts
2020-05-14 19:56:13 +03:00
Nikolai Kochetov
b556b7c76e
Fix notNullIn with NULL argument.
2020-05-14 17:21:38 +03:00
Dmitry
bef37517b8
fixes after reivew 2
2020-05-14 17:20:49 +03:00
potya
dc4af074b2
Remove REAl and INT8, add some tests
2020-05-14 17:11:59 +03:00
Dmitry
3221c7de85
fixes previous changes 2
2020-05-14 16:56:17 +03:00
tavplubix
a47bf09337
Merge pull request #10859 from ClickHouse/fix_watch_livelock_with_database_atomic
...
Fix livelock with WATCH queries and DatabaseAtomic
2020-05-14 15:11:41 +03:00
Alexander Kuzmenkov
99d50063f3
Support MongoDB URI
2020-05-14 14:36:49 +03:00
Vitaly Baranov
bf2f38881d
Fix compilation.
2020-05-14 14:12:20 +03:00
Vitaly Baranov
c30587196a
Add system tables for users, roles and grants.
2020-05-14 14:12:20 +03:00
Vitaly Baranov
b1f362b2dc
Add system table for access types.
2020-05-14 14:12:20 +03:00
Vitaly Baranov
a14f322723
Add system tables for settings profiles.
2020-05-14 14:12:15 +03:00
alesapin
316773d853
Better comment
2020-05-14 13:30:53 +03:00
Mikhail Filimonov
6499d702f9
After review fixes
2020-05-14 12:15:38 +02:00
Nikolai Kochetov
4d22374f24
Merged with master.
2020-05-14 12:06:15 +03:00
Nikolai Kochetov
d68c385d35
Remove old code.
2020-05-14 11:59:15 +03:00
Nikolai Kochetov
471993b03f
Fix build.
2020-05-14 11:56:27 +03:00
Mikhail Filimonov
a1013f1e71
Fix for the hang during deletion of engine=Kafka
2020-05-14 10:38:02 +02:00
Nikolai Kochetov
4d0503f021
Make IColumn::mutate() static.
2020-05-14 11:30:18 +03:00
Nikolai Kochetov
f65305878b
Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues ( #10890 )
...
* Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues
* Try fix build.
* Try fix build.
* Fix build.
* Make convertToValues static.
* fix build.
* Remove const casts.
* Added comment.
* Fix build.
* Fix build.
* Add test.
* Fix test.
2020-05-14 10:59:14 +03:00
Azat Khuzhin
52d73c7f45
Fix prefer_localhost_replica=0 and load_balancing for Distributed INSERT
2020-05-14 03:29:03 +03:00
Azat Khuzhin
e1d4837753
Fix list of possible nodes for Distributed INSERT for internal_replication=0
2020-05-14 03:28:08 +03:00
alexey-milovidov
f8195a577c
Merge pull request #10744 from Jokser/s3-proxy-resolver
...
S3 with proxy resolver
2020-05-14 02:19:10 +03:00
Alexey Milovidov
770cc9e863
Fix "Arcadia" build that is using obsolete version of C++ standard
2020-05-14 02:12:16 +03:00
Azat Khuzhin
cdf3845e43
Respect load_balancing in DirectoryMonitor, to fix w/o internal_replication
2020-05-14 01:33:25 +03:00
Denis Glazachev
7b1399795d
Merge commit '1a4ce6b3c806f77e548dacf4207e06542231fa19' into contrib-openldap
...
* commit '1a4ce6b3c806f77e548dacf4207e06542231fa19':
DOCS-628: Stable versions of statistical functions (#10848 )
Allow expected number of failures in performance test
Fix test
Fix LIVE VIEW tests
Fix bad test
Fix exception message after server shutdown (#10841 )
Preparation for MSan UBSan stress tests
Improve tests for ALTER MOVE
Fix bad tests
Fix data rot @blinkov
Documentation: fix broken link
Fix infinite loop in test
2020-05-14 01:39:12 +04:00
Alexey Milovidov
c3cea85b10
Support for unicode whitespaces in Lexer
2020-05-14 00:31:57 +03:00
alexey-milovidov
623b2e5a43
Merge pull request #10849 from ClickHouse/fix_optimize_and_alter_hangs
...
Fix mutations and OPTIMIZE hangs when replica becomes inactive
2020-05-13 23:41:13 +03:00
alexey-milovidov
63c6eb1a37
Update ZooKeeper.h
2020-05-13 23:40:54 +03:00
Nikolai Kochetov
496d90b613
Merge pull request #10860 from CurtizJ/pk-function
...
Fix sample with final (addition to #10715 )
2020-05-13 23:04:25 +03:00
Alexander Tokmakov
ef52acdbde
Merge branch 'master' into merging_10554
2020-05-13 21:30:26 +03:00
alesapin
ab760846c2
Fix some rename cases
2020-05-13 20:43:30 +03:00
Vitaly Baranov
5b84121d81
Improve system tables for quotas. Remove function currentQuota().
2020-05-13 19:40:48 +03:00
Vitaly Baranov
e64e2ebdf6
Improve system table for row policies. Remove function currentRowPolicies().
2020-05-13 19:40:48 +03:00
Vitaly Baranov
dd8b29b4fb
Use enum Type instead of std::type_index to represent the type of IAccessEntity.
...
This change simplifies handling of access entities in access storages.
2020-05-13 19:40:48 +03:00
Vitaly Baranov
b6fe726777
Rename row policy's 'name' to 'short_name', 'full_name' to 'name'.
...
This change simplifies the interface of IAccesEntity.
2020-05-13 19:40:48 +03:00
Vitaly Baranov
6f15a0d443
Improve the function range() to allow iterating through enum values.
2020-05-13 19:40:48 +03:00
Vitaly Baranov
c7213ab607
Use boost::flat_set instead of vector to store current and enabled roles.
2020-05-13 19:40:48 +03:00
Vitaly Baranov
b93a15ef36
Refactoring of settings profiles to store setting_index instead of setting_name.
2020-05-13 19:40:48 +03:00
Vitaly Baranov
66e348a93f
Refactoring of getting information about access rights.
2020-05-13 19:40:33 +03:00
Anton Popov
84d4ad4315
add some comments
2020-05-13 19:00:06 +03:00
potya
1ceabf1e10
at start
2020-05-13 18:49:17 +03:00
alexey-milovidov
a65601e410
Merge pull request #10874 from hczhcz/patch-0513
...
Support large tuples in function tupleElement
2020-05-13 18:42:10 +03:00
alexey-milovidov
0433d9c6fc
Merge pull request #10870 from azat/fix-SIGSEGV-in-hash-table-for-string
...
Fix SIGSEGV in StringHashTable (if such key does not exist)
2020-05-13 18:40:28 +03:00
Dmitry
84be0fe847
fixes previous changes
2020-05-13 17:21:22 +03:00
Anton Popov
d13a11b421
fix backward compatibility with tuples and distributed
2020-05-13 17:14:05 +03:00
Dmitry
bbe0245b9d
changes after review #1
2020-05-13 16:49:10 +03:00
tavplubix
39518fe725
trigger CI
2020-05-13 16:45:39 +03:00
alesapin
2316851be6
Merge pull request #10855 from ClickHouse/get_rid_of_strange_fields
...
Better comments in IStorage interface
2020-05-13 15:59:50 +03:00
alesapin
352c402cf2
Merge branch 'add_alter_rename_column_to_distributed' of https://github.com/vzakaznikov/ClickHouse into vzakaznikov-add_alter_rename_column_to_distributed
2020-05-13 14:14:23 +03:00
alesapin
f209052519
Better comments
2020-05-13 14:04:27 +03:00
alesapin
377ef6535d
Merge pull request #10847 from ClickHouse/fix_alter_rename_and_constraints
...
Fix constraints after column rename
2020-05-13 11:09:55 +03:00
Alexander Tokmakov
032197b015
fix alter and optimize hangs when replica becomes inactive
2020-05-13 10:06:57 +03:00
hcz
4a4914361c
Support large tuples in function tupleElement
2020-05-13 11:53:40 +08:00
alesapin
13c8ffc0c9
Fix exception message after server shutdown ( #10841 )
...
* After shutdown cancel background logs pulling after task were deleted from pool
* Fix comment
* Cancel with lock
* Remove whitspace
2020-05-13 06:35:43 +03:00
Azat Khuzhin
e102ad373a
Fix SIGSEGV in StringHashTable if such key is not exists
2020-05-13 03:40:05 +03:00
Andrei Nekrashevich
767a790fce
fix issues
2020-05-13 03:20:41 +03:00
Dmitry
259de4aa95
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-13 03:16:15 +03:00
Dmitry
152a636c23
fix bad merge
2020-05-13 03:13:01 +03:00
Артем Стрельцов
fd16838150
fixed style and build fails
2020-05-13 01:52:56 +03:00
Andrei Nekrashevich
1d52c1b9d0
Added function randomFixedString
2020-05-13 01:48:55 +03:00
Azat Khuzhin
085bafad05
Handle prefer_localhost_replica on INSERT into Distributed
...
Right now it will issue remote send even if finally the local replica
will be selected - not good I guess.
This should also fix load_balancing.
2020-05-13 01:38:03 +03:00
Azat Khuzhin
889f54b549
Fix ENOENT exception on current_batch.txt in DirectoryMonitor
...
current_batch.txt will not exist if there was no send, this is the case
when all batches that was pending has been marked as pending.
2020-05-13 01:23:18 +03:00
Denis Glazachev
36cb24377b
Merge branch 'master' into contrib-openldap
...
* master: (204 commits)
DOCS-289: randConstant (#10838 )
Update performance_comparison.md
fix docs build
Adjust ld+json images, remove feather icons (#10843 )
[docs] faster local/debug build (#10840 )
CLICKHOUSE-4862: some markdown fixes @ ru mergetree.md (#10835 )
CLICKHOUSE-4862: fix link (#10836 )
Some fixes at ru merge-tree-settings.md (#10837 )
Fix MSan failure in cache dictionary
Fix double whitespace
Additional assert in ColumnVector
Fix paths in compiler error messages #10434
Fix "Arcadia" build
Fix style check in Block::sortColumns() (sigh)
Sort iterators to avoid extra std::string creation in Block::sortColumns()
Optimize Block::sortColumns()
Better DNS exception message
Fix logical error in convertFieldToType
Make order of columns strict in Block::sortColumns()
Add a test for INSERT into Buffer() with different order of columns (via MV)
...
2020-05-13 00:29:09 +04:00
Denis Glazachev
acd8cfc5d2
Added contrib/openldap submodule
...
Added OpenLDAP find/detection cmake scripts
Added integration for OpenLDAP Linux and Darwin x86_64 platforms (following OpenSSL integration approach)
2020-05-12 23:19:15 +04:00
Anton Popov
67213b8ad4
fix sample with final
2020-05-12 21:23:40 +03:00
Alexander Tokmakov
5ffb7372af
fix livelock with watch queries and database atomic
2020-05-12 21:10:10 +03:00
alesapin
262b6287ab
Fix clang-tidy warnings
2020-05-12 19:38:11 +03:00
alexey-milovidov
6053f012b8
Merge pull request #10833 from ClickHouse/column-vector-additional-assert
...
Additional assert in ColumnVector
2020-05-12 18:00:22 +03:00
Dmitry
c4295d97f9
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-12 17:57:32 +03:00
Dmitry
3ec80b5531
now aggregates in parallel
2020-05-12 17:50:13 +03:00
Nikolai Kochetov
0ef9b20823
Try fix sample final.
2020-05-12 17:37:19 +03:00
Pavel Kovalenko
506634786e
Handle exceptions in ProxyResolverConfiguration properly.
2020-05-12 17:34:37 +03:00
potya
a6ea36162c
Remove useless code
2020-05-12 16:48:39 +03:00
potya
82b3bc1683
Provide data type symonims
2020-05-12 16:29:20 +03:00
potya
723e61c410
go back
2020-05-12 16:19:38 +03:00
Артем Стрельцов
c860f9f2db
added exception for not supporting selective load to Direct Dictionary
2020-05-12 15:41:47 +03:00
Артем Стрельцов
433cd6b993
bug fixes
2020-05-12 15:39:44 +03:00
alesapin
2b51b7aa2a
Remove redundant using
2020-05-12 14:47:59 +03:00
alesapin
979779e06f
Fix constraints after column rename
2020-05-12 14:26:44 +03:00
Pavel Kovalenko
8bea42e250
Fix includes in ProxyResolverConfiguration.h
2020-05-12 12:23:18 +03:00
Nikolai Kochetov
5d13327ad8
Try fix merge with master.
2020-05-12 12:22:01 +03:00
Nikolai Kochetov
46137881b8
Fix build.
2020-05-12 11:34:13 +03:00
Alexey Milovidov
d38e6b6840
Fix MSan failure in cache dictionary
2020-05-12 08:43:42 +03:00