Mike Kot
c4385a2c40
Simplifying exception messages
2021-09-11 00:40:18 +02:00
Alexander Tokmakov
3f8fb1e562
Merge branch 'master' into tables_topsort
2021-09-10 13:16:41 +03:00
Nikolai Kochetov
f569a3e3f7
Merge branch 'master' into rewrite-pushing-to-views
2021-09-09 20:30:23 +03:00
kssenii
904cf74159
Merge branch 'master' of github.com:ClickHouse/ClickHouse into materialized-postgresql
2021-09-09 15:26:20 +03:00
kssenii
00be148fce
Merge branch 'master' of github.com:ClickHouse/ClickHouse into named-collections
2021-09-09 15:26:09 +03:00
Anton Popov
8e5b3b2f6c
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-09 15:12:34 +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
797f858bc6
Merge branch 'master' of github.com:ClickHouse/ClickHouse into materialized-postgresql
2021-09-08 22:52:48 +03:00
kssenii
ab6937ee45
Merge branch 'master' of github.com:ClickHouse/ClickHouse into named-collections
2021-09-08 20:43:37 +03:00
Anton Popov
1f41f4541f
change timeouts in async insert to milliseconds
2021-09-08 18:30:04 +03:00
mergify[bot]
9f0c50335f
Merge branch 'master' into tables_topsort
2021-09-08 10:55:11 +00:00
Nikita Mikhaylov
7c9b1a7db4
Merge pull request #28679 from ianton-ru/MDB-14168
...
Reduce default settings for S3 multipart upload part size
2021-09-08 01:14:18 +03:00
Anton Ivashkin
5ff99314b1
Reduce default settings for S3 multipart upload part size
2021-09-07 12:51:00 +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
Mike Kot
8e9aacadd1
Initial: replacing hardcoded toString for enums with magic_enum
2021-09-06 16:24:03 +02:00
Nikolai Kochetov
66a76ab70f
Rewrite PushingToViewsBlockOutputStream part 6
2021-09-03 20:29:36 +03:00
alesapin
497c225203
Test log level for CI
2021-09-03 13:07:40 +03:00
kssenii
f17d1bc7a5
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into materialized-postgresql
2021-09-03 09:03:48 +00:00
kssenii
6efbee320b
Done MySQL
2021-09-03 11:30:28 +03:00
kssenii
7a45775f4f
Complete postgres
2021-09-02 13:46:19 +03:00
Anton Popov
5e421ab272
Merge remote-tracking branch 'upstream/master' into HEAD
2021-09-02 02:42:50 +03:00
kssenii
3423f8c984
Done postgres
2021-09-02 01:11:27 +03:00
feng lv
7513cbe9d6
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into filelog-engine
2021-09-01 15:38:07 +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
alexey-milovidov
4cc0b0298c
Merge pull request #28269 from amosbird/fixweirdcode
...
Better nullable primary key implementation
2021-09-01 00:48:45 +03:00
Vasily Nemkov
109d2f63d0
Fixed tests and minor style issues
2021-08-31 15:39:15 +03:00
Alexey Milovidov
ca6f6306f3
Merge branch 'master' into async-reads
2021-08-31 02:52:58 +03:00
Alexey Milovidov
2198548ead
Remove unused header
2021-08-31 00:16:19 +03:00
Alexander Tokmakov
b387f05d9c
resolve table dependencies on metadata loading
2021-08-30 22:29:22 +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
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
Nikolay Degterinsky
2433d88b82
Merge branch 'master' into log_queries_probability
2021-08-30 12:55:33 +03:00
Dmitrii Kovalkov
9871ad70ff
Exclude fuzzers
2021-08-30 11:12:25 +03:00
Dmitrii Kovalkov
8acf0fa16a
run generate-ya-make
2021-08-30 10:57:40 +03:00
Amos Bird
d5d1873b45
Better
2021-08-30 03:00:00 +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
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
Amos Bird
f2374a6916
Better nullable primary key implementation.
2021-08-28 17:48:28 +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
9e67943878
add waiting for async inserts
2021-08-28 00:29:10 +03:00
tavplubix
c36fe210b8
Revert "Add test for #13398 "
2021-08-27 21:07:10 +03:00
tavplubix
703101fe4d
Merge pull request #27931 from ClickHouse/wait_for_all_replicas_timeouts
...
Avoid too long waiting for inactive replicas
2021-08-27 14:31:36 +03:00
Alexey Milovidov
46732e781f
Merge branch 'master' of github.com:yandex/ClickHouse into async-reads
2021-08-27 01:57:48 +03:00
Kruglov Pavel
5bc332c40c
Merge pull request #28054 from kssenii/mysql
...
Add test for #13398
2021-08-26 16:39:43 +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
Nikolay Degterinsky
2c81a35b4e
Add setting
2021-08-25 17:41:21 +03:00
Alexey Milovidov
8f57216180
Progress on development
2021-08-25 00:45:58 +03:00
Alexey Milovidov
4d9ad3725d
Merge branch 'master' into async-reads
2021-08-25 00:45:40 +03:00
Azat Khuzhin
37043b74bf
Enable optimize_distributed_group_by_sharding_key by default
...
Since it requires optimize_skip_unused_shards this should be safe.
2021-08-24 23:49:50 +03:00
Vitaly Baranov
64f69462c6
Merge pull request #27921 from vitlibar/add-tests-for-field-init
...
Allow implicit cast bool to Field
2021-08-24 17:15:44 +03:00
kssenii
0d5000f917
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into mysql
2021-08-24 07:30:42 +00:00
kssenii
b536653851
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into disk-over-web-server
2021-08-24 07:29:50 +00:00
Vitaly Baranov
1efed59d84
Update Field.h
2021-08-24 08:53:21 +03:00
kssenii
962f415740
Add test and settings
2021-08-23 22:18:04 +00:00
Vitaly Baranov
63e8bc1f20
Added new commands BACKUP and RESTORE.
2021-08-23 23:41:45 +03:00
Alexander Tokmakov
cc9c2fd63b
make code better
2021-08-23 15:57:50 +03:00
Vitaly Baranov
89166a655a
Init SettingFieldBool with true or false, not with 1 or 0.
2021-08-23 09:47:36 +03:00
feng lv
9f7785ffa9
fix conflict
2021-08-23 06:28:55 +00:00
Vitaly Baranov
05247c7eef
Add test.
2021-08-23 08:34:03 +03:00
Vitaly Baranov
38571079ed
Fix implicit cast bool to Field.
2021-08-23 08:33:16 +03:00
alexey-milovidov
4922fb791e
Merge pull request #27882 from azat/enable-tcp_keep_alive_timeout
...
RFC: Enable tcp_keep_alive_timeout by default
2021-08-21 22:39:12 +03:00
Nikita Mikhaylov
cfa571cac4
Merge pull request #27895 from nikitamikhaylov/temporary_remove_yaml_fuzzer
...
Build fuzzers with clang-tidy
2021-08-21 16:51:31 +03:00
Kseniia Sumarokova
19afb22b4d
Merge pull request #27932 from amosbird/constkeys
...
Add a setting to bring back the old behavior of grouping by constant keys on empty set.
2021-08-21 08:02:30 +03:00
Nikita Mikhaylov
3cd689c168
Moved fuzzers to another directory
2021-08-21 02:27:27 +00:00
Kseniia Sumarokova
38a35c1d9e
Merge pull request #27530 from kssenii/col-identifier-as-col-number
...
Allow positional arguments for group by, order by, limit by
2021-08-20 21:08:58 +03:00
kssenii
945e2c4ce5
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into disk-over-web-server
2021-08-20 18:01:23 +00:00
Amos Bird
5708ed42ec
Add setting.
...
empty_result_for_aggregation_by_constant_keys_on_empty_set
2021-08-20 22:34:32 +08:00
Alexander Tokmakov
59eb3aa9a9
avoid too long waiting for inactive replicas
2021-08-20 15:59:57 +03:00
alexey-milovidov
6be085ed17
Update Settings.h
2021-08-20 09:05:48 +03:00
Azat Khuzhin
9aecb27913
Decrease tcp_keep_alive_timeout default (to avoid overlaps with receive_timeout)
2021-08-20 07:16:17 +03:00
Kseniia Sumarokova
78b0b21ccc
Merge pull request #27869 from kssenii/fix-bad-cast
...
Fix bad cast in insertPostgreSQLValue
2021-08-20 00:41:43 +03:00
kssenii
1697a6fa22
Fix
2021-08-19 15:10:55 +03:00
tavplubix
9ef45d92c2
Merge pull request #27755 from ClickHouse/ncb/server_uuid
...
Merging #20089
2021-08-19 14:59:18 +03:00
Nikolai Kochetov
3e44ef437e
Merge pull request #26639 from ClickHouse/fix-bad-cast
...
Fix bad cast
2021-08-19 11:17:26 +03:00
Azat Khuzhin
d610974c4c
Set tcp_keep_alive_timeout to 300 by default
...
This may fix possible issues with remote queries, when remote server
abnormaly terminates and the initiator does not have proper timeout.
This should not harm anything, since the timeout is pretty huge (300
seconds).
2021-08-19 09:06:41 +03:00
Alexander Tokmakov
31d75c9c38
fix split build
2021-08-18 15:15:31 +03:00
Vitaly Baranov
fabd7193bd
Code cleanups and improvements.
2021-08-18 14:24:52 +03:00
Vasily Nemkov
51ffc33457
Introduce sessions.
...
This is required to add system.session_log table.
2021-08-18 14:24:52 +03:00
alexey-milovidov
eb3bbdfab5
Merge pull request #27680 from ClickHouse/decimal-no-trailing-zeros
...
Remove trailing zeros from Decimal serialization #15794
2021-08-18 05:24:13 +03:00
Nikolai Kochetov
98eb619b4b
Merge pull request #23367 from Avogar/short-circuit
...
Implement short circuit function evaluation
2021-08-17 12:36:07 +03:00
kssenii
7be06f894e
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into col-identifier-as-col-number
2021-08-16 14:50:37 +00:00
kssenii
bec34531bc
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into disk-over-web-server
2021-08-16 14:48:32 +00:00
Nikolai Kochetov
9d0ad10a08
Weaken check a little bit.
2021-08-16 17:24:29 +03:00
Pavel Kruglov
7c98fc11b9
Fix performance, make only one setting
2021-08-16 14:30:56 +03:00
Alexey Milovidov
8adaef7c8e
Make text format for Decimal tuneable
2021-08-16 11:03:23 +03:00
Alexey Milovidov
d184b79bba
Progress on async reads.
2021-08-16 03:00:32 +03:00
Maksim Kita
5f5470c2cd
Removed DenseHashMap, DenseHashSet
2021-08-15 13:32:56 +03:00
alexey-milovidov
d88cf81d71
Merge branch 'master' into fix-bad-cast
2021-08-15 09:06:42 +03:00
kssenii
daac6323fa
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into disk-over-web-server
2021-08-14 13:15:04 +00:00
mergify[bot]
319e5af6eb
Merge branch 'master' into short-circuit
2021-08-13 13:01:46 +00:00
Pavel Kruglov
36bea6abb4
Add setting optimize_short_circuit_function_evaluation
2021-08-13 14:48:32 +03:00
Nikolai Kochetov
ad00aaa18c
Merge pull request #27575 from kitaisreal/removed-some-data-streams
...
Removed some data streams
2021-08-13 12:59:00 +03:00
Nikolai Kochetov
d207fbc699
Merge pull request #27152 from qoega/fix-access-gtest-in-arcadia
...
Fix arcadia src/Access gtest
2021-08-13 10:51:29 +03:00
kssenii
37554014aa
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into col-identifier-as-col-number
2021-08-13 05:28:22 +00:00
Nikita Mikhaylov
8c06abee73
Merge pull request #25902 from Avogar/arrow-nested
...
Refactor ArrowColumnToCHColumn, support inserting Nested as Array(Struct) in Arrow/ORC/Parquet
2021-08-12 20:02:01 +03:00
mergify[bot]
80eaea1c51
Merge branch 'master' into short-circuit
2021-08-12 08:38:45 +00:00
Maksim Kita
124a87684f
Removed some data streams
2021-08-11 23:39:01 +03:00
mergify[bot]
f590cc9ef4
Merge branch 'master' into materialization_log
2021-08-11 13:34:00 +00:00
kssenii
fb21fec177
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into col-identifier-as-col-number
2021-08-11 07:38:06 +00:00
Alexey Milovidov
c590a239d5
Merge branch 'master' into fix-bad-cast
2021-08-11 05:48:37 +03:00
Kseniia Sumarokova
c50294fda8
Update Settings.h
2021-08-10 17:40:06 +03:00
kssenii
503a5edc59
Fix
2021-08-10 14:01:59 +00:00
kssenii
554231c6fc
Support positional arguments for GROUP BY, ORDER BY, LIMIT BY
2021-08-10 13:38:42 +00:00
Nikolai Kochetov
8613cfd4e2
Merge branch 'master' into fix-access-gtest-in-arcadia
2021-08-10 16:13:11 +03:00
Maksim Kita
87fb75b272
Merge pull request #27191 from FArthur-cmd/memory-tracker-26043
...
Client with flag for memory tracker
2021-08-10 14:01:02 +03:00
Raúl Marín
d1d47658f5
Merge remote-tracking branch 'blessed/master' into materialization_log
2021-08-10 10:49:05 +02:00
Nikolai Kochetov
a1ec7f75c5
Merge branch 'master' into qoega-fix-access-gtest-in-arcadia
2021-08-10 11:31:47 +03:00
Nikita Mikhaylov
3d201c37c0
Done
2021-08-09 15:42:29 +00:00
Nikolai Kochetov
8cc493a3cd
Try fix build.
2021-08-09 18:09:29 +03:00
Pavel Kruglov
a95d45a157
Some clean up
2021-08-09 17:57:02 +03:00
Pavel Kruglov
50d4192126
Implement short circuit function evaluation, first attempt
2021-08-09 17:43:10 +03:00
kssenii
d767f6704f
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into disk-over-web-server
2021-08-09 12:14:23 +00:00
Nikita Mikhaylov
73d3f2c60f
Merge pull request #26313 from fastio/control_execution_period_of_clearOldTemporaryDirectories
...
Control the execution period of clear old temporary directories by parameter
2021-08-09 14:29:24 +03:00
alexey-milovidov
5f84564207
Merge pull request #27378 from amosbird/hyperscansanitizer
...
Add settings to check hyperscan regexp length.
2021-08-09 02:48:14 +03:00
alexey-milovidov
677fddaa37
Merge pull request #27104 from azat/enable-distributed_push_down_limit
...
Enable distributed_push_down_limit by default
2021-08-09 02:45:52 +03:00
mergify[bot]
316c254536
Merge branch 'master' into fix-bad-cast
2021-08-08 23:45:19 +00:00
Alexey Milovidov
e45a09e2f5
Fix wrong PR #27184
2021-08-08 21:09:39 +03:00
mergify[bot]
bd313279e8
Merge branch 'master' into hyperscansanitizer
2021-08-08 17:03:05 +00:00
Azat Khuzhin
0677a6c6cb
Enable distributed_push_down_limit by default
2021-08-08 19:30:50 +03:00
mergify[bot]
ec331132c1
Merge branch 'master' into fix-bad-cast
2021-08-08 15:20:27 +00:00
Alexey Milovidov
24cef99065
Merge branch 'master' into fix-bad-cast
2021-08-08 04:00:29 +03:00
alexey-milovidov
5523e5e153
Update Settings.h
2021-08-07 18:48:52 +03:00
Amos Bird
5ef59d4828
Add setting to log formatted query into system.query_log
2021-08-07 14:26:38 +08:00
Amos Bird
aa33a7add1
Add settings to check hyperscan regexp length.
2021-08-07 13:07:41 +08:00
kssenii
073d7fdd5e
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into disk-over-web-server
2021-08-06 19:42:29 +00:00
mergify[bot]
c696817a79
Merge branch 'master' into control_execution_period_of_clearOldTemporaryDirectories
2021-08-06 16:16:22 +00:00
Anton Popov
3a0d4807a5
Merge branch 'async-insert' of git://github.com/abyss7/ClickHouse into merging-20557
2021-08-06 16:20:02 +03:00
Artur
d2869d2e2b
add test for memory tracker in client
2021-08-05 16:20:24 +00:00
Raúl Marín
479f053f2e
Merge remote-tracking branch 'blessed/master' into materialization_log
2021-08-05 17:24:10 +02:00
Alexander Kuzmenkov
4bc652699f
Merge pull request #27184 from ClickHouse/aku/window-functions
...
mark window functions as ready for general use
2021-08-05 14:18:28 +03:00
Pavel Kruglov
e4c5d7e3b1
Support inserting nested as Array of structs, add some refactoring
2021-08-05 14:10:27 +03:00
Alexander Kuzmenkov
0730e685b0
Mark window functions ready for general use.
2021-08-04 17:45:32 +03:00
Raúl Marín
9f32ecca89
Merge remote-tracking branch 'blessed/master' into materialization_log
2021-08-02 16:21:10 +02:00
Nikolai Kochetov
6951e8147d
Merge pull request #27020 from amosbird/shardlevelconstness
...
Shard-level const column
2021-08-02 13:45:20 +03:00
alesapin
181f93c60a
Merge pull request #24997 from evillique/nlp
...
NLP functions
2021-08-02 10:50:40 +03:00
Amos Bird
b76a854f5a
backward compatible
2021-08-01 09:06:16 +08:00
alexey-milovidov
d2b7e23899
Merge pull request #26961 from Enmk/fix/extractAllGroupsHorizontal_max_matches_per_row
...
Updated extractAllGroupsHorizontal - flexible limit on number of matches
2021-07-31 04:54:24 +03:00
alesapin
02176fb4c7
Add experimental flag
2021-07-30 18:25:51 +03:00
alesapin
4746002776
Add an ability to build ClickHouse without NLP functions
2021-07-30 16:30:30 +03:00
alexey-milovidov
582fa31b18
Update Settings.h
2021-07-30 12:30:36 +03:00
Vasily Nemkov
a1fb16df52
setting regexp_max_matches_per_row instead of 3rd argument
2021-07-30 12:28:21 +03:00
Alexander Tokmakov
fab4529c97
Merge branch 'master' into rename_materialize_mysql
2021-07-28 12:18:01 +03:00
Raúl Marín
4a09c54a04
Merge remote-tracking branch 'blessed/master' into materialization_log
2021-07-28 10:38:47 +02:00
alesapin
1277db4435
Merge pull request #26129 from ClickHouse/system_zookeeper_log
...
Add system.zookeeper_log table
2021-07-28 11:22:29 +03:00
Alexander Tokmakov
fc9ab2cda7
Merge branch 'master' into rename_materialize_mysql
2021-07-27 22:38:40 +03:00
Raúl Marín
6b9ec2a62e
WIP
2021-07-27 16:28:28 +02:00
Raúl Marín
efe1938437
WIP: Slow improvements
2021-07-27 16:26:29 +02:00
Raúl Marín
ea5c02a605
WIP
2021-07-27 16:26:27 +02:00
Alexander Tokmakov
63ab38ee09
rename MaterializeMySQL to MaterializedMySQL
2021-07-26 21:17:28 +03:00
Nikolai Kochetov
9b5a816b43
Merge branch 'master' into output-streams-to-processors
2021-07-26 18:03:11 +03:00
mergify[bot]
2929cf3ba8
Merge branch 'master' into system_zookeeper_log
2021-07-26 08:40:55 +00:00
Alexey Milovidov
ff0129d801
Merge branch 'master' into fix-bad-cast
2021-07-24 03:58:34 +03:00
Alexey Milovidov
53aa74e3a8
Another check just in case
2021-07-24 00:26:05 +03:00
Nikolai Kochetov
9c92f43359
Update storages.
2021-07-23 22:33:59 +03:00
hexiaoting
6b73fa5307
Fix style check errors
2021-07-23 10:57:34 +08:00
Alexey Milovidov
5b69283a6c
Change error code
2021-07-23 03:25:26 +03:00
Maksim Kita
46fd046f11
Setting min_count_to_compile_aggregate_expression fix
2021-07-23 00:22:04 +03:00
Alexey Milovidov
cecf03f4cb
Merge branch 'master' into fix-bad-cast
2021-07-23 00:06:29 +03:00
Nikolai Kochetov
5ffd99dfd4
Merge pull request #25674 from amosbird/distributedreturnconnection
...
Drain connection asynchronously
2021-07-22 11:04:49 +03:00
Vladimir
576b407804
Support conditions in JOIN ON section ( #24420 )
...
* Try to enforce table identification in CollectJoinOnKeysMatcher
* Support filtering conditions in JOIN ON for HashJoin
* Correct handle non equi join
* Update test 00878_join_unexpected_results
* Join on filters calculated as one row before join
* Do not lookup key in hash join if condition for row is not hold
* better
* Support filtering conditions in JOIN ON for MergeJoin
* Support Nullable mask in JOIN ON section
* Fix style in Interpreters/TableJoin.cpp
* Change return type of getColumnAsMask in join_common to ColumnPtr
* Handle Nullable(Nothing) type in JOIN ON section, add test cases
* Fix type cast JoinCommon::getColumnAsMask
* Check type if conditions in JOIN ON section, support functions
* Update tests with JOIN ON
* Style changes, add comments for conditions in JOIN ON section
* Add test cases for join on condtions
* JOIN ON key1 = key2 AND (cond1 OR cond2)
* Remove CollectJoinOnKeysVisitor has_join_keys
* Add test cases for join on nullable/lc conditions
* Fix style
* Change error code 48 to 403 in join on tests
* Fix whitespace
2021-07-21 20:03:33 +03:00
hexiaoting
de30962ebd
Fuse multi quantile funcs with same arguments to one function.
2021-07-21 14:43:40 +08:00
Alexey Milovidov
03bf6c540f
Do not allow to create columns in block with identical name and different structure
2021-07-21 04:41:55 +03:00
Alexey Milovidov
b8728047a8
Remove some code, more C++ way
2021-07-21 04:25:08 +03:00
Amos Bird
dbfb699690
Asynchronously drain connections.
2021-07-19 21:53:29 +08:00
Vitaly Baranov
4f1926550b
Merge pull request #26429 from vitlibar/remove-mysql-wire-context
...
Remove MySQLWireContext
2021-07-19 12:21:24 +03:00
Kseniia Sumarokova
b0ddc4fb30
Merge pull request #26364 from kssenii/fixing-date32
...
Continuation of #25774
2021-07-18 21:44:45 +03:00
alexey-milovidov
b52411a715
Merge pull request #12455 from amosbird/npc
...
Nullable primary key with correct KeyCondition
2021-07-18 17:52:20 +03:00
kssenii
9cb10aae3c
Some fixes
2021-07-18 03:43:08 +00:00
Alexey Milovidov
261a220227
Remove some code
2021-07-17 21:06:46 +03:00
alexey-milovidov
c373b86743
Merge pull request #26371 from CurtizJ/improve-perf-get-columns
...
Improve performance of getting list of columns
2021-07-17 01:34:15 +03:00
alexey-milovidov
f481a5a28e
Merge pull request #26380 from ClickHouse/use-hedged-requests-again
...
Use hedged requests, again
2021-07-17 01:16:32 +03:00
Vitaly Baranov
0f8b196682
Remove MySQLWireContext.
2021-07-16 22:21:20 +03:00
alexey-milovidov
4103c22310
Merge pull request #26245 from arenadata/ADQM-322
...
Avro string for ClickHouse String
2021-07-16 12:23:50 +03:00
Maksim Kita
234077e1fb
Merge pull request #26373 from CurtizJ/block-bugfix
...
Small bugfix in Block
2021-07-16 10:49:12 +03:00
Alexey Milovidov
2d42b1ebf6
Use hedged requests, again
2021-07-15 19:43:42 +03:00
Anton Popov
e3b3fdac0a
small bugfix in Block
2021-07-15 18:02:27 +03:00
Anton Popov
5f71a6f5bb
improve performance of getting columns list
2021-07-15 16:29:01 +03:00
kssenii
3ba2d114d5
Revert "Merge pull request #26352 from ClickHouse/revert-25774-datatype-date32"
...
This reverts commit 94a210650f
, reversing
changes made to 0893b9ff8e
.
2021-07-15 11:41:52 +00:00
alexey-milovidov
9ba4064c86
Revert "Datatype Date32, support range 1925 to 2283"
2021-07-15 10:53:35 +03:00
alexey-milovidov
96030dc2d7
Merge pull request #26250 from vdimir/issue-26017-join-totals-key
...
Fix block structure mismatch in join totals
2021-07-15 08:03:37 +03:00
kssenii
af8633dcdb
Update insertPostgreSQLValue.cpp
2021-07-14 20:51:47 +00:00
Kseniia Sumarokova
e42a26a585
Merge pull request #26234 from jasine/master
...
convert timestamp and timestamptz data types to DateTime64 in postgres engine
2021-07-14 23:42:51 +03:00
Peng Jian
4bc07771ee
Fix the clearOldTemporaryDirectories is executed too frequently
2021-07-14 19:26:46 +08:00
vdimir
b49e37aa07
Rewrite join totals, fix block structure mismatch
2021-07-14 13:02:23 +03:00
Alexey Milovidov
9dd0a76220
Add a setting "function_range_max_elements_in_block" and increase it 5 times
2021-07-14 11:31:08 +03:00
Alexander Tokmakov
590615df66
fix
2021-07-13 22:01:43 +03:00
Nikita Mikhaylov
f8b4b3e81b
Merge pull request #25595 from ClickHouse/revert-25593-revert-24867-ncb/h3-indexing-funcs
...
Implement h3ToGeo function [2]
2021-07-13 20:08:17 +03:00
Ilya Golshtein
16532658c2
Avro string for ClickHouse string
2021-07-13 20:03:00 +03:00
Ivan Lezhankin
69e7f082fe
Merge remote-tracking branch 'upstream/master' into async-insert
2021-07-13 17:15:32 +03:00
Nikita Mikhaylov
c255f152aa
Merge pull request #26051 from ClickHouse/fix_21184
...
Fix sequence_id in MySQL protocol
2021-07-13 16:03:25 +03:00
Nikita Mikhaylov
dcf42e9c16
fix arcadia
2021-07-13 12:10:21 +00:00
Nikita Mikhaylov
919b23e264
fix arcadia
2021-07-13 12:10:21 +00:00
Nikita Mikhaylov
eecb989c3f
update ya make
2021-07-13 12:10:21 +00:00
Ivan Lezhankin
ab26aed6f9
Merge remote-tracking branch 'upstream/master' into async-insert
2021-07-13 13:54:09 +03:00
jasine
eefb798e33
Update insertPostgreSQLValue.cpp
2021-07-13 16:17:50 +08:00
jasine
9832c48c33
fix postgres test and array of DateTime64 ( #1 )
...
fix postgres test and array of DateTime64
2021-07-13 15:28:15 +08:00
Kseniia Sumarokova
a24d2c1faf
Merge pull request #24194 from g-arslan/add-sqlite-support
...
SQLite integration
2021-07-13 09:28:13 +03:00
Kseniia Sumarokova
4a6b4d6c26
Merge pull request #25774 from liuneng1994/datatype-date32
...
Datatype Date32, support range 1925 to 2283
2021-07-12 20:33:39 +03:00
mergify[bot]
b7ae4e4ced
Merge branch 'master' into async-insert
2021-07-12 09:21:37 +00:00
kssenii
aecb344baa
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into g-arslan-add-sqlite-support
2021-07-12 07:55:39 +00:00
Kseniia Sumarokova
ec9a30d8b9
Update ya.make
2021-07-12 10:35:18 +03:00
neng.liu
4669839fbb
add comment and update ya.make
2021-07-11 04:55:42 -07:00
feng lv
b15099fe6f
add directory watcher
2021-07-11 03:34:57 +00:00
Maksim Kita
dc81ae7c6e
Compile AggregateFunctionBitwise
2021-07-10 01:51:34 +03:00
kssenii
1bf9a9f29f
Add .cmake
2021-07-09 10:27:53 +00:00
Alexander Tokmakov
1a470fb777
fix sequence_id in MySQL protocol
2021-07-07 20:03:28 +03:00
Maksim Kita
577e69898a
Compile aggregate functions perf tests fix
2021-07-05 12:17:01 +03:00
NengLiu
e36ce3e64e
resolve conflicts
2021-07-05 13:57:49 +08:00
Kseniia Sumarokova
250f495456
Merge pull request #25975 from kssenii/follow-up
...
Follow-up for #20470
2021-07-05 06:36:43 +03:00
NengLiu
8b88988618
Merge branch 'master' into datatype-date32
...
# Conflicts:
# src/DataStreams/PostgreSQLBlockInputStream.cpp
2021-07-05 10:18:38 +08:00
NengLiu
dc0c65ef4f
Merge remote-tracking branch 'origin/master' into datatype-date32
2021-07-05 10:15:08 +08:00
alexey-milovidov
fef7c557f6
Merge pull request #24789 from kitaisreal/compile-aggregation-functions
...
Compile aggregate functions
2021-07-05 02:57:49 +03:00
kssenii
32b7d7b750
More correct startup on create query
2021-07-04 19:53:05 +00:00
Kseniia Sumarokova
8351f1db99
Merge pull request #20470 from kssenii/pg-ch-replica
...
MaterializePostgreSQL table engine and database engine
2021-07-04 19:34:54 +03:00
Kseniia Sumarokova
9b4d35ef95
Merge pull request #25940 from kssenii/move-to-prewhere-if-final
...
Add setting optimize_move_to_prewhere_if_final
2021-07-04 11:33:24 +03:00
alexey-milovidov
56d695cd12
Update Settings.h
2021-07-03 22:10:22 +03:00
Alexey Milovidov
127455f15f
Remove experimental ANTLR parser
2021-07-03 18:48:03 +03:00
kssenii
a9a91a4f15
Setting move to prewhere if final
2021-07-03 11:37:50 +00:00
Maksim Kita
da8c957167
Aggregator added CompiledExpressionCache
2021-07-01 22:56:36 +03:00
Maksim Kita
d24d3ae992
Added second variant of compilation
2021-07-01 22:56:36 +03:00
Maksim Kita
3fe559b31f
Compile aggregate functions
2021-07-01 22:56:35 +03:00
kssenii
4c8d82001f
Fix checks
2021-07-01 17:52:21 +00:00
kssenii
da70f85d4e
More tests
2021-06-29 23:11:46 +00:00
kssenii
9d5847a1a8
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica
2021-06-29 21:30:31 +00:00
alesapin
2b3d50f0e6
Merge pull request #25771 from azat/version-revision-comment
...
Add comments for VERSION_REVISION vs DBMS_TCP_PROTOCOL_VERSION
2021-06-29 10:07:13 +03:00
alexey-milovidov
878a159538
Merge pull request #25773 from ClickHouse/system-query-log-map-type-merge
...
Merging #23934
2021-06-29 04:19:53 +03:00
Ivan Lezhankin
1bb41593d1
Merge remote-tracking branch 'upstream/master' into async-insert
2021-06-28 22:55:56 +03:00
Azat Khuzhin
e590d9c8bb
Add comments for VERSION_REVISION vs DBMS_TCP_PROTOCOL_VERSION
2021-06-28 22:01:14 +03:00
Kseniia Sumarokova
9d02af7d8b
Merge pull request #25676 from sand6255/MaterializeMySQL-Support-Enum-Data-Type
...
MaterializeMySQL: support ENUM data type
2021-06-28 19:15:00 +03:00
Maksim Kita
352e1f27ff
Update using Map datatyle in system log tables before merge
2021-06-28 14:42:21 +03:00
neng.liu
ec7604b013
add parquet test and fix add interval error when type is date32
2021-06-28 16:36:54 +08:00
Maksim Kita
294b937a39
Merge branch 'system-query-log-map-type-merge' into system-querylog-map-continue
2021-06-28 11:27:59 +03:00
kssenii
aa7133c239
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica
2021-06-27 20:08:00 +00:00
kssenii
c3a2fc0584
Review fixes
2021-06-27 19:17:17 +00:00
alexey-milovidov
0a26687115
Merge pull request #23864 from azat/dist-split-batch-and-retry
...
Add ability to split distributed batch on failures (i.e. due to memory limits)
2021-06-27 19:28:26 +03:00
kssenii
db998c3f6c
More robust
2021-06-27 16:28:10 +00:00
kssenii
3d90f0710c
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica
2021-06-26 22:04:47 +00:00
alexey-milovidov
6662e7ab0f
Merge pull request #25732 from matwey/missed_include_optional_2
...
Fix some more missed includes
2021-06-26 14:04:06 +03:00
Kostiantyn Storozhuk
7516d39091
Style fixes
2021-06-25 16:44:28 +08:00
Storozhuk Kostiantyn
4a3145f586
Materialize my sql support enum data type
...
* Implemented Enum for MaterializeMySQL
2021-06-25 16:42:25 +08:00
Azat Khuzhin
a0209178cc
Add ability to split distributed batch on failures
...
Add distributed_directory_monitor_split_batch_on_failure setting (OFF by
default), that will split the batch and send files one by one in case of
retriable errors.
v2: more error codes
2021-06-23 02:48:47 +03:00
Neng Liu
7ed1728a37
Merge branch 'master' into datatype-date32
...
# Conflicts:
# src/DataTypes/IDataType.h
# src/Functions/CustomWeekTransforms.h
2021-06-22 10:00:18 +08:00
Anton Popov
c2754c34f4
Merge remote-tracking branch 'upstream/master' into HEAD
2021-06-21 12:42:48 +03:00
Kruglov Pavel
a54cbef5b7
Merge pull request #24341 from Avogar/arrow
...
Support complex types in Arrow/Parquet/ORC
2021-06-21 11:05:57 +03:00
Anton Popov
e409ead64a
fix tests
2021-06-20 23:18:05 +03:00
Anton Popov
d8b6f15ef4
Merge pull request #23027 from azat/distributed-push-down-limit
...
Add ability to push down LIMIT for distributed queries
2021-06-20 23:08:50 +03:00