alexey-milovidov
bebc6f82fc
Merge pull request #10678 from livace/add_geo_types
...
Add geo data types Point and Polygon
2020-05-31 17:25:15 +03:00
alexey-milovidov
97d9f218af
Merge pull request #11296 from ClickHouse/fix-false-too-slow
...
Fix bug with Throttler and query speed estimation
2020-05-31 14:18:29 +03:00
Denis Glazachev
e8144976fe
Merge branch 'master' into ldap-per-user-authentication
2020-05-31 15:09:16 +04:00
Alexey Milovidov
25f941020b
Remove namespace pollution
2020-05-31 00:57:37 +03:00
Alexey Milovidov
5aff138956
Preparation for structured logging
2020-05-31 00:35:52 +03:00
Dmitry
4b0d32f026
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-31 00:21:02 +03:00
alexey-milovidov
3eea042d16
Merge pull request #11243 from ClickHouse/remove-experimental-use-processors-flag-4
...
Remove some code.
2020-05-30 21:05:14 +03:00
Alexey Milovidov
421a62e978
Merge branch 'master' into fix-false-too-slow
2020-05-30 19:36:55 +03:00
Alexey Ilyukhov
3b78b010e5
Add empty line
2020-05-30 18:30:09 +03:00
Alexey Ilyukhov
b84c8fcbd8
Add allow_experimental_geo_types; add test
2020-05-30 18:26:19 +03:00
Alexey Milovidov
496fed5ed3
Remove "system_tables_lazy_load" option
2020-05-30 17:24:09 +03:00
Alexey Milovidov
e4a329a47f
Checking max execution speed on all nodes #5732
2020-05-29 23:37:37 +03:00
tavplubix
a4e40fb5f2
Merge pull request #11269 from ClickHouse/add_context_to_idatabase_methods
...
Add context to IDatabase methods
2020-05-29 21:15:35 +03:00
alexey-milovidov
1abaca5174
Merge pull request #11276 from ClickHouse/fix-constraints-and-insert-performance
...
Fix constraints for DEFAULT fields; fix constraints for temporary tables; improve performance of INSERT for small blocks.
2020-05-29 20:04:59 +03:00
Anton Popov
e6a9a33010
Merge pull request #11183 from ClickHouse/consistent_metadata2
...
Refactor TTLs metadata (move them to IStorage).
2020-05-29 20:00:11 +03:00
Nikolai Kochetov
f7e0e87c7d
Try fix tests.
2020-05-29 19:35:09 +03:00
alexey-milovidov
304c6a1ee3
Merge pull request #11278 from vitlibar/fix-crash-set-default-role-with-wrong-args
...
Fix crash when SET DEFAULT ROLE is called with wrong arguments.
2020-05-29 16:24:42 +03:00
Alexander Kuzmenkov
6e3bbf83e3
thread-local perf events
2020-05-29 16:04:32 +03:00
Nikolai Kochetov
bd814d83de
Try fix tests.
2020-05-29 16:04:03 +03:00
alesapin
748e8fbfc3
Merge with master
2020-05-29 14:03:11 +03:00
alesapin
0170250c5e
Merge branch 'master' into consistent_metadata2
2020-05-29 13:48:09 +03:00
Nikolai Kochetov
bbb57b7789
Try fix tests.
2020-05-29 13:31:19 +03:00
Vitaly Baranov
2d12b4d3ac
Fix crash when SET DEFAULT ROLE is called with wrong arguments.
2020-05-29 09:54:27 +03:00
Denis Glazachev
f9d4136792
Merge branch 'master' into ldap-per-user-authentication
2020-05-29 10:52:44 +04:00
Alexey Milovidov
23d7947549
Fix constraints for DEFAULT fields; fix constraints for temporary tables; improve performance of INSERT for small blocks
2020-05-29 05:08:48 +03:00
Alexander Tokmakov
c071e0a473
add context to DatabaseCatalog methods
2020-05-29 02:01:18 +03:00
Alexander Tokmakov
3cff070f89
add context to IDatabase methods
2020-05-28 23:10:45 +03:00
Vitaly Baranov
d7cc703233
Merge pull request #11080 from vitlibar/add-authentication-type-to-system-users
...
Show authentication type in system.users table
2020-05-28 20:20:41 +03:00
alesapin
860dc2c814
Merge with consistent_metadata2
2020-05-28 19:45:51 +03:00
Nikolai Kochetov
534e55f5b5
try fix tests.
2020-05-28 19:01:12 +03:00
alesapin
61aff798d3
Compileable code
2020-05-28 18:33:44 +03:00
Nikolai Kochetov
ea3f638b30
Try fix tests.
2020-05-28 17:11:36 +03:00
Nikolai Kochetov
28cc6d9c6b
Try fix tests.
2020-05-28 17:03:32 +03:00
Nikolai Kochetov
030aa6eac4
Fix build.
2020-05-28 16:57:01 +03:00
alesapin
f5e5290c0a
Better naming
2020-05-28 16:09:03 +03:00
alesapin
26a9829e04
Indices description as vector
2020-05-28 15:47:17 +03:00
alesapin
52ca6b2051
I'm able to build it
2020-05-28 15:37:05 +03:00
Nikolai Kochetov
557e531ff3
Fix tests.
2020-05-28 15:06:31 +03:00
Nikolai Kochetov
2a9bcfbcd1
Fix build.
2020-05-28 14:00:12 +03:00
Nikolai Kochetov
da0052858d
Fix build.
2020-05-28 13:57:04 +03:00
Nikolai Kochetov
6efa4d1d4f
Fix style.
2020-05-28 13:41:59 +03:00
Nikolai Kochetov
5572f6c276
Fix style.
2020-05-28 12:07:40 +03:00
Nikolai Kochetov
1fa795988f
Remove some code.
2020-05-28 11:24:59 +03:00
Vitaly Baranov
98172deffc
Show authentication type in table system.users and while executing SHOW CREATE USER query.
2020-05-28 08:34:10 +03:00
Nikolai Kochetov
242ba74872
Merge pull request #11148 from ClickHouse/remove-experimental-use-processors-flag-3
...
Insert select with QueryPipeline
2020-05-28 07:47:59 +03:00
Denis Glazachev
2863de750e
Merge branch 'master' into ldap-per-user-authentication
2020-05-28 01:30:52 +04:00
Denis Glazachev
d74f1357d4
Add LDAP authentication support
2020-05-28 01:06:33 +04:00
Nikolai Kochetov
2dcee3db5c
Merge branch 'master' into remove-experimental-use-processors-flag-3
2020-05-27 21:25:34 +03:00
Nikolai Kochetov
e93882c977
Insert select using PipelineExecutor.
2020-05-27 21:20:26 +03:00
Alexander Kuzmenkov
db84f0e892
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-27 16:30:13 +03:00
potya
df13694a03
Fix style errors
2020-05-27 15:32:39 +03:00
potya
d5840688a1
Fix style errors
2020-05-27 15:22:12 +03:00
Nikolai Sorokin
6585571ee2
Fix bug
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
c6541b1dad
Up test id; Fix clang build
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
66496dc7e3
Fix trailing spaces
2020-05-27 12:53:15 +03:00
Nikolai Sorokin
61974e0047
TTL Expressions WHERE and GROUP BY draft
2020-05-27 12:53:15 +03:00
alesapin
c7cda399c7
Merge branch 'master' into consistent_metadata2
2020-05-27 12:51:56 +03:00
Dmitry
38c585f867
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-26 21:27:50 +03:00
Alexander Kuzmenkov
83aaea7b0f
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-26 18:29:42 +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
7142e68d7a
fixup
2020-05-26 08:54:04 +03:00
Nikita Mikhaylov
507d98b24b
Merge pull request #11006 from nikitamikhaylov/MorozovVasily-UpdatePermutation
...
Merging IColumn::updatePermutation
2020-05-26 01:42:41 +04:00
potya
1fbcdbb58a
Fix error
2020-05-25 22:09:14 +03:00
potya
c9b1d6a6cc
Merge remote-tracking branch 'origin/null_data_mods' into null_data_mods
...
# Conflicts:
# src/Interpreters/InterpreterCreateQuery.cpp
2020-05-25 22:03:24 +03:00
potya
2974d81b2e
Fix erros and add test
2020-05-25 21:58:30 +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
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
Artem Zuikov
04322b7b87
remove stale unit-test
2020-05-25 15:06:14 +03:00
potya
70fac9c068
Fix problems
2020-05-25 14:22:52 +03:00
potya
1ae82df3c0
at start
2020-05-25 14:20:33 +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
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
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
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
bab24879e9
Progress on task
2020-05-24 00:16:05 +03:00
Alexey Milovidov
d2621fee30
Progress on task
2020-05-23 23:57:48 +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
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
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
9d24908e53
Progress on task
2020-05-23 20:52:11 +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
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
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
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
tavplubix
6ece9649f1
Merge pull request #11151 from naorlov/CLICKHOUSE-7224
...
Add `FailedQuery`, `FailedSelectQuery` and `FailedInsertQuery`
2020-05-23 18:47:44 +03:00
potya
bee14177cd
Fix NOT nULL modifier
2020-05-23 17:32:47 +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
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
Nikita Orlov
09255b7c46
issue-7224 Codestyle changes
2020-05-23 02:37:14 +03:00
Nikita Orlov
dffd15f643
issue-7224 Add failed Insert and Select query counters to ProfileEvents
2020-05-23 01:00:15 +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
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
f026fa7de1
Rename PartDestinationType to DataDestionationType, because there is no part-specific information
2020-05-22 16:29:33 +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
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
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
Dmitry
47778c0259
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-21 23:45:12 +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
alesapin
59b3bc0c05
Merge branch 'master' into fix_deadlock_system_logs_startup
2020-05-21 22:57:52 +03:00
alesapin
37fa26971e
boop ci
2020-05-21 21:49:31 +03:00
alesapin
87eab514fb
Merge branch 'master' into consistent_metadata
2020-05-21 18:54:52 +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
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
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
Alexander Kuzmenkov
9e410444e7
Better error messages about joins
2020-05-20 21:58:20 +03:00
Andrey Skobtsov
4816abed28
Settings for measuring only particular metrics via perf events
2020-05-20 21:25:49 +03:00
potya
8a9064cef2
at start
2020-05-20 21:23:35 +03: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
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
Artem Zuikov
9b38324028
fix JOIN with PREWHERE with second analyze() ( #11051 )
2020-05-20 12:29:23 +03:00
potya
d8bb98bbcf
Add NULL and NOY NULL modifiers for data types in create query
2020-05-20 04:22:32 +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
Nikolai Kochetov
6109e87aed
Try fix compatibility.
2020-05-19 18:40:15 +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
alesapin
a416813597
Merge pull request #10777 from NanoBjorn/refactor-reservations
...
VolumePtr instead of DiskPtr in MergeTreeData*
2020-05-19 13:27:11 +03:00
Azat Khuzhin
e1fbf82d0c
Disable system_tables_lazy_load by default
...
Refs: #9642
Refs: #10359
2020-05-19 02:41:18 +03:00
Artem Zuikov
97c7447130
Bitonic sort improvements ( #10934 )
2020-05-19 00:41:23 +03:00
Nikolai Kochetov
075ccceee9
Fix tests.
2020-05-19 00:38:28 +03:00
Alexander Kuzmenkov
a54773f947
Add more logs to debug trace_log overflow
2020-05-18 22:33:12 +03:00
Nikolai Kochetov
0e48cb1f80
Removed allow_processors flag from executeQuery().
2020-05-18 16:55:07 +03:00
Vasily Morozov
876fff1938
fix build and style
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
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
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
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
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
f2d438b79f
Implement max_rows_to_sort again
2020-05-17 10:27:55 +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
f4ac1eec04
Merge branch 'master' into quota-key-in-client
2020-05-17 08:15:13 +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
Azat Khuzhin
b7d46fe979
Add missing headers for libstdc++ from gcc10
2020-05-16 00:00:38 +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
Vitaly Baranov
d92ac9ea47
Merge branch 'master' into RBAC-10
2020-05-15 14:12:43 +03:00
Nikolai Kochetov
af0328bf30
Fix log tables.
2020-05-15 13:17:07 +03:00
Nikolai Kochetov
ad42ba09c8
Fix log tables.
2020-05-15 12:48:57 +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
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
Dmitry
3221c7de85
fixes previous changes 2
2020-05-14 16:56:17 +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
Nikolai Kochetov
4d0503f021
Make IColumn::mutate() static.
2020-05-14 11:30:18 +03:00
Azat Khuzhin
52d73c7f45
Fix prefer_localhost_replica=0 and load_balancing for Distributed INSERT
2020-05-14 03:29:03 +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
66e348a93f
Refactoring of getting information about access rights.
2020-05-13 19:40:33 +03:00
potya
1ceabf1e10
at start
2020-05-13 18:49:17 +03:00
Dmitry
84be0fe847
fixes previous changes
2020-05-13 17:21:22 +03:00
Dmitry
bbe0245b9d
changes after review #1
2020-05-13 16:49:10 +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
Alexey Milovidov
f61576fdfa
Fix logical error in convertFieldToType
2020-05-12 02:53:03 +03:00
alexey-milovidov
15e38c8b44
Merge pull request #10563 from azat/SELECT-ALIAS-CAST
...
Fix SELECT of column ALIAS which default expression type different from column type
2020-05-11 20:20:34 +03:00
Guillaume Tassery
b0df037f25
Fix when we set a LIMIT to 0
2020-05-11 19:18:07 +07:00
Guillaume Tassery
c25ffb5930
Fix with a limit of 0 for system.numbers
2020-05-11 19:09:02 +07:00
Guillaume Tassery
5b6e9f2a7e
offset_without_limitMerge branch 'master' of github.com:ClickHouse/ClickHouse into offset_without_limit
2020-05-11 16:05:44 +07:00
Guillaume Tassery
a64d44799d
newline
2020-05-11 14:13:33 +07:00
Guillaume Tassery
f67cd0d3f2
remove new line
2020-05-11 13:46:16 +07:00
Guillaume Tassery
c7dfe9e93d
cosmetic
2020-05-11 11:47:31 +07:00
Guillaume Tassery
654d6fcd26
cosmetic
2020-05-11 11:35:21 +07:00
Guillaume Tassery
802ae8948a
cosmetic
2020-05-11 10:36:52 +07:00
alexey-milovidov
afd0938b99
Merge pull request #10603 from ClickHouse/fix-mv-scalars
...
Fix mv scalars
2020-05-11 06:26:19 +03:00
Guillaume Tassery
f6fe196440
first draft fixed
2020-05-11 09:44:43 +07:00
Gleb Novikov
57b6fb6d80
Merge branch 'master' into refactor-reservations
2020-05-10 13:01:45 +03:00
Alexey Milovidov
cb08d2b910
Fix build
2020-05-10 03:04:14 +03:00
Alexey Milovidov
9ab19f98ee
Fix build
2020-05-10 02:54:04 +03:00
Alexey Milovidov
fb32dbe6ee
Enable more warnings
2020-05-10 00:44:33 +03:00
Gleb Novikov
390b39b272
VolumePtr instead of DiskPtr in MergeTreeData*
2020-05-10 00:24:15 +03:00
Nikolai Kochetov
540e1004ca
Remove useless code.
2020-05-09 21:43:16 +03:00
Nikolai Kochetov
8d6413accb
try fix tests.
2020-05-09 21:43:16 +03:00
Nikolai Kochetov
5cf705c9df
Try fix tests.
2020-05-09 21:43:16 +03:00
Nikolai Kochetov
66111a6744
Try nut update scalars for only_analyze.
2020-05-09 21:43:16 +03:00
Nikolai Kochetov
5cc0d5e537
Do not calculate subqueries when only_analyze enabled.
2020-05-09 21:43:16 +03:00
Nikolai Kochetov
884c93ed93
Do not calculate subqueries when only_analyze enabled.
2020-05-09 21:43:16 +03:00
Nikolai Kochetov
c6b9580e9e
Create local context for query analyzing in PushingToViewsBlockOutputStream.
2020-05-09 21:43:16 +03:00
Nikolai Kochetov
df17eda9c8
Try disable scalars with only_analyse flag.
2020-05-09 21:43:16 +03:00
Nikolai Kochetov
abef634d1f
Fix scalars for MV.
2020-05-09 21:43:16 +03:00
alexey-milovidov
42de5192fd
Merge pull request #10772 from azat/fix-system-logs-init
...
Avoid std::terminate in case of exception from SystemLogs::SystemLogs
2020-05-09 19:35:26 +03:00
Azat Khuzhin
c42943850f
Avoid std::terminate in case of exception from SystemLogs::SystemLogs
...
Since, at least, this will hide the real exception
2020-05-09 16:25:58 +03:00
Amos Bird
9d908f48e1
Shared build fix
2020-05-09 04:55:08 +08:00
Dmitry
0286b60ed6
return multiple blocks
2020-05-08 22:46:52 +03:00
Ivan
85d783c247
Poco contrib refactoring ( #10396 )
...
* Remove config_common.h
* Refactor libcpuid contrib
* Remove support for libcpuinfo
* Define USE_CPUID in Arcadia
* Refactor Poco libraries
2020-05-08 17:11:19 +03:00
Dmitry
015a3555c6
small fixes
2020-05-08 16:28:18 +03:00
Dmitry
e7b747b0b7
limit fixes + func(primary_key) group by works
2020-05-08 16:13:50 +03:00
Dmitry
465dfe47fc
fixed faults on LC
2020-05-07 23:13:51 +03:00
Dmitry
0883dd67d3
removed some code duplication
2020-05-07 17:54:15 +03:00
Guillaume Tassery
2e719314a3
push functional draft
2020-05-07 20:40:50 +07:00
Anton Popov
5fe74b1a3e
Merge pull request #10686 from CurtizJ/fix-nultiple-sets
...
Fix multiple usages of 'IN' operator
2020-05-07 15:39:41 +03:00
tavplubix
04a24c59dc
Add tests with DatabaseAtomic ( #10714 )
...
* add tests with DatabaseAtomic
* fix
2020-05-07 14:29:58 +03:00
alexey-milovidov
eeac7aa313
Merge pull request #10622 from kekekekule/layout_direct
...
Add direct layout for dictionaries
2020-05-07 01:05:29 +03:00
alexey-milovidov
f2705cf608
Merge pull request #10698 from ClickHouse/fix-10674
...
Do not filter totals
2020-05-06 21:30:11 +03:00
Nikolai Kochetov
c72b0a45bc
Do not filter totals.
2020-05-06 14:30:17 +03:00
Guillaume Tassery
8ce606571e
write first draft of offset clause
2020-05-06 13:50:55 +07:00
Anton Popov
19528007fd
fix multiple usages of 'IN' operator with the same set
2020-05-06 03:57:44 +03:00
Артем Стрельцов
50d2b4c26f
code review fixes & added exception in case lifetime parameter presence in config
2020-05-06 02:43:06 +03:00
Dmitry
e98c23a8cf
read in order enabled
2020-05-05 17:35:23 +03:00
alexey-milovidov
114f09cfca
Merge pull request #10666 from NanoBjorn/refactor-volume
...
Volumes and storages refactoring
2020-05-05 16:25:26 +03:00
Gleb Novikov
c637d99e07
Volumes and storages refactoring:
...
1. Moved Volume to separate file
2. Created IVolume interface and implemented current behaviour in implementation of new interface — VolumeJBOD
3. Replaced all old volume usages with new VolumeJBOD. Where it is unnecessary to have JBOD — left just IVolume.
4. Removed old Volume completely
5. Moved StoragePolicy to separated files
6. Moved DiskSelector to separated files
7. Removed DiskSpaceMonitor file
2020-05-04 23:15:38 +03:00
Alexey Milovidov
99c18c5a09
Check for suspicious codecs #4966
2020-05-04 03:11:49 +03:00
alexey-milovidov
0cdd48e468
Merge pull request #10598 from ClickHouse/sampling-memory-profiler
...
Add sampling memory profiler
2020-05-03 15:17:03 +03:00
alexey-milovidov
d9400473f9
Update ThreadStatusExt.cpp
2020-05-03 01:20:14 +03:00
alexey-milovidov
d38ea6fc1c
Merge pull request #10608 from ClickHouse/fix_drop_dns_cache
...
Improve DROP DNS CACHE
2020-05-02 22:10:58 +03:00
Alexey Milovidov
439777ef23
Allow to set memory_profiler_sample_probability per query
2020-05-01 22:17:56 +03:00
Alexey Milovidov
93c3a83af2
Remove useless code
2020-05-01 22:01:02 +03:00
Alexey Milovidov
c4b64edc14
Merge branch 'master' into sampling-memory-profiler
2020-05-01 16:47:10 +03:00
Vitaly Baranov
2528e72199
Merge pull request #10587 from vitlibar/database-with-dictionary-init-in-constructor
...
Move initialization of DatabaseWithDictionaries to constructor.
2020-05-01 14:08:53 +03:00
Alexander Tokmakov
9ca144cab9
drop access cache on DROP DNS CACHE
2020-05-01 01:29:47 +03:00
Vitaly Baranov
dd34cd73e2
Move initialization of DatabaseWithDictionaries to constructor.
2020-04-30 20:22:20 +03:00
Alexey Milovidov
db3241ccc7
Add sampling memory profiler
2020-04-30 16:30:10 +03:00
Alexey Milovidov
293ae88e7f
Add sampling memory profiler
2020-04-30 16:25:17 +03:00
alesapin
5e2afad549
Merge pull request #10477 from ClickHouse/refactor_istorage
...
Remove getColumn and hasColumn from IStorage, better virtuals.
2020-04-30 10:42:52 +03:00
alesapin
7a8380a682
Fix build
2020-04-29 19:26:01 +03:00
Potya
351d62aa83
Nothing interesting
2020-04-29 15:17:40 +03:00
alesapin
69fdf2a6a3
Review fixes and better test
2020-04-29 15:15:23 +03:00
Nikolai Kochetov
a9d63d4520
Merge pull request #10498 from vzakaznikov/insert_into_watch_from_live_view
...
Adding support for INSERT INTO table WATCH query to build streaming systems using LIVE VIEW tables
2020-04-29 12:15:54 +03:00
Azat Khuzhin
53aea23de0
Fix SELECT of column ALIAS which default expression type different from column type
2020-04-28 22:43:10 +03:00
Vitaliy Zakaznikov
664a09e55d
Simplifying code related to auto set output_format_enable_streaming option.
2020-04-28 18:37:15 +02:00
Vitaliy Zakaznikov
4749122734
Adding support to auto set output_format_enable_streaming option
...
based on the query type.
2020-04-28 17:50:50 +02:00
Artem Zuikov
0b18b6104f
add file to ya.make
2020-04-28 18:38:07 +03:00
Artem Zuikov
e34a9457e6
Improve right table insert for Partial MergeJoin on disk ( #10467 )
2020-04-28 16:55:50 +03:00
tavplubix
11c3493676
Merge pull request #10547 from ClickHouse/zhang2014/feature/ISSUES-5436
...
Merging #7572
2020-04-28 12:40:48 +03:00
Nikolai Kochetov
32baa073b5
Merge remote-tracking branch 'upstream/master' into insert_into_watch_from_live_view
2020-04-27 17:49:50 +03:00
alesapin
18c550df15
Better virtuals logic
2020-04-27 16:55:30 +03:00
alesapin
2829774105
Merge branch 'master' into refactor_istorage
2020-04-27 15:34:21 +03:00
alexey-milovidov
378d73d477
Merge pull request #10449 from azat/metrics-for-new-bg-schedule-pools
...
Add tasks/memory metrics for distributed/buffer schedule pools
2020-04-26 20:16:02 +03:00
Dmitry
d9ac0e8fef
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-04-26 14:44:06 +03:00
Alexey Milovidov
d01bd44f14
Merge branch 'master' into execute-query-flush-format-2
2020-04-26 03:31:46 +03:00
Vitaliy Zakaznikov
e73166c78d
Removing SquashingBlockOutputStream from the stream to
...
allow blocks from WATCH query to propagate to target table
as is.
2020-04-25 09:46:46 -04:00
Alexey Milovidov
c75c2fac29
Fix visible drift of MemoryTracking metric
2020-04-25 15:36:01 +03:00
Vitaliy Zakaznikov
8621e93460
Starting to remove changes to LIVE VIEW table.
2020-04-25 07:37:33 -04:00
Vitaliy Zakaznikov
34a03939ea
First changes to try to support INSERT INTO table WATCH query.
2020-04-25 07:33:47 -04:00
alesapin
b4425c2dc4
Remove getColumn and hasColumn methods from IStorage
2020-04-24 13:20:03 +03:00
tavplubix
7d6ab32eb6
Update DatabaseCatalog.cpp
2020-04-24 01:08:26 +03:00
Alexander Tokmakov
8be4d51111
fix build
2020-04-23 22:50:05 +03:00
Alexander Tokmakov
15e7ce0053
fixes
2020-04-23 21:00:43 +03:00
Alexander Tokmakov
f413061e0d
remove Context from some IDatabase methods
2020-04-23 19:51:48 +03:00
Alexander Tokmakov
04d6b59ac0
Merge branch 'master' into database_atomic
2020-04-23 17:31:37 +03:00
alexey-milovidov
1ecfa27cd3
Merge pull request #10441 from ClickHouse/remove_casts_from_defaults
...
Remove CAST from DEFAULT expressions during table creation.
2020-04-23 12:36:12 +03:00
Azat Khuzhin
4f5ec14f27
Configure thread names for buffer/distributed schedule pools
2020-04-23 03:16:14 +03:00
Azat Khuzhin
d854049d21
Add tasks/memory metrics for distributed/buffer schedule pools
...
Follow-up-for: #10315
Follow-up-for: #10263
2020-04-23 02:18:37 +03:00
Azat Khuzhin
c04c73b4c4
Drop unused MemoryTrackingForMerges from Context
...
It set in src/Storages/MergeTree/MergeList.cpp anyway.
2020-04-23 01:57:33 +03:00
alexey-milovidov
4f6bb00424
Merge pull request #10420 from ClickHouse/clang-tidy-8
...
Fixes for clang-tidy on clang-10
2020-04-23 00:33:41 +03:00
Alexander Tokmakov
e02b5790af
fix
2020-04-22 23:49:13 +03:00
Alexander Tokmakov
1833ac7f16
fixes
2020-04-22 23:43:10 +03:00
Nikita Mikhaylov
3cf2016867
Merge pull request #10188 from nikitamikhaylov/quorum_bug
...
insert_quorum vs drop partition or ttl
2020-04-23 00:11:57 +04:00
Alexey Milovidov
282b5785c1
Fixed error
2020-04-22 21:41:19 +03:00
Alexey Milovidov
73dd78bac1
Merge branch 'master' into clang-tidy-8
2020-04-22 21:04:47 +03:00
alesapin
45b8cb5b37
Remove casts from table creation by default
2020-04-22 17:29:38 +03:00
Alexander Tokmakov
fefbbd37df
Merge branch 'master' into database_atomic
2020-04-22 17:02:30 +03:00
Alexey Milovidov
d3418bbb02
Fix clang-tidy
2020-04-22 11:45:14 +03:00
Alexey Milovidov
03e17405cd
Checkpoint
2020-04-22 10:03:43 +03:00
Alexey Milovidov
1e325a9fd9
Checkpoint
2020-04-22 09:22:14 +03:00
Alexey Milovidov
0a7edce036
Checkpoint
2020-04-22 09:01:33 +03:00
Alexey Milovidov
be22a4b94e
Checkpoint
2020-04-22 08:39:31 +03:00
Alexey Milovidov
e6acb35d95
Added a fix from Vadim Plakhtinskiy @VadimPlh
2020-04-22 07:32:05 +03:00
alexey-milovidov
0754eb7e78
Merge pull request #10416 from 4ertus2/perf
...
Improve HashJoin memory usage
2020-04-22 01:44:46 +03:00
alexey-milovidov
fcf5c3c6e1
Merge pull request #10399 from ClickHouse/fix-distributed_group_by_no_merge-segfault
...
Fix segfault with distributed_group_by_no_merge
2020-04-22 01:28:02 +03:00
Ivan
555488a458
Fix build in Arcadia ( #10413 )
2020-04-21 23:23:44 +03:00
Artem Zuikov
96b9edae29
fix comment
2020-04-21 22:09:18 +03:00
Artem Zuikov
17b0641b02
improve HashJoin memory usage
2020-04-21 22:01:34 +03:00
Alexey Milovidov
33338b722a
Fix Mac OS #10246
2020-04-21 21:49:28 +03:00
Nikita Mikhaylov
2173bcf28e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into quorum_bug
2020-04-21 14:35:06 +03:00
Nikolai Kochetov
87a0b40ace
Do not create extra totals and extremes ports.
2020-04-21 12:31:40 +03:00
Nikolai Kochetov
1d2388de39
Drop currently calculated totals and extremes before aggregation.
2020-04-21 11:45:28 +03:00
alexey-milovidov
4ecc86beca
Merge pull request #9950 from ClickHouse/aku/literal-columns
...
Create unique columns for literals
2020-04-21 02:30:17 +03:00
alexey-milovidov
8c2839d3c9
Merge pull request #10308 from ClickHouse/shared-context-lifetime
...
Shared context lifetime
2020-04-21 00:12:45 +03:00
Alexander Tokmakov
b29bddac12
Merge branch 'master' into database_atomic
2020-04-20 14:09:09 +03:00
Azat Khuzhin
9ca86dbf34
Drop disks reservation in Aggregator
...
True reservation (IVolume::reserve()) will not takes compression into
account, and you aggregate a lot of data then it will likely fail even
though it can be completed, but just because you have big
max_bytes_before_external_group_by and huge max_threads it will fail.
2020-04-20 11:33:46 +03:00
Alexey Milovidov
d7264b292d
Merge branch 'master' into sorting-processors
2020-04-20 09:29:41 +03:00
Alexey Milovidov
70054e90d6
Merge branch 'master' into execute-query-flush-format-2
2020-04-20 09:19:34 +03:00
alexey-milovidov
7e5b044e67
Merge pull request #10362 from ClickHouse/rework-total-memory-tracker
...
Rework total memory tracker
2020-04-20 06:16:49 +03:00
Alexey Milovidov
1d885b3ff9
Merge branch 'master' into quota-key-in-client
2020-04-20 02:15:37 +03:00
Alexey Milovidov
237db26688
Less wrong
2020-04-20 02:11:41 +03:00
Alexey Milovidov
39c6c9a5d7
Merge remote-tracking branch 'origin/master' into system-tables-lazy-load
2020-04-20 02:00:46 +03:00
Alexey Milovidov
2987e70aab
Introduce "max_server_memory_usage" setting
2020-04-20 01:59:21 +03:00
Alexey Milovidov
ec6b176f3b
Rework total memory tracker #10293
2020-04-20 01:59:21 +03:00
Alexey Milovidov
71c4418876
More memory statistics
2020-04-19 23:49:13 +03:00
Alexey Milovidov
25f3184dbe
Merge branch 'master' into async-metric-memory-usage
2020-04-19 23:18:12 +03:00
Alexey Milovidov
8d3e6ed5e3
Added missing code
2020-04-19 23:04:59 +03:00
Alexey Milovidov
ca6bea3731
Added a patch from Alexander Burmak
2020-04-19 22:53:12 +03:00
zhang2014
57cbecf935
ISSUES-5436 reworking predefine http
2020-04-20 03:18:36 +08:00
Alexey Milovidov
5262512f0c
Flush output for interactive applications
2020-04-19 22:02:36 +03:00
zhang2014
835dc4c445
After merge upsream master fix
2020-04-20 02:26:42 +08:00
zhang2014
8105a9bbe0
ISSUES-5436 fix review suggestions
2020-04-20 02:26:06 +08:00
zhang2014
847f7ab439
ISSUES-5436 fix build failure & fix test failure
2020-04-20 02:25:43 +08:00
zhang2014
6b716e511b
ISSUES-5436 support custom http [part 6]
2020-04-20 02:25:12 +08:00
zhang2014
7aef95b082
ISSUES-5436 support custom http [part 5]
2020-04-20 02:23:18 +08:00
zhang2014
fd00757178
ISSUES-5436 support custom http [part 4]
2020-04-20 02:23:18 +08:00
zhang2014
60abff3341
ISSUES-5436 support custom http [part 3]
2020-04-20 02:23:18 +08:00
zhang2014
183eb82b7c
ISSUES-5436 support custom http [part 2]
2020-04-20 02:23:18 +08:00
zhang2014
159ba24fca
ISSUES-5436 support custom http
2020-04-20 02:23:18 +08:00
Alexey Milovidov
cf6bbaeb97
Flush output format on each block in executeQuery
2020-04-19 21:12:40 +03:00
Nikolai Kochetov
67b3487207
Try fix build.
2020-04-19 18:46:12 +03:00
Nikolai Kochetov
e969f66aca
Try fix test.
2020-04-19 18:41:35 +03:00
Azat Khuzhin
5d11118cc9
Use thread pool (background_distributed_schedule_pool_size) for distributed sends
...
After #8756 the problem with 1 thread for each (distributed table, disk)
for distributed sends became even worse (since there can be multiple
disks), so use predefined thread pool for this tasks, that can be
controlled with background_distributed_schedule_pool_size knob.
2020-04-19 12:01:56 +03:00
alexey-milovidov
8cea45315f
Merge pull request #10133 from 4ertus2/joins
...
JOIN with Dictionary
2020-04-18 16:08:15 +03:00
alexey-milovidov
72dd453c3f
Merge pull request #10234 from vitlibar/show-columns-of-not-loaded-dictionary
...
Show information about not loaded dictionaries in system tables.
2020-04-18 15:06:08 +03:00
alexey-milovidov
17b6e0b3e5
Merge pull request #10315 from azat/buffer-flush-bg-pool
...
Use background thread pool for background buffer flushes
2020-04-18 15:04:35 +03:00
alexey-milovidov
b5f8efefa2
Merge pull request #10342 from azat/optimizeGroupBy-isInjective
...
[RFC] Use isInjective() over manual list of such functions for GROUP BY optimization
2020-04-18 14:28:59 +03:00
Dmitry
3a18982e2b
removed debug cerr
2020-04-18 13:04:49 +03:00
Dmitry
25cd4ce132
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-04-18 12:56:34 +03:00
Vitaly Baranov
d62345bbaa
Show information about not loaded dictionaries in system.columns, system.tables
...
and in "SHOW TABLES" executed in any database with the "Dictionary" engine.
2020-04-18 12:50:54 +03:00
Azat Khuzhin
548399725f
Use IFunction::isInjective() over manual list of such functions for GROUP BY optimization
2020-04-18 10:23:19 +03:00
Azat Khuzhin
f29e5c60a5
Add const qualifier for IFunction::isInjective()
2020-04-18 01:50:15 +03:00
Nikolai Kochetov
4a3d80fd71
Fix build.
2020-04-17 19:34:45 +03:00
Nikolai Kochetov
84faa9af26
Merge branch 'master' into shared-context-lifetime
2020-04-17 19:13:13 +03:00
Nikolai Kochetov
ce11662ab1
Fix build.
2020-04-17 15:58:52 +03:00
Nikolai Kochetov
d51a9c551b
Remove shared_ptr to SharedContext from Context.
2020-04-17 12:47:40 +03:00
Alexey Milovidov
fdc5688d2d
Added memory usage to AsynchronousMetrics
2020-04-17 07:09:41 +03:00
Alexey Milovidov
b16ee538ab
Merge branch 'master' into sorting-processors
2020-04-17 05:31:55 +03:00
alexey-milovidov
17e7d4d88a
Merge pull request #10307 from abyss7/arcadia-4
...
Changes for auto-sync with Arcadia
2020-04-17 05:08:34 +03:00
Artem Zuikov
c62c288e4c
fix COMMA and other JOIN mix ( #10311 )
2020-04-16 23:28:23 +03:00
Nikita Mikhaylov
9a80eb6e47
Merge branch 'master' of github.com:ClickHouse/ClickHouse into quorum_bug
2020-04-16 21:47:34 +03:00
Artem Zuikov
ce372f464b
Fix finalize chain logic in ExpressionAnalysisResult ( #10302 )
2020-04-16 21:03:27 +03:00
Azat Khuzhin
a9b1b36907
Use separate pool for buffer flushes (background_buffer_flush_schedule_pool_size)
2020-04-16 20:14:28 +03:00
Artem Zuikov
47cb670213
Merge branch 'master' into joins
2020-04-16 19:06:13 +03:00
Nikolai Kochetov
025093d354
Fix build.
2020-04-16 17:51:33 +03:00
Nikolai Kochetov
d6db27e372
Modify context.
2020-04-16 17:37:38 +03:00
Ivan Lezhankin
e230632645
Changes required for auto-sync with Arcadia
2020-04-16 15:31:57 +03:00
Alexey Milovidov
cdeda4ab91
Fix usage of max_parser_depth setting; remove harmful default function arguments
2020-04-16 04:06:10 +03:00
alexey-milovidov
056c822e65
Merge pull request #10257 from 4ertus2/strange
...
Some tech debt
2020-04-16 00:45:55 +03:00
Artem Zuikov
739daf3bbe
Merge branch 'master' into strange
2020-04-15 20:55:21 +03:00
Artem Zuikov
f08cdfcc4c
fix count(*) with multiple_joins_rewriter_version = 1
2020-04-15 20:47:08 +03:00
Alexander Kuzmenkov
d15d6e1661
review fixes
2020-04-15 17:10:33 +03:00
Alexander Kuzmenkov
2ee49c9d68
Merge remote-tracking branch 'origin/master' into HEAD
2020-04-15 15:57:29 +03:00
Artem Zuikov
3d8562452d
remove more code
2020-04-15 13:07:16 +03:00
Nikolai Kochetov
153f795ebe
Merge branch 'master' into sorting-processors
2020-04-15 12:07:05 +03:00
Alexey Milovidov
9667e1fb85
Fix clang-tidy
2020-04-15 05:46:36 +03:00
Alexey Milovidov
ff817ae735
Remove debug output
2020-04-15 05:04:26 +03:00
Alexey Milovidov
fe59524481
Implemented in a different way
2020-04-15 04:59:14 +03:00
alexey-milovidov
eef35bddc1
Merge pull request #10265 from ClickHouse/remove-useless-code-cast
...
Remove useless code
2020-04-15 02:33:34 +03:00
Alexey Milovidov
0c0218168a
Whitespaces
2020-04-15 01:25:31 +03:00
Alexey Milovidov
8ad04d4fec
Remove useless code
2020-04-15 00:05:45 +03:00
Alexander Kuzmenkov
03e00ac215
Merge remote-tracking branch 'origin/master' into HEAD
2020-04-14 23:03:23 +03:00
Artem Zuikov
ee1b4a1a30
Fix and improve OneTypeMatcher ( #10253 )
2020-04-14 21:50:00 +03:00
Alexander Kuzmenkov
1d3fe23b3b
review fixes
2020-04-14 20:41:06 +03:00
Artem Zuikov
24f715ad87
tech debt
2020-04-14 17:43:09 +03:00
Alexander Kuzmenkov
59e8230271
Merge remote-tracking branch 'origin/master' into HEAD
2020-04-14 02:27:46 +03:00
alexey-milovidov
b8be585595
Merge pull request #10237 from ClickHouse/akz/mutations-to-correctly-handle-lambdas
...
ALTER UPDATE/DELETE on Replicated* storages: Fixed "Unknown function lambda." error
2020-04-14 01:32:38 +03:00
Andrey Skobtsov
afaa7eca51
Merge branch 'master' into perf_events_metrics
...
# Conflicts:
# dbms/src/Common/ProfileEvents.cpp
2020-04-13 23:59:48 +03:00
Alexander Kazakov
d480707c12
Fixed clang build + tweaked comment
2020-04-13 23:02:44 +03:00
Nikita Mikhaylov
89f80a6353
Merge branch 'master' into quorum_bug
2020-04-13 23:25:55 +04:00
alexey-milovidov
45e85724a6
Update MutationsInterpreter.cpp
2020-04-13 21:33:25 +03:00
Artem Zuikov
6106b2bfc7
Merge branch 'master' into joins
2020-04-13 20:37:27 +03:00
Artem Zuikov
df01227bd2
move DictionaryReader code out of header
2020-04-13 20:36:07 +03:00
Alexander Kazakov
0aa4c85602
Fixed style checker complaint
2020-04-13 20:04:17 +03:00
Artem Zuikov
0b7ae2c2bf
working version
2020-04-13 20:03:11 +03:00
Alexander Tokmakov
6c0d9723e0
Merge branch 'master' into database_atomic
2020-04-13 18:47:47 +03:00
Alexander Tokmakov
d1024e76bd
fix
2020-04-13 18:46:36 +03:00
Nikita Mikhaylov
441bb13d4a
better
2020-04-13 18:21:05 +03:00
Alexander Kazakov
e05e2c7628
Fixed check for nondeterministic functions to handle lambdas correctly
2020-04-13 17:34:11 +03:00
Artem Zuikov
12ca9f5912
disable alwaysReturnsEmptySet() for HashJoin over dictionary
2020-04-13 15:32:45 +03:00
Alexey Milovidov
c7eaaaf7fe
Small refactoring of SystemLogs
2020-04-13 04:33:05 +03:00
alexey-milovidov
bc00e6463a
Merge pull request #10053 from azat/log_queries_type
...
Add log_queries_min_type to filter which entries will be written to query_log
2020-04-12 23:37:42 +03:00
Alexander Tokmakov
20e6593f96
disable by default
2020-04-12 21:52:59 +03:00
Alexey Milovidov
ec4889e43e
Remove debug output
2020-04-12 19:21:07 +03:00
Alexey Milovidov
6de712f0f4
Fix joined constants, development
2020-04-12 19:21:07 +03:00
Alexander Tokmakov
5e6d4b9449
Merge branch 'master' into database_atomic
2020-04-12 16:35:44 +03:00
Azat Khuzhin
365b5207b7
Add log_queries_min_type to filter which entries will be written to query_log
...
Can be used to write into query_log only failed queries (i.e. on memory
exceeded error), by using:
set log_queries_min_type='EXCEPTION_WHILE_PROCESSING'
2020-04-12 10:46:36 +03:00
alexey-milovidov
b888c867b3
Merge pull request #10026 from CurtizJ/speedup-index
...
Improve performance of index analysis with monotonic functions [2].
2020-04-12 06:37:26 +03:00
Alexey Milovidov
ca5172cc63
Merging #10094
2020-04-12 06:25:47 +03:00
Alexey Milovidov
c64aa011ba
Merge branch 'jgon' of https://github.com/amosbird/ClickHouse into amosbird-jgon
2020-04-12 06:21:00 +03:00
alexey-milovidov
a2418f94df
Update HashJoin.cpp
2020-04-12 06:19:13 +03:00
alexey-milovidov
d6544159ba
Update HashJoin.cpp
2020-04-12 06:18:21 +03:00
Alexey Milovidov
f8e1f1b69b
Fix wrong whitespaces in debug output
2020-04-12 05:06:58 +03:00
Alexey Milovidov
813a09f75a
Merge branch 'master' of github.com:yandex/ClickHouse
2020-04-12 05:05:45 +03:00
Alexey Milovidov
01bc88a851
Fix wrong whitespaces in debug output
2020-04-12 05:05:30 +03:00
alexey-milovidov
0cc91b9cab
Merge pull request #10196 from azat/Distributed-GLOBAL-IN
...
Allow literals for GLOBAL IN
2020-04-12 04:39:32 +03:00
Azat Khuzhin
194dcc01fb
Allow literals for GLOBAL IN
2020-04-12 02:48:55 +03:00
alexey-milovidov
0782052768
Merge pull request #10131 from ClickHouse/fix-extremes-for-processors
...
Fix extremes for processors
2020-04-12 02:31:39 +03:00
alexey-milovidov
00d8e7eefb
Merge branch 'master' into transform_null_in
2020-04-11 23:15:54 +03:00
alexey-milovidov
a4969d89f9
Merge pull request #10164 from azat/system.tables-superfluous-dict-reload
...
Avoid superfluous dictionaries load
2020-04-11 23:05:56 +03:00
alexey-milovidov
a7ecacc8b0
Merge pull request #10186 from filimonov/setting_allow_nondeterministic_mutations
...
allow_nondeterministic_mutations
2020-04-11 22:56:06 +03:00
Ivan
67235834b3
Update libdivide to v3.0 ( #10169 )
2020-04-11 14:14:01 +03:00
Azat Khuzhin
55a143d1a5
Avoid superfluous dictionaries load (system.tables, SHOW CREATE TABLE)
...
This patch avoids loading dictionaries for:
- SELECT * FROM system.tables (used by clickhouse-client for completion)
- SHOW CREATE TABLE some_dict
But the dictionary will still be loaded on:
- SHOW CREATE TABLE some_dict (from the database with Dictionary engine)
2020-04-11 13:26:41 +03:00
Vitaly Baranov
e86f549103
Merge pull request #10181 from vitlibar/revert-resetting-settings-in-tcp-handler
...
Revert resetting settings in TCPHandler
2020-04-11 07:46:23 +03:00
Alexander Tokmakov
f0edb65e33
add test
2020-04-11 02:02:15 +03:00
Nikita Mikhaylov
a8d72d01c3
mvp fix
2020-04-11 00:29:54 +03:00
alexey-milovidov
25236d3544
Merge branch 'master' into setting_allow_nondeterministic_mutations
2020-04-10 23:58:46 +03:00
Mikhail Filimonov
2f5b4b0f9b
Added ability to relax the restriction on non-deterministic functions usage in mutations with allow_nondeterministic_mutations setting.
2020-04-10 22:01:10 +02:00
Vitaly Baranov
ca634f603a
Revert resetting the settings to their defaults after each query in TCPHandler.
2020-04-10 21:09:59 +03:00
Alexander Tokmakov
033d7f9b32
Merge branch 'master' into database_atomic
2020-04-10 17:12:09 +03:00
Artem Zuikov
9901bf0f6e
fix column size in KeyGetterForDict
2020-04-10 14:03:08 +03:00
Artem Zuikov
ba50519af8
workaround for function resolver
2020-04-10 13:28:44 +03:00
Nikolai Kochetov
1b6d80bfae
Merge branch 'master' into sorting-processors
2020-04-10 12:07:21 +03:00
Nikolai Kochetov
d3acce8afa
Fix build.
2020-04-10 12:04:28 +03:00
Alexander Kazakov
497df3086f
Merge branch 'master' into timed_rwlock
...
Change-Id: I620bfde2121ff013773b001d514b40b1e796a58b
2020-04-10 11:38:20 +03:00
philip.han
7fa5afecb4
Support transform_null_in option for StorageSet
2020-04-10 14:42:36 +09:00
philip.han
c39e3a51ad
Fix Set::insertFromBlockImplCase()
2020-04-10 12:30:54 +09:00
alexey-milovidov
a85d35f31c
Merge pull request #10049 from azat/show-create-table-multiline
...
Make SHOW CREATE TABLE multiline
2020-04-09 23:30:56 +03:00
Artem Zuikov
0cd49d746f
several fixes
2020-04-09 23:00:57 +03:00
Alexander Kazakov
26dd6140b2
Added new config settings to control timeouts
...
* "lock_acquire_timeout" controls for how long a query will continue to
acquire each lock on its argument tables
* "lock_acquire_timeout_for_background_operations" is a per-table
setting for storages of *MergeTree family
2020-04-09 21:10:27 +03:00
Artem Zuikov
10aad52278
fix crash
2020-04-09 17:38:32 +03:00
Vxider
a8cd174fc4
merged with master
2020-04-09 22:34:02 +08:00
Artem Zuikov
9f0db4dfef
Merge branch 'master' into joins
2020-04-09 11:53:18 +03:00
philip.han
3149f75430
Replace a reference for Context with a copied bool value.
2020-04-09 17:27:55 +09:00
Vitaly Baranov
d548c7e381
Simplify DCL for creating quotas.
2020-04-09 10:22:51 +03:00
Vitaly Baranov
36a5b57ac4
Use "CREATE SETTINGS PROFILE name SETTINGS INHERIT parent" instead of "CREATE SETTINGS PROFILE name SETTINGS PROFILE parent".
2020-04-09 10:22:51 +03:00
Alexander Tokmakov
140cd88c20
fixes
2020-04-09 02:59:39 +03:00
Artem Zuikov
ab12ebb5cf
add allowDictJoin()
2020-04-08 22:58:27 +03:00
Alexander Tokmakov
dd1590830b
Merge branch 'master' into database_atomic
2020-04-08 22:00:46 +03:00
Artem Zuikov
8d6f641796
join over dictionary concept
2020-04-08 21:59:52 +03:00
Nikolai Kochetov
458c7f516d
Fix extremes for Processors.
2020-04-08 21:50:14 +03:00
Azat Khuzhin
3116b2d29b
Make SHOW CREATE TABLE multiline (because it more readable and also mysql like)
2020-04-08 10:26:40 +03:00
Amos Bird
0b5cc80580
joinGetOrNull
2020-04-08 11:01:08 +08:00
alexey-milovidov
6d80ab1eed
Merge pull request #9811 from vitlibar/RBAC-8
...
RBAC-8
2020-04-08 05:47:55 +03:00
Anton Popov
cbdc3ef214
Merge remote-tracking branch 'upstream/master' into speedup-index
2020-04-08 04:15:48 +03:00
Alexander Tokmakov
135197aa75
fixes
2020-04-08 04:02:00 +03:00
alexey-milovidov
09a397a68f
Merge pull request #9997 from azat/dist-on-dist-fixes
...
Fix Distributed-over-Distributed with one only shard in nested table
2020-04-08 03:45:29 +03:00
Vitaly Baranov
e573549945
Rework access rights for table functions.
2020-04-07 23:31:59 +03:00
Vitaly Baranov
42b8ed3ec6
Implement "ON CLUSTER" clause for access control SQL.
2020-04-07 23:31:59 +03:00
Vitaly Baranov
423fa5087a
Add SHOW_USERS(SHOW ROLES, etc.) privileges.
2020-04-07 23:20:38 +03:00
Vitaly Baranov
b4d7ef390c
Rename some access types: add ALTER and SYSTEM prefixes.
2020-04-07 23:20:38 +03:00
Vitaly Baranov
f53b4ad3a8
Replace access types "TRUNCATE_VIEW" and "TRUNCATE_TABLE" with "TRUNCATE".
2020-04-07 23:20:38 +03:00
Vitaly Baranov
e5d8f05251
Rename sql command "CREATE POLICY" -> "CREATE ROW POLICY", "CREATE POLICY" is now an alias.
2020-04-07 23:20:38 +03:00
Vitaly Baranov
d8b76232fe
Remove useless logging from ExternalLoader.
2020-04-07 21:39:34 +03:00
Alexander Tokmakov
4c48b7dd80
better rename
2020-04-07 18:31:33 +03:00
Nikita Mikhaylov
626856deff
Merge branch 'master' of github.com:ClickHouse/ClickHouse into quorum_bug
2020-04-07 15:40:55 +03:00
alesapin
f1e0f15556
Merge pull request #9948 from ClickHouse/alter_rename_column
...
Alter rename column
2020-04-07 15:28:00 +03:00
Nikita Mikhaylov
3bf67b1380
typo
2020-04-07 15:02:07 +03:00
philip.han
53b5dade5e
Implement transform_null_in
2020-04-07 20:08:13 +09:00
Nikita Mikhaylov
70c0646942
Merge branch 'master' of github.com:ClickHouse/ClickHouse into quorum_bug
2020-04-07 13:42:48 +03:00
Artem Zuikov
8297683972
renames: AnalyzedJoin -> TableJoin, Join -> HashJoin ( #10065 )
2020-04-07 12:48:47 +03:00
Alexander Kuzmenkov
35783af25d
Merge remote-tracking branch 'origin/master' into HEAD
2020-04-07 03:34:39 +03:00
Alexander Tokmakov
a2101c9b1c
better code
2020-04-07 02:22:44 +03:00
Nikita Mikhaylov
2cec261f3a
Merge branch 'master' of github.com:ClickHouse/ClickHouse into quorum_bug
2020-04-06 23:15:11 +03:00
tavplubix
ea376b9739
Merge pull request #10054 from azat/detachDatabase-on-fail-at-start-deadlock
...
Fix deadlock on failed database attach at start with materialized view
2020-04-06 20:37:39 +03:00
Artem Zuikov
174136a1e0
inflating cross join ( #10029 )
2020-04-06 16:39:57 +03:00
Alexander Tokmakov
08bae4668d
Merge branch 'master' into database_atomic
2020-04-06 16:18:07 +03:00
Anton Popov
79024d73a2
improve performance of index analysis with monotonic functions
2020-04-06 13:37:34 +03:00
Vxider
2fb9138505
merged with master
2020-04-06 17:36:44 +08:00
alesapin
dd5ddf19d9
Rename missed files
2020-04-06 11:55:59 +03:00
alesapin
1cb072d58a
Merge branch 'master' into alter_rename_column
2020-04-06 11:40:27 +03:00
Azat Khuzhin
e7bbd400c7
Fix deadlock on failed database attach at start with materialized view
...
This is not the problem for plain DROP DATABASE query since it first
remove tables.
(gdb) bt
0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:103
1 0x00007f353c262774 in __GI___pthread_mutex_lock (mutex=mutex@entry=0x11049288 <DB::DatabaseCatalog::init(DB::Context const*)::database_catalog+8>) at ../nptl/pthread_mutex_lock.c:80
2 0x0000000004fd5d1e in DB::pthread_mutex_lock (arg=arg@entry=0x11049288 <DB::DatabaseCatalog::init(DB::Context const*)::database_catalog+8>) at ../src/Common/ThreadFuzzer.cpp:253
3 0x000000000c70b3a9 in std::__1::__libcpp_mutex_lock (__m=__m@entry=0x11049288 <DB::DatabaseCatalog::init(DB::Context const*)::database_catalog+8>) at ../contrib/libcxx/include/__threading_support:322
4 std::__1::mutex::lock (this=this@entry=0x11049288 <DB::DatabaseCatalog::init(DB::Context const*)::database_catalog+8>) at ../contrib/libcxx/src/mutex.cpp:33
5 0x0000000008acd4e2 in std::__1::lock_guard<std::__1::mutex>::lock_guard (__m=..., this=<synthetic pointer>) at ../contrib/libcxx/include/__mutex_base:90
6 DB::DatabaseCatalog::removeDependency (this=this@entry=0x11049280 <DB::DatabaseCatalog::init(DB::Context const*)::database_catalog>, from=..., where=...) at ../src/Interpreters/DatabaseCatalog.cpp:388
7 0x000000000975044b in DB::StorageMaterializedView::shutdown (this=0x7f338d178a00) at ../src/Storages/StorageMaterializedView.cpp:362
8 0x0000000008a79602 in DB::DatabaseWithOwnTablesBase::shutdown (this=0x7f353be3cc60) at ../contrib/libcxx/include/__tree:184
9 0x0000000009546196 in DB::DatabaseWithDictionaries::shutdown (this=0x7f353be3cc60) at ../src/Databases/DatabaseWithDictionaries.cpp:265
10 0x0000000008acecdb in DB::DatabaseCatalog::detachDatabase (this=0x11049280 <DB::DatabaseCatalog::init(DB::Context const*)::database_catalog>, database_name=..., drop=drop@entry=false, check_empty=check_empty@entry=false) at ../contrib/libcxx/include/memory:3826
11 0x0000000004bf0aa5 in DB::InterpreterCreateQuery::createDatabase (this=0x7ffd6e1bab80, create=...) at ../src/Interpreters/InterpreterCreateQuery.cpp:162
12 0x0000000008b04327 in DB::InterpreterCreateQuery::execute (this=this@entry=0x7ffd6e1bab80) at ../src/Interpreters/InterpreterCreateQuery.cpp:722
13 0x0000000008d0fdaa in DB::executeCreateQuery (has_force_restore_data_flag=false, file_name=..., database=..., context=..., query=...) at ../src/Interpreters/loadMetadata.cpp:48
14 DB::loadDatabase (context=..., database=..., database_path=..., force_restore_data=<optimized out>) at ../src/Interpreters/loadMetadata.cpp:72
15 0x0000000008d103c3 in DB::loadMetadata (context=...) at ../src/Interpreters/loadMetadata.cpp:111
16 0x0000000004f4d25e in DB::Server::main (this=<optimized out>) at ../contrib/libcxx/include/memory:2582
17 0x000000000bbc8963 in Poco::Util::Application::run (this=this@entry=0x7ffd6e1bcc60) at ../contrib/poco/Util/src/Application.cpp:334
18 0x0000000004ffe1de in DB::Server::run (this=0x7ffd6e1bcc60) at ../programs/server/Server.cpp:178
19 0x0000000004ff36cc in mainEntryClickHouseServer (argc=3, argv=0x7f353be58bc0) at ../programs/server/Server.cpp:1060
20 0x0000000004f49b99 in main (argc_=<optimized out>, argv_=<optimized out>) at ../contrib/libcxx/include/vector:655
2020-04-05 14:16:16 +03:00
Azat Khuzhin
1232760f78
Fix Distributed-over-Distributed when nested table has only one shard
2020-04-04 13:47:35 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00