Ilya Golshtein
300eb5098d
fix rebase collisions in ORs in JOIN
2021-09-28 14:11:31 +03:00
vdimir
0a9a028c6f
fix
2021-09-28 14:11:31 +03:00
vdimir
46187a73ee
wip
2021-09-28 14:11:31 +03:00
vdimir
8e2637aab2
Store all related to one join disjunct in JoinOnClause, pt1
2021-09-28 14:11:31 +03:00
Ilya Golshtein
aa3d8a431a
No redundant convertColumnsToNullable if ORs in JOIN
2021-09-28 14:11:30 +03:00
Ilya Golshtein
5ed6b26c9d
any_join_distinct_right_table_keys tests and fix for ORs in JOIN
2021-09-28 14:11:30 +03:00
Ilya Golshtein
be034444ba
fix any_join_distinct_right_table_keys crash if ORs in JOIN
2021-09-28 14:11:30 +03:00
vdimir
d37b88fb07
fix HashJoin::initRightBlockStructure
2021-09-28 14:11:30 +03:00
vdimir
38374ba07b
fix join->getNonJoinedBlocks
2021-09-28 14:11:30 +03:00
vdimir
a8e1de51e1
fix TableJoin::leftToRightKeyRemap
2021-09-28 14:11:30 +03:00
Ilya Golshtein
24e3e04203
BlockWithFlags removed from vdimir's change
2021-09-28 14:11:30 +03:00
vdimir
6b6592fda7
Use JoinUsedFlags with multiple dijuncts
2021-09-28 14:11:30 +03:00
Ilya Golshtein
68d6a0ee85
prohibit storage join if ORs
2021-09-28 14:11:29 +03:00
Ilya Golshtein
4bddd0bc71
make PVS check happy with ORs in JOIN
2021-09-28 14:11:29 +03:00
Ilya Golshtein
d0990e270a
making gcc happy, minor improvements in ORs in JOIN
2021-09-28 14:11:29 +03:00
Ilya Golshtein
b03415bd0e
Fixed other bug if OR together with filter conditions
2021-09-28 14:11:29 +03:00
Ilya Golshtein
f94b2cba2d
Fixed bug if OR together with filter conditions, some comments
2021-09-28 14:11:29 +03:00
Ilya Golshtein
a18c6f7f8e
merge error fixed
2021-09-28 14:11:29 +03:00
Ilya Golshtein
db50015eed
review changes 1 - ASTPtr, some comments
2021-09-28 14:11:29 +03:00
Ilya Golshtein
3766d47f31
ORs in JOINs
2021-09-28 14:11:28 +03:00
Maksim Kita
1e5e93830b
Merge branch 'master' into cast_to_value_or_default
2021-09-28 14:04:10 +03:00
Nikolai Kochetov
1a4ee1f77f
Remove filter column from HAVING when it is not needed.
2021-09-28 13:01:47 +03:00
Nikolai Kochetov
236d71ea94
Merge pull request #28582 from ClickHouse/rewrite-pushing-to-views
...
Rewrite PushingToViews
2021-09-27 21:19:11 +03:00
Anton Popov
9a58e4a8ba
fix deadlock in concurrent async inserts and truncates
2021-09-27 19:39:32 +03:00
alesapin
ddd80c8e72
Merge pull request #29264 from Enmk/governance/table_comment_update
...
Implemented modifying table comments with `ALTER TABLE t MODIFY COMMENT 'value'`
2021-09-27 18:02:14 +03:00
Kevin Michel
045d4f2d32
Don't replicate DROP/DETACH/DROP DETACHED on Replicated database
2021-09-27 10:10:46 +02:00
Nikolai Kochetov
78a7665f43
Merge branch 'master' into rewrite-pushing-to-views
2021-09-27 10:56:50 +03:00
Azat Khuzhin
c495297e65
Remove unused reset_timeout/access_timeout from AsynchronousInsertQueue
2021-09-27 10:02:27 +03:00
Alexey Milovidov
16f0f0af7f
Merge remote-tracking branch 'origin/master' into remove-trash-db-regexp
2021-09-27 02:12:13 +03:00
Nikolai Kochetov
efbd8e4911
Remove ExceptionHandlingSink.
2021-09-26 17:54:59 +03:00
alexey-milovidov
08e395bbcd
Merge pull request #29342 from ClickHouse/fix-typo-in-comment
...
Fix typo in comment
2021-09-25 19:44:59 +03:00
kssenii
2129230b1e
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-25 09:16:05 +00:00
Alexey Milovidov
fe44be522e
Fix assert in table function merge
with database regexp
2021-09-25 05:48:24 +03:00
Alexey Milovidov
cd7f9d981c
Remove ya.make
2021-09-25 04:22:54 +03:00
Alexey Milovidov
a2c2b3a866
Whitespaces
2021-09-25 02:12:26 +03:00
Alexey Milovidov
3284b2c8de
Fix typo in comment
2021-09-25 02:10:10 +03:00
Filatenkov Artur
aaf6785359
Merge branch 'ClickHouse:master' into add_CORS
2021-09-24 15:40:37 +03:00
Nikolai Kochetov
998d29ebc7
Merge branch 'master' into rewrite-pushing-to-views
2021-09-23 13:10:27 +03:00
Maksim Kita
313f967204
UserDefinedExecutableFunction fix debug message
2021-09-23 12:14:21 +03:00
Vasily Nemkov
cb1ca9b33e
Implemented modifying table comments with ALTER TABLE t MODIFY COMMENT 'value'
2021-09-23 01:14:00 +03:00
Maksim Kita
1bf375e2b7
Merge pull request #29254 from kitaisreal/map-bloom-filter-index-updated
...
Updated bloom filter index for map type to work with mapKeys, mapValues functions
2021-09-23 00:31:14 +03:00
kssenii
ec24a8f114
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-22 20:46:49 +00:00
kssenii
1b9565dfa8
Merge branch 'master' of github.com:ClickHouse/ClickHouse into disk-async-read
2021-09-22 22:08:44 +03:00
Maksim Kita
7eca0a1486
Merge pull request #29258 from vdimir/fuse-quantileBFloat16Weighted
...
Add NameQuantileBFloat16Weighted to GatherFunctionQuantileVisitor
2021-09-22 20:38:55 +03:00
Filatenkov Artur
1fe4555dec
Merge branch 'ClickHouse:master' into add_CORS
2021-09-22 19:55:15 +03:00
tavplubix
ba82781e11
Merge pull request #29061 from ClickHouse/remove_some_trash
...
Fix `system.distributed_ddl_queue`
2021-09-22 16:58:29 +03:00
Nikolay Degterinsky
bdc0d65c6b
Fixes after merge
2021-09-22 16:57:17 +03:00
vdimir
eb1053d931
Add NameQuantileBFloat16Weighted to GatherFunctionQuantileVisitor
2021-09-22 15:53:39 +03:00
Nikolai Kochetov
81bf13a247
Refactor pushing to views.
2021-09-22 13:57:00 +03:00
Nikolay Degterinsky
1b1d90deb8
Merge branch 'master' into query_parameters
2021-09-22 13:53:56 +03:00
Maksim Kita
92fd6b376f
Updated bloom filter index for map type to work with mapKeys function
2021-09-22 12:45:48 +03:00
Kseniia Sumarokova
192c5397cc
Merge pull request #29211 from kssenii/better-retries-2
...
Fix retries for disk web
2021-09-22 12:37:25 +03:00
Maksim Kita
19d70158fe
Merge pull request #29215 from ClickHouse/bloom-filter-index-map-data-type
...
Merging #28634
2021-09-21 20:31:14 +03:00
Kevin Michel
008c3c812b
Allow non-replicated ALTER TABLE FETCH/ATTACH in Replicated databases
...
`ALTER TABLE ... FETCH` and `ALTER TABLE ... ATTACH` queries were
disabled in the Replicated database engine, because it could cause
accidental duplication of data.
This enables these queries but without replicating them.
In the case of `FETCH`, the part will only be fetched on the server
where the query is issued.
Similarly, in the case of `ATTACH`, the attached part only needs to
be available on the server where the query is issued.
If the table itself is using one of the Replicated MergeTree engines,
the attached data is then replicated by the table engine itself,
without intervention of the database engine.
This change is meant to help with live backup/restore when using the
Replicated database engine, using FREEZE for backup and ATTACH for
restore.
2021-09-21 17:45:23 +02:00
Nikita Mikhaylov
7878d848ab
Merge pull request #29207 from bharatnc/ncb/run-ya-make
...
Update outdated ya.make files
2021-09-21 16:07:56 +03:00
Maksim Kita
15c9315ea1
MergeTreeIndexConditionBloomFilter updated for Map data type
2021-09-21 15:07:59 +03:00
Kseniia Sumarokova
17b1dd4bc6
Merge branch 'master' into better-retries-2
2021-09-21 13:55:53 +03:00
Anton Popov
ea4fd19e28
Merge pull request #29087 from CurtizJ/asyn-inserts-follow-up
...
Minor enhancements in async inserts
2021-09-21 13:38:52 +03:00
Nikolai Kochetov
02e5e662fd
Refactor a little bit.
2021-09-21 13:35:41 +03:00
kssenii
975033e6e3
Fix
2021-09-21 09:44:54 +00:00
Vladimir C
bc7c41efff
Merge pull request #26657 from hexiaoting/fuse_quantile
2021-09-21 12:33:07 +03:00
Nikolai Kochetov
0308f14bea
Fix another one test.
2021-09-21 11:01:00 +03:00
fuwhu
8962672e59
add bloom filter skip index for map data type.
2021-09-21 10:59:16 +03:00
Nikolai Kochetov
12a4c74af0
Fix more tests again
2021-09-21 09:57:55 +03:00
tavplubix
5f4c665c76
Merge pull request #29201 from ClickHouse/follow_up_to_28373
...
Follow up to #28373
2021-09-21 08:26:15 +03:00
bharatnc
51e45050c1
Update outdated ya.make files
...
This runs the `utils/generate-ya-make/generate-ya-make.sh` script to
update the ya.make files that are not updated.
I wonder why they were not updated and how it was missed.
2021-09-20 18:28:07 -07:00
Nikolai Kochetov
4e7d5191e3
Fix more tests
2021-09-20 22:07:33 +03:00
Nikolai Kochetov
d391e3419e
Fixing build.
2021-09-20 20:54:01 +03:00
Anton Popov
83e45adad6
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-20 20:04:50 +03:00
kssenii
f312760dca
Better
2021-09-20 19:57:15 +03:00
Alexander Tokmakov
4087de5439
follow up to 28373
2021-09-20 19:44:00 +03:00
Nikolai Kochetov
a790d391c0
Merge branch 'master' into rewrite-pushing-to-views
2021-09-20 19:43:15 +03:00
tavplubix
8adfb9b593
Stop ThreadFuzzer before hung check ( #29167 )
...
* stop ThreadFuzzer before hung check
* fix
* fix
2021-09-20 17:23:10 +03:00
Nikolai Kochetov
00dba6e745
Fix crash in kill
2021-09-20 16:08:52 +03:00
tavplubix
66bc619c3e
Merge pull request #28983 from ClickHouse/func_zookeeper_session_uptime
...
Add function zookeeperSessionUptime(), fix some flaky tests
2021-09-20 14:47:49 +03:00
tavplubix
922cf7ee20
Merge pull request #28373 from ClickHouse/tables_topsort
...
Resolve table dependencies on metadata loading
2021-09-20 14:46:47 +03:00
alesapin
a249dcc5f5
Merge pull request #28301 from kssenii/materialized-postgresql
...
MaterializedPostgreSQL: allow dynamically adding/deleting tables, altering settings
2021-09-20 14:16:29 +03:00
Nikolai Kochetov
4eba3fcc8a
Fix even more tests.
2021-09-20 12:48:53 +03:00
alexey-milovidov
5f5b96aa57
Merge pull request #28982 from vdimir/issue-28660-pmj-fuzz
...
Add additional checkTypesOfKeys to JoiningTransform::transformHeader
2021-09-20 12:30:00 +03:00
Maksim Kita
c2088678ed
Merge pull request #28803 from kitaisreal/executable-user-defined-functions
...
Executable user defined functions
2021-09-20 12:11:15 +03:00
Nikolai Kochetov
9398c22aae
Fix more tests.
2021-09-20 12:05:34 +03:00
vdimir
091ce151bf
Avoid cycles in optimizeFuseQuantileFunctions
2021-09-20 11:39:29 +03:00
Nikolai Kochetov
2b7d71d3a2
Fix some other tests.
2021-09-19 23:15:10 +03:00
Alexey Milovidov
894f4908fa
Add comments
2021-09-19 22:26:16 +03:00
Nikolai Kochetov
c1f0ba1f92
Fix some tests.
2021-09-19 21:53:36 +03:00
Anton Popov
e3e6258b95
Merge pull request #29163 from CurtizJ/small-refactoring
...
Slightly better code near reading of subcolumns
2021-09-19 16:14:52 +03:00
Anton Popov
1c80a95b36
slightly better code near reading of subcolumns
2021-09-18 22:34:54 +03:00
Artur
82a849ba8e
add options method
2021-09-18 09:36:02 +00:00
Alexander Tokmakov
3bca886174
remove some trash
2021-09-17 22:29:10 +03:00
Nikolai Kochetov
a8443bef4d
Fix build.
2021-09-17 20:52:26 +03:00
Nicolae Vartolomei
9a02061d9c
Rewrite part movement between shards logic and add kill support
...
See https://github.com/ClickHouse/ClickHouse/pull/24585#issuecomment-857735081
for extra context about the current implementation.
2021-09-17 18:11:32 +01:00
Maksim Kita
784a4a33e0
Fixed tests
2021-09-17 18:43:00 +03:00
Maksim Kita
85a4d4bb50
Added user defined executable functions to system.functions
2021-09-17 18:43:00 +03:00
Maksim Kita
ca395e9678
Fixed tests
2021-09-17 18:43:00 +03:00
Maksim Kita
ca3fc352d6
Fixed tests
2021-09-17 18:43:00 +03:00
Maksim Kita
581f051f37
Fixed build
2021-09-17 18:43:00 +03:00
Maksim Kita
769fab62e3
UserDefinedExecutableFunction added send_chunk_header option
2021-09-17 18:43:00 +03:00
Maksim Kita
3852954b49
Fixed build
2021-09-17 18:43:00 +03:00
Maksim Kita
bb3bc6722a
UserDefinedExecutableFunction added support for process pool
2021-09-17 18:43:00 +03:00
Maksim Kita
93ecbf3ae4
Added tests
2021-09-17 18:42:59 +03:00
Maksim Kita
de20e04dfd
Added executable user defined functions
2021-09-17 18:42:59 +03:00
Nikolai Kochetov
618d4d863e
Restore InterpreterInsertQuery
2021-09-17 15:59:40 +03:00
Nikolai Kochetov
a8c3b02598
Merge branch 'master' into rewrite-pushing-to-views
2021-09-17 15:38:11 +03:00
Nikolai Kochetov
6e0ac024a2
Maybe fix some build.
2021-09-17 15:05:54 +03:00
Nikolai Kochetov
58bb5fe462
Fix some tests.
2021-09-17 14:40:03 +03:00
anneji
258159e13d
add default database for alter table
2021-09-17 17:30:17 +08:00
Nikita Mikhaylov
c52b8ec083
Introduced MergeTask and MutateTask ( #25165 )
...
Introduced MergeTask and MutateTask
2021-09-17 00:19:58 +03:00
Anton Popov
99175f7acc
minor enhancements in async inserts
2021-09-16 20:55:34 +03:00
Nikolai Kochetov
341553febd
Fix build.
2021-09-16 20:40:42 +03:00
kssenii
c88dc460d4
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-16 16:13:04 +00:00
Anton Popov
77a995381b
Merge pull request #28975 from ClickHouse/check-what-if-do-not-add-const-agg-keys-with-having
...
Don not add const group by key for query with only having.
2021-09-16 18:33:53 +03:00
vdimir
661a54827b
Do not throw LOGICAL_ERROR from fuse quantile for illegal params
2021-09-16 16:06:02 +03:00
Alexander Tokmakov
d0c3b87d84
improvements
2021-09-16 00:17:54 +03:00
Nikolai Kochetov
e616732743
Small refactoring.
2021-09-15 22:35:48 +03:00
Alexander Tokmakov
5c605189ac
Merge branch 'master' into func_zookeeper_session_uptime
2021-09-15 21:10:06 +03:00
kssenii
489a92c067
Review fixes
2021-09-15 18:36:49 +03:00
Anton Popov
f6191b98e7
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-15 17:47:22 +03:00
Anton Popov
8970dcdaf5
fix throwing exception for multiple clients in async inserts
2021-09-15 17:19:28 +03:00
Nikolay Degterinsky
f275c66428
Fix algorithm
2021-09-15 17:08:47 +03:00
Kruglov Pavel
8d1bf1b675
Merge pull request #29008 from vdimir/issue-26980-join-id-alias
...
Do not replaceAliasColumnsInQuery for JOIN OR/USING sections
2021-09-15 16:27:46 +03:00
Nikita Mikhaylov
2684d06b51
Merge pull request #27135 from FArthur-cmd/compressed_output_formats_3473
...
compress INTO OUTFILE with parameter compress
2021-09-15 16:25:13 +03:00
Nikolay Degterinsky
24e515df05
Merge branch 'master' into query_parameters
2021-09-15 16:15:50 +03:00
vdimir
cd7fb8132d
Split GatherFunctionQuantileVisitor to h/cpp, fix fuzzed bugs
2021-09-15 15:15:42 +03:00
kssenii
710c8d12dd
Merge branch 'master' of github.com:ClickHouse/ClickHouse into materialized-postgresql
2021-09-15 12:28:09 +03:00
Maksim Kita
69e59f34da
Merge pull request #29014 from vdimir/issue-29007-dict-join-strictness
...
Check left join strictness in tryInitDictJoin
2021-09-15 11:11:30 +03:00
Anton Popov
9646edf3dc
fix possible race in AsynchronousInsertQueue
2021-09-15 02:54:10 +03:00
Anton Popov
fc17936c12
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-14 23:02:30 +03:00
Nikolai Kochetov
b997214620
Rename QueryPipeline to QueryPipelineBuilder.
2021-09-14 20:48:18 +03:00
Nikolai Kochetov
7fc830ae2b
Rename QueryPipeline to QueryPipelineBuilder.
2021-09-14 19:28:41 +03:00
mergify[bot]
fa903ac255
Merge branch 'master' into describe-with-subcolumns
2021-09-14 14:43:29 +00:00
Nikolai Kochetov
0e267c50b4
Merge branch 'master' into rewrite-pushing-to-views
2021-09-14 16:13:54 +03:00
vdimir
a3304a87a4
Rename optimize_syntax_fuse_aggregate -> optimize_syntax_fuse_functions
2021-09-14 15:27:12 +03:00
vdimir
a1463d5719
Merge remote-tracking branch 'origin/master' into fuse_quantile
2021-09-14 15:23:06 +03:00
vdimir
5a1aeeb044
Use optimize_syntax_fuse_aggregate
instead of optimize_fuse_sum_count_avg
and optimize_fuse_quantile
2021-09-14 15:21:16 +03:00
vdimir
a3db56f056
Revert "fuse multi setting options into one when Optimize"
...
This reverts commit bbd7799375
.
2021-09-14 15:12:21 +03:00
vdimir
2aef13e802
Update error messages for logical errors in HashJoin
2021-09-14 15:05:09 +03:00
vdimir
32e8c11cab
Check left join strictness in tryInitDictJoin
2021-09-14 15:04:45 +03:00
Nikita Mikhaylov
58f2504a56
Update ya.make
2021-09-14 12:00:32 +00:00
vdimir
3d2d994c5d
Skip JOIN OR/USING sections in replaceAliasColumnsInQuery
2021-09-14 14:13:19 +03:00
Nikolai Kochetov
6847610ed3
Merge pull request #28997 from ClickHouse/fix-num-threads-in-global-in-subquery
...
Fix num threads in global in subquery
2021-09-14 13:53:54 +03:00
hexiaoting
bbd7799375
fuse multi setting options into one when Optimize
2021-09-14 18:51:13 +08:00
vdimir
a7f770ecb7
Do not replaceAliasColumnsInQuery for JOIN OR/USING sections
2021-09-14 13:08:20 +03:00
vdimir
1fdbb9509f
Add additional checkTypesOfKeys to JoiningTransform::transformHeader
2021-09-14 11:03:22 +03:00
Kseniia Sumarokova
d3e604e14b
Merge pull request #28603 from kssenii/fix-web-disk-2
...
Some fixes for static files disk
2021-09-14 08:24:24 +03:00
alesapin
abe314feec
Merge pull request #28962 from azat/create-settings
...
Apply settings from CREATE AS SELECT queries
2021-09-13 22:14:21 +03:00
Alexander Tokmakov
df56e99b87
fixes after review
2021-09-13 22:11:16 +03:00
Nikolai Kochetov
68bf657c29
Fix the number of threads used in GLOBAL IN.
2021-09-13 20:53:09 +03:00
Alexander Tokmakov
8ac19caca9
Merge branch 'master' into tables_topsort
2021-09-13 16:58:39 +03:00
Alexander Tokmakov
ee8cb93004
add function zookeeperSessionUptime()
2021-09-13 15:19:37 +03:00
Nikolai Kochetov
f4b47ca194
Don not add const group by key for query with only having.
2021-09-13 13:35:36 +03:00
Nikolay Degterinsky
84aea776c2
Merge branch 'master' into query_parameters
2021-09-13 12:54:48 +03:00
mergify[bot]
d731bf6c4d
Merge branch 'master' into compressed_output_formats_3473
2021-09-13 09:14:35 +00:00
Maksim Kita
e9d7dfeeb1
Merge pull request #28863 from kitaisreal/column-default-dict-get-identifier-fix
...
Column default dictGet identifier fix
2021-09-13 10:56:39 +03:00
Azat Khuzhin
dad02452c8
Apply settings from CREATE AS SELECT queries
2021-09-13 10:10:00 +03:00
kssenii
9ec6a9b4c9
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-web-disk-2
2021-09-13 08:32:34 +03:00
kssenii
6fba81191f
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-12 21:48:27 +00:00
alexey-milovidov
60f76d9254
Merge pull request #28759 from nikitamikhaylov/enable-gcc-11
...
Switch CI to GCC-11
2021-09-12 15:56:57 +03:00
alexey-milovidov
f066edc43c
Merge pull request #28910 from ClickHouse/fix-trash-optimization
...
Fix bad optimization of ORDER BY in subquery if it contains WITH FILL
2021-09-12 15:27:53 +03:00
alexey-milovidov
ea13a8b562
Merge pull request #28659 from myrrc/improvement/tostring_to_magic_enum
...
Improving CH type system with concepts
2021-09-12 15:26:29 +03:00
mergify[bot]
e52f5fdfce
Merge branch 'master' into fix-web-disk-2
2021-09-12 01:21:40 +00:00
Alexey Milovidov
e3611cccce
Fix yet another issue
2021-09-12 02:55:53 +03:00
Alexey Milovidov
8935a70f60
Fix another misoptimization
2021-09-12 01:41:37 +03:00
Alexey Milovidov
d85588210d
Fix bad optimization of ORDER BY in subquery if it contains WITH FILL
2021-09-12 01:24:20 +03:00
Alexey Milovidov
526c7253d0
Fix wrong optimization
2021-09-12 01:15:37 +03:00
Anton Popov
02a7edf902
allow to include subccolumns in describe query
2021-09-12 00:07:33 +03:00
Anton Popov
a4153e5629
Merge pull request #28853 from ClickHouse/fix_logical_race_on_dictionaries_loading
...
Fix logical race on dictionaries loading
2021-09-11 23:41:30 +03:00
Mike Kot
3401b32e37
Adapted usage of is_decimal concept
2021-09-11 19:35:12 +02:00
mergify[bot]
267e56df8c
Merge branch 'master' into fix-web-disk-2
2021-09-11 15:45:43 +00:00
kssenii
6f04e87bc3
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-11 14:54:57 +00:00
Alexey Milovidov
7e084304fb
Skip "no data" exception when reading thermal sensors
2021-09-11 10:03:06 +03:00
Mike Kot
bce011cb33
Replacing IsDecimalNumber
2021-09-11 00:40:18 +02:00
Mike Kot
c4385a2c40
Simplifying exception messages
2021-09-11 00:40:18 +02:00
Nikolay Degterinsky
35db28321e
Fix tests
2021-09-10 19:35:56 +03:00
Nikolai Kochetov
3a9d88fbc9
Fix more tests.
2021-09-10 17:52:24 +03:00
Maksim Kita
a87ffdff92
Column default dictGet identifier fix
2021-09-10 17:41:09 +03:00
Nikolai Kochetov
e6938127a6
Fix some resouces.
2021-09-10 15:38:30 +03:00
Anton Popov
e9a4871b65
fix write buffer usage
2021-09-10 14:56:45 +03:00
kssenii
939032b0eb
Slightly better
2021-09-10 13:41:41 +03:00
Anton Popov
5cff615eca
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-10 13:40:48 +03:00
Anton Popov
29f327fa60
fix data race in async inserts
2021-09-10 13:24:09 +03:00
Alexander Tokmakov
3f8fb1e562
Merge branch 'master' into tables_topsort
2021-09-10 13:16:41 +03:00
Alexander Tokmakov
d82a794e8c
fix logical race on dictionaries loading
2021-09-10 12:54:22 +03:00
Nikolai Kochetov
bc7c70f93f
Try to fix build.
2021-09-10 12:03:45 +03:00
mergify[bot]
937eeb9fed
Merge branch 'master' into enable-gcc-11
2021-09-09 22:44:10 +00:00
Maksim Kita
bdbf0c1967
Merge pull request #28821 from azat/compile-short-circuit-eval
...
Fix expressions compilation with short circuit evaluation
2021-09-10 00:49:00 +03:00
Azat Khuzhin
63e14fc389
Fix expressions compilation with short circuit evaluation
...
Before this patch, you may get the following error:
Column Function is not a contiguous block of memory
Since under short circuit evaluation you may get Function not the
result.
2021-09-09 22:43:11 +03:00
Azat Khuzhin
c24a3bb67d
FIx formatting for getCompilableDAG()
2021-09-09 22:42:51 +03:00
Maksim Kita
734c80431c
Merge pull request #28137 from amosbird/reloadsymbolcache
...
Reload stacktrace cache when symbol is reloaded.
2021-09-09 22:20:11 +03:00
Nikolai Kochetov
f569a3e3f7
Merge branch 'master' into rewrite-pushing-to-views
2021-09-09 20:30:23 +03:00
Nikolai Kochetov
50562da6df
More refactoring.
2021-09-09 20:08:49 +03:00
Anton Popov
8cb02a4b27
add some comments
2021-09-09 19:10:53 +03:00
Nikita Mikhaylov
513d40feb2
Fix build
2021-09-09 14:59:25 +00:00
kssenii
1838a8672d
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-09 12:43:45 +00:00
kssenii
0c013ed91b
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-web-disk-2
2021-09-09 15:26:36 +03:00
kssenii
904cf74159
Merge branch 'master' of github.com:ClickHouse/ClickHouse into materialized-postgresql
2021-09-09 15:26:20 +03:00
Nikolai Kochetov
13eb93a9c0
Merge pull request #28700 from amosbird/projection-fix16
...
Fix crash on exception with projection aggregate
2021-09-09 15:24:05 +03:00
Anton Popov
8e5b3b2f6c
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-09 15:12:34 +03:00
Nikolai Kochetov
abfb1d20ea
Merge pull request #25734 from vdimir/join-arrayjoin-type-cast
...
Move join type inference to ExpressionAnalyzer from syntax stage + small refactor
2021-09-09 14:38:43 +03:00
tavplubix
341a6c51d6
Merging #24866 ( #28691 )
...
* Add StorageSystemISTables.cpp/.h
* Another attempt
* Columns and Views
* Add information schema db and fix information schema 'tables' table
* fix build
* remove copy-paste, add views to system tables
* add test
* fix
* fix_tests
Co-authored-by: Damir Petrov <petrovdamir2235@gmail.com>
Co-authored-by: Damir Petrov <0442a403@verstehen.sas.yp-c.yandex.net>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-09-09 12:37:51 +03:00
kssenii
f26da04cdf
Fix checks
2021-09-09 09:53:58 +03:00
Amos Bird
91293c7449
Fix crash on exception with projection aggregate
2021-09-09 10:43:56 +08:00
mergify[bot]
c02953b59a
Merge branch 'master' into reloadsymbolcache
2021-09-08 23:25:53 +00:00
kssenii
bed2688dad
Review fixes
2021-09-09 01:25:08 +03:00
kssenii
797f858bc6
Merge branch 'master' of github.com:ClickHouse/ClickHouse into materialized-postgresql
2021-09-08 22:52:48 +03:00
Nikolai Kochetov
999a4fe831
Fix other tests.
2021-09-08 21:29:38 +03:00
kssenii
6108a4139c
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-web-disk-2
2021-09-08 20:54:07 +03:00
Filatenkov Artur
cdb1a0504f
Merge branch 'master' into compressed_output_formats_3473
2021-09-08 18:46:48 +03:00
Anton Popov
1f41f4541f
change timeouts in async insert to milliseconds
2021-09-08 18:30:04 +03:00
Anton Popov
f864c4252a
support adding defaults in async inserts
2021-09-08 17:08:57 +03:00
mergify[bot]
64fb384656
Merge branch 'master' into global-merge-executor
2021-09-08 13:15:38 +00:00
Nikita Mikhaylov
3b7fa06540
Review fixes
2021-09-08 12:42:03 +00:00
mergify[bot]
9f0c50335f
Merge branch 'master' into tables_topsort
2021-09-08 10:55:11 +00:00
Anton Popov
5d33baab5f
Merge pull request #28658 from CurtizJ/fix-or-to-in
...
Fix optimization of disjunctions chain in distributed queries
2021-09-08 13:26:45 +03:00
Nikita Mikhaylov
6062dd0021
Better
2021-09-08 00:21:21 +00:00
Vitaly Baranov
59148fa453
Merge pull request #22415 from Enmk/governance/session_log
...
Governance/session log
2021-09-07 22:09:32 +03:00
mergify[bot]
771ae92c8e
Merge branch 'master' into global-merge-executor
2021-09-07 14:52:33 +00:00
Dmitry Novik
99dc685146
Merge pull request #28315 from amosbird/indexfix
...
Fix NOT-IN index optimization when not all key columns are used.
2021-09-07 11:58:30 +03:00
Vitaly Baranov
70c6623036
Merge branch 'master' into governance/session_log
2021-09-07 10:12:54 +03:00
Vitaly Baranov
bcc31f1f3e
Remove unnecessary changes.
2021-09-07 01:37:28 +03:00
Nikolay Degterinsky
22f59e1714
Add support for table and database query parameters
2021-09-07 01:19:02 +03:00
Nikolai Kochetov
f34cb097d8
Fix some tests.
2021-09-06 23:13:06 +03:00
kssenii
7bea8200d8
Revert "Merge pull request #28082 from zhongyuankai/add-system-of-table_views"
...
This reverts commit e5bcfba89e
, reversing
changes made to d77f243651
.
2021-09-06 19:20:33 +00:00
Nikita Mikhaylov
7c39f84a5e
Merge upstream/master into global-merge-executor (using imerge)
2021-09-06 15:37:18 +00:00
Mike Kot
8e9aacadd1
Initial: replacing hardcoded toString for enums with magic_enum
2021-09-06 16:24:03 +02:00
Anton Popov
47f46e388d
fix optimization of disjunctions chain
2021-09-06 16:54:26 +03:00
alesapin
2a851546c7
Merge pull request #28648 from ClickHouse/add_missed_level_to_text_log
...
Add missed log level into TextLog
2021-09-06 16:16:25 +03:00
Nikita Mikhaylov
ea0fbf81af
Renaming
2021-09-06 12:01:16 +00:00
alesapin
209b748fca
Add missed level
2021-09-06 13:11:19 +03:00
Amos Bird
18a7adf0fa
Fix NOT-IN index optimization when not all keys are used.
2021-09-06 12:21:03 +08:00
kssenii
d0113743c9
Merge branch 'master' of github.com:ClickHouse/ClickHouse into materialized-postgresql
2021-09-05 01:07:31 +03:00
kssenii
1c20b223cb
Merge branch 'master' of github.com:ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-09-04 20:01:31 +03:00
kssenii
97e0a0310a
Slightly better
2021-09-04 12:02:07 +03:00
Azat Khuzhin
bf6ba796f8
Fix UUID overlap in DROP TABLE for internal DDL from MaterializeMySQL
...
This will fix race with DatabaseCatalog::loadMarkedAsDroppedTables(),
since MaterializeMySQL, and MaterializedMySQLSyncThread in background,
will be started earlier then
DatabaseCatalog::loadMarkedAsDroppedTables() and will move those tables
to metadata_dropped, and after loadMarkedAsDroppedTables() will start
and try to load partially dropped tables and will hit UUID overlap:
12:02:51.536783 [ 3026034 ] {} <Information> Application: starting up
12:02:53.019282 [ 3026034 ] {} <Information> DatabaseMaterializeMySQL<Atomic> (mysql): Total 9 tables and 0 dictionaries.
12:02:53.041699 [ 3026200 ] {} <Debug> mysql.data (7143b65f-6982-4600-b143-b65f6982e600): Loading data parts
12:02:53.041740 [ 3026200 ] {} <Debug> mysql.data (7143b65f-6982-4600-b143-b65f6982e600): There are no data parts
12:02:53.620382 [ 3026034 ] {} <Information> DatabaseMaterializeMySQL<Atomic> (mysql): Starting up tables.
12:03:00.669730 [ 3026183 ] {} <Debug> executeQuery: (internal) /*Materialize MySQL step 1: execute MySQL DDL for dump data*/ DROP TABLE mysql.data
12:03:00.741894 [ 3026269 ] {} <Information> DatabaseCatalog: Trying load partially dropped table mysql.data (7143b65f-6982-4600-b143-b65f6982e600) from /var/lib/clickhouse/metadata_dropped/mysql.data.7143b65f-6982-4600-b143-b65f6982e600.sql
12:03:00.742582 [ 3026269 ] {} <Debug> mysql.data (7143b65f-6982-4600-b143-b65f6982e600): Loading data parts
12:03:00.742650 [ 3026269 ] {} <Debug> mysql.data (7143b65f-6982-4600-b143-b65f6982e600): There are no data parts
12:03:00.773137 [ 3026034 ] {} <Error> Application: Caught exception while loading metadata: Code: 57, e.displayText() = DB::Exception: Mapping for table with UUID=7143b65f-6982-4600-b143-b65f6982e600 already exists. It happened due to UUID collision, most likely because some not random UUIDs were manually specified in CREATE queries., Stack trace (when copying this message, always include the lines below):
12:03:01.224557 [ 3026034 ] {} <Error> Application: DB::Exception: Mapping for table with UUID=7143b65f-6982-4600-b143-b65f6982e600 already exists. It happened due to UUID collision, most likely because some not random UUIDs were manually specified in CREATE queries.
Cc: @zhang2014
2021-09-04 10:41:28 +03:00
Anton Popov
275118b0e8
fix data race in InsertQuery
2021-09-04 03:57:05 +03:00
Anton Popov
59128412ea
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-03 22:17:11 +03:00
Maksim Kita
838b823f22
Merge pull request #28236 from kitaisreal/jit-custom-memory-manager
...
CHJIT custom memory manager
2021-09-03 21:46:18 +03:00
Nikolai Kochetov
66a76ab70f
Rewrite PushingToViewsBlockOutputStream part 6
2021-09-03 20:29:36 +03:00
Anton Popov
7d57aba4f9
add system table asynchronous_inserts
2021-09-03 19:46:09 +03:00
Anton Popov
c9a0cc5ce9
fix race on table schema in insert-select
2021-09-03 17:23:21 +03:00
alesapin
dd7493d871
Merge pull request #27038 from excitoon-favorites/altermaterializecolumn
...
`ALTER TABLE ... MATERIALIZE COLUMN`
2021-09-03 15:50:52 +03:00
Maksim Kita
7071ef80d0
Fixed typos
2021-09-03 12:06:16 +03:00
kssenii
fbd2f40b05
Fix
2021-09-03 09:04:46 +00:00
kssenii
f17d1bc7a5
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into materialized-postgresql
2021-09-03 09:03:48 +00:00
Maksim Kita
c03bcc7c0f
Fixed tests
2021-09-03 11:56:51 +03:00
Nikita Mikhaylov
292a24abe8
Merge upstream/master into global-merge-executor (using imerge)
2021-09-03 00:34:24 +00:00
Nikita Mikhaylov
a6fe91ca47
get rid of half of allocations
2021-09-02 17:40:29 +00:00
Alexander Tokmakov
666a3aee99
add another test
2021-09-02 16:34:46 +03:00
Maksim Kita
f9ca726bf7
PageArena updated implementation
2021-09-02 16:31:50 +03:00
Maksim Kita
0a12592b50
UserDefinedFunctionFactory added comments
2021-09-02 14:37:06 +03:00
Nikolai Kochetov
358babc31b
Rewrite PushingToViewsBlockOutputStream part 5.
2021-09-02 14:29:20 +03:00
Amos Bird
163a416366
Refactor
2021-09-02 19:29:14 +08:00
Nikita Mikhaylov
7f21cd7f3d
save
2021-09-02 10:39:27 +00:00
Alexander Tokmakov
024a24aaf7
better code, moar logging
2021-09-02 12:19:37 +03:00
Anton Popov
37f2a0a021
fix reset of parser
2021-09-02 04:45:28 +03:00
Anton Popov
5e421ab272
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-02 02:42:50 +03:00
Anton Popov
7c42ce8370
improvements of async inserts
2021-09-02 02:18:09 +03:00
Maksim Kita
be4c9102d8
Merge pull request #28438 from azat/udf-race-fix-v2
...
Fix race in UDF (follow up)
2021-09-01 23:57:05 +03:00
Nikolai Kochetov
79ecb6667e
Rewrite PushingToViewsBlockOutputStream part 4.
2021-09-01 21:41:50 +03:00
Anton Popov
5e694596c9
minor changes near async inserts
2021-09-01 18:06:11 +03:00
Nikita Mikhaylov
ceab6feb2a
Fix test
2021-09-01 12:35:37 +00:00
vdimir
bf9cb8482b
Revert "Add option to getMostSubtype/getLeastSupertype to not throw exception"
...
This reverts commit c4654d6b45
.
2021-09-01 15:08:59 +03:00
vdimir
6172cc1676
Fix build, inferJoinKeyCommonType definition
2021-09-01 15:08:58 +03:00
vdimir
ac17c0c817
Minor style src/Interpreters/TableJoin.cpp
2021-09-01 15:08:58 +03:00
vdimir
2a1c7d7336
fix typo in tryInitDictJoin
2021-09-01 15:05:48 +03:00
vdimir
450e49fd28
Throw type mismatch exception from inferJoinKeyCommonType
2021-09-01 15:05:48 +03:00
vdimir
df873866c9
Don't store converting actions in TableJoin
2021-09-01 15:05:48 +03:00
vdimir
ed8c156190
Clean up TableJoin storage join
2021-09-01 15:05:47 +03:00
vdimir
13bf141e1d
Fix storage_join type inference
2021-09-01 15:05:47 +03:00
vdimir
c4ffc2879f
Perform join type inference for USING at ExpressionAnalyzer instead of TreeRewriter
2021-09-01 15:05:47 +03:00
vdimir
33ebdb283c
Split ExpressionAnalyzer::analyzeAggregation
2021-09-01 15:05:47 +03:00
Alexander Tokmakov
f8ea865283
fix watch leak in DDLWorker
2021-09-01 12:18:28 +03:00
Azat Khuzhin
99fe4308b5
Fix race in UDF (follow up)
2021-09-01 10:38:46 +03:00
Nikita Mikhaylov
c7727f093d
Merge upstream/master into global-merge-executor (using imerge)
2021-08-31 23:34:11 +00:00
alexey-milovidov
77d085f264
Merge pull request #27527 from evillique/log_queries_probability
...
Add log_queries_probability setting
2021-09-01 00:51:23 +03:00
Vladimir C
94d5f3a87b
Merge pull request #28349 from vdimir/issue-27691-qf
...
Fix non joined rows from nullable column
2021-08-31 17:09:24 +03:00
Vladimir C
3768bde572
Remove extra space in src/Interpreters/join_common.cpp
2021-08-31 17:08:35 +03:00
Vasily Nemkov
109d2f63d0
Fixed tests and minor style issues
2021-08-31 15:39:15 +03:00
vdimir
e8e26463bf
Change signature of ASTSelectQuery::arrayJoinExpressionList
2021-08-31 15:27:44 +03:00
vdimir
34b9bd7d33
Fix build: missing argument in inferJoinKeyCommonType
2021-08-31 15:27:44 +03:00
vdimir
3443b3b5c4
Separate functoin buildJoinedPlan, minor refactoring
2021-08-31 15:27:44 +03:00
vdimir
30e112d6a6
Do not convert join key columns for storage/dict join
2021-08-31 15:27:43 +03:00
vdimir
c4654d6b45
Add option to getMostSubtype/getLeastSupertype to not throw exception
2021-08-31 15:27:25 +03:00
vdimir
becd288cb9
Try to remove useless applyJoinKeyConvert
2021-08-31 15:18:44 +03:00
Alexander Tokmakov
c8d8f0a38c
fix
2021-08-31 15:07:00 +03:00
Nikita Mikhaylov
f8d4f04294
Merge upstream/master into global-merge-executor (using imerge)
2021-08-31 11:52:11 +00:00
alesapin
525999145e
Merge pull request #26791 from ClickHouse/async-reads
...
Experiment with asynchronous readers
2021-08-31 13:17:45 +03:00
Maksim Kita
4ebd0ae941
Merge pull request #28102 from ClickHouse/executable-table-function
...
Merging #23192
2021-08-31 12:00:50 +03:00
hexiaoting
8456fdd758
Fix compiler error
2021-08-31 11:35:25 +08:00
Anton Popov
fb0790cf82
slightly better
2021-08-31 05:35:36 +03:00
Anton Popov
36ac20681e
refactor AsynchronousInsertQueue
2021-08-31 05:16:02 +03:00
Alexey Milovidov
ca6f6306f3
Merge branch 'master' into async-reads
2021-08-31 02:52:58 +03:00
Maksim Kita
c1482ee45b
CHJIT added PageArena
2021-08-30 22:42:35 +03:00
Nikita Mikhaylov
c4416906c8
done
2021-08-30 19:37:03 +00:00
Alexander Tokmakov
b387f05d9c
resolve table dependencies on metadata loading
2021-08-30 22:29:22 +03:00
Vasily Nemkov
3ca0b0c860
Fixed GCC-9 build
2021-08-30 19:08:02 +03:00
alexey-milovidov
ea84b939c2
Merge pull request #28333 from DimasKovas/try_to_fix_arcadia_2_30_08_2021
...
Try to fix arcadia build
2021-08-30 18:53:14 +03:00
Vasily Nemkov
c902afddde
Added system.session_log table
...
Which logs all the info about LogIn, LogOut and LogIn Failure events.
Additional info that is logged:
- User name
- event type (LogIn, LogOut, LoginFailure)
- Event date\time\time with microseconds
- authentication type (same as for IDENTIFIED BY of CREATE USER statement)
- array of active settings profiles upon login
- array of active roles upon login
- array of changed settings with corresponding values
- client address and port
- interface (TCP\HTTP\MySQL\PostgreSQL, etc.)
- client info (name, version info)
- optional LoginFailure reason text message.
Added some tests to verify that events are properly saved with all necessary info via following interfaces:
- TCP
- HTTP
- MySQL
Known limitations
- Not tested against named HTTP sessions, PostgreSQL and gRPC, hence those are not guaranteed to work 100% properly.
2021-08-30 18:28:28 +03:00
Anton Popov
8f60c4b8d2
remove stale loogs from asynchronous insertion queue
2021-08-30 16:37:27 +03:00
vdimir
943b71e4ff
Fix non joined rows from nullable column
2021-08-30 16:33:01 +03:00
Kseniia Sumarokova
00bea71610
Merge pull request #25251 from kssenii/disk-over-web-server
...
ClickHouse over web server with static files
2021-08-30 16:18:59 +03:00
tavplubix
b47f34aa17
Merge pull request #28313 from amosbird/fastload
...
Fast data parts loading by delaying table startup process
2021-08-30 13:53:55 +03:00
Nikolay Degterinsky
b9ea863a88
Remove unnecessary include
2021-08-30 12:58:56 +03:00
Nikolay Degterinsky
2433d88b82
Merge branch 'master' into log_queries_probability
2021-08-30 12:55:33 +03:00
Nikolay Degterinsky
c9adef001d
Change settings earlier
2021-08-30 12:52:35 +03:00
Dmitrii Kovalkov
2c8e2c6995
Fix arcadia build
2021-08-30 12:19:13 +03:00
Vladimir Chebotarev
de5daa22ab
Revert "MATERIALIZE COLUMN xxx FINAL"
...
This reverts commit bf1430c1ec
.
2021-08-30 11:50:26 +03:00
Vladimir Chebotarev
40bedd88e7
One more fix.
2021-08-30 11:50:01 +03:00
Vladimir Chebotarev
0d6e0181d6
MATERIALIZE COLUMN xxx FINAL
2021-08-30 11:49:59 +03:00
Vladimir Chebotarev
428657b14f
2. Draw the rest of that owl.
2021-08-30 11:49:26 +03:00
Vladimir Chebotarev
ce0850007f
1. Draw some circles.
2021-08-30 11:49:26 +03:00
Dmitrii Kovalkov
8acf0fa16a
run generate-ya-make
2021-08-30 10:57:40 +03:00
hexiaoting
76a4de2a31
Fix bug
2021-08-30 11:02:02 +08:00
Amos Bird
de9e591619
Fast load by delaying table startup
2021-08-30 10:15:32 +08:00
Alexey Milovidov
e4f3d97b52
Merge branch 'master' of github.com:yandex/ClickHouse into async-reads
2021-08-29 21:42:14 +03:00
kssenii
378e1f74aa
Fix tests
2021-08-28 19:51:04 +03:00
kssenii
174340074c
Dynamically add tables complete
2021-08-28 17:35:44 +03:00
kssenii
4cd62227cf
Almost done
2021-08-28 17:34:23 +03:00
zhongyuankai
72e05cda1f
Merge branch 'master' into add-system-of-table_views
2021-08-28 11:32:58 +08:00
Alexey Milovidov
79e0433ba7
Merge branch 'master' of github.com:yandex/ClickHouse into async-reads
2021-08-28 01:19:16 +03:00
Anton Popov
7aec53bb8f
handle all exceptions during async inserts
2021-08-28 01:07:28 +03:00
Anton Popov
9e67943878
add waiting for async inserts
2021-08-28 00:29:10 +03:00
tavplubix
481cc011c7
Merge pull request #28212 from azat/zookeeper_log-improvements
...
zookeeper_log improvements
2021-08-27 16:22:52 +03:00
Maksim Kita
2e4da05708
CHJIT custom memory manager
2021-08-27 13:35:07 +03:00
Nikolai Kochetov
34f4bd3e72
Merge pull request #28178 from amosbird/projection-fix14
...
Projection bug fixes and refactoring.
2021-08-27 11:47:46 +03:00
kssenii
34f9983f14
Merge branch 'master' of github.com:ClickHouse/ClickHouse into interactive-mode-for-clickhouse-local
2021-08-27 09:35:23 +03:00
Anton Popov
e8ac8e3454
execute asynchronous inserts separatly for each client
2021-08-27 06:00:12 +03:00
Alexey Milovidov
7df2532d60
Fix style
2021-08-27 04:29:37 +03:00
Alexey Milovidov
864d01e564
Add pread_fake_async method
2021-08-27 03:35:04 +03:00
Alexey Milovidov
46732e781f
Merge branch 'master' of github.com:yandex/ClickHouse into async-reads
2021-08-27 01:57:48 +03:00
alexey-milovidov
3d38604c55
Update executeQuery.cpp
2021-08-27 00:59:58 +03:00
Azat Khuzhin
5bb0a91f83
Fix system.zookeeper_log.address (Before it always contains "::")
2021-08-27 00:41:06 +03:00
Azat Khuzhin
f342acc2ad
Guard UDF container with a lock
...
Fixes TSAN report [1]:
WARNING: ThreadSanitizer: data race (pid=436)
Write of size 8 at 0x7b040076e450 by thread T240:
...
3 DB::UserDefinedFunctionFactory::registerFunction() obj-x86_64-linux-gnu/../src/Interpreters/UserDefinedFunctionFactory.cpp:30:56 (clickhouse+0x1500727f)
4 DB::InterpreterCreateFunctionQuery::execute() obj-x86_64-linux-gnu/../src/Interpreters/InterpreterCreateFunctionQuery.cpp:37:44 (clickhouse+0x14b1224a)
5 DB::executeQueryImpl() obj-x86_64-linux-gnu/../src/Interpreters/executeQuery.cpp:573:32 (clickhouse+0x15039241)
6 DB::executeQuery() obj-x86_64-linux-gnu/../src/Interpreters/executeQuery.cpp:934:30 (clickhouse+0x150376fa)
7 DB::TCPHandler::runImpl() obj-x86_64-linux-gnu/../src/Server/TCPHandler.cpp:291:24 (clickhouse+0x15a7af2a)
Previous read of size 8 at 0x7b040076e450 by thread T1370:
...
2 DB::UserDefinedFunctionFactory::tryGet() const obj-x86_64-linux-gnu/../src/Interpreters/UserDefinedFunctionFactory.cpp:65:45 (clickhouse+0x150078a4)
3 DB::UserDefinedFunctionsMatcher::tryToReplaceFunction() obj-x86_64-linux-gnu/../src/Interpreters/UserDefinedFunctionsVisitor.cpp:39:73 (clickhouse+0x15007cd0)
4 DB::UserDefinedFunctionsMatcher::visit() obj-x86_64-linux-gnu/../src/Interpreters/UserDefinedFunctionsVisitor.cpp:27:19 (clickhouse+0x15007ba8)
5 DB::InDepthNodeVisitor<>::visit() obj-x86_64-linux-gnu/../src/Interpreters/InDepthNodeVisitor.h:34:13 (clickhouse+0x14fbcba4)
..
24 DB::executeQueryImpl() obj-x86_64-linux-gnu/../src/Interpreters/executeQuery.cpp:543:28 (clickhouse+0x15038f3b)
[1]: https://clickhouse-test-reports.s3.yandex.net/0/df1fe27791f82c2a917390faa30716effbd32b8f/stress_test_(thread).html#fail1
2021-08-27 00:39:11 +03:00
Nikolay Degterinsky
7c66ad051d
Fix
2021-08-26 16:42:49 +03:00
Nikolay Degterinsky
75575505cf
Merge branch 'master' into log_queries_probability
2021-08-26 16:32:49 +03:00
zhongyuankai
042d17531c
system.views add columns type
2021-08-26 20:05:01 +08:00
Amos Bird
0169fce78e
Projection bug fixes and refactoring.
2021-08-26 19:09:31 +08:00
alesapin
47b995467e
Merge pull request #28080 from ClickHouse/some_renames_in_keeper
...
Clickhouse-keeper: renames and comments
2021-08-26 10:16:21 +03:00
Anton Popov
6d3274c22c
Merge remote-tracking branch 'upstream/master' into HEAD
2021-08-26 03:31:46 +03:00
Alexey Milovidov
3cb9cf7242
Merge branch 'master' of github.com:yandex/ClickHouse into async-reads
2021-08-26 01:55:46 +03:00
Alexey Milovidov
d8250ab3d6
Preparation
2021-08-26 01:14:42 +03:00
Maksim Kita
6ccdde4a88
Updated TableFunctionExecutable
2021-08-25 22:30:22 +03:00
alesapin
eaa49f56dd
Merge pull request #27019 from lthaooo/materialize_ttl_recalculate_only
...
Improvement of Materialize TTL
2021-08-25 19:10:20 +03:00
Nikolay Degterinsky
2c81a35b4e
Add setting
2021-08-25 17:41:21 +03:00
zhongyuankai
3e18e22cfb
update api
2021-08-25 20:20:05 +08:00
zhongyuankai
64efa917d8
review system.views
2021-08-25 18:11:40 +08:00
hexiaoting
1fe012bdfa
Support Alias and rewrite some code
2021-08-25 16:24:53 +08:00
zhongyuankai
52570b1c80
Merge branch 'master' into add-system-of-table_views
2021-08-25 15:59:23 +08:00
Alexey Milovidov
53ca1ebca6
Be in style
2021-08-25 03:58:49 +03:00
Alexey Milovidov
8f57216180
Progress on development
2021-08-25 00:45:58 +03:00
Maksim Kita
dce3fc60ad
Fixed build
2021-08-24 19:13:38 +03:00