Commit Graph

1301 Commits

Author SHA1 Message Date
Alexey Milovidov
f2d438b79f Implement max_rows_to_sort again 2020-05-17 10:27:55 +03:00
Alexey Milovidov
de8120d69a Improvement; added a test 2020-05-17 10:17:54 +03:00
Alexey Milovidov
c06995c03c Whitespaces 2020-05-17 09:47:53 +03:00
alexey-milovidov
5297d1e86a
Merge pull request #10928 from vitlibar/check-access-once-for-dictget
dictGet() checks access once
2020-05-17 09:27:59 +03:00
alexey-milovidov
421eb6df8f
Merge pull request #10970 from ClickHouse/try-fix-use-after-free-mergetree
Try to fix use-after-free error in MergeTree
2020-05-17 09:09:45 +03:00
alexey-milovidov
a3346e9331
Merge pull request #10912 from ClickHouse/static-mutate
Static mutate
2020-05-17 09:05:35 +03:00
alexey-milovidov
261410ff58
Merge pull request #10829 from ClickHouse/variance-nonnegative
Ensure that variance is nonnegative
2020-05-17 09:04:27 +03:00
alexey-milovidov
ca1ded9124
Merge pull request #10937 from ClickHouse/input-format-use-header-by-default
Enable input_format_with_names_use_header by default
2020-05-17 09:00:05 +03:00
Alexey Milovidov
397859ccb8 Fix error 2020-05-17 08:45:20 +03:00
Alexey Milovidov
f4ac1eec04 Merge branch 'master' into quota-key-in-client 2020-05-17 08:15:13 +03:00
alexey-milovidov
7a220b7659
Update DataTypesDecimal.cpp 2020-05-17 08:12:33 +03:00
Andrei Nekrashevich
c4ff7eec01 fix 2020-05-17 07:49:41 +03:00
Alexey Milovidov
9fcfe5fb14 Better exception message and error code for ALTER of key column #9078 2020-05-17 07:46:25 +03:00
Andrei Nekrashevich
675509ed23 Added function randomStringUTF8 2020-05-17 07:43:53 +03:00
alexey-milovidov
0fd0711b51
Merge pull request #10910 from filimonov/kafka_drop_hang_fix
Fix for the hang during deletion of engine=Kafka
2020-05-17 07:13:54 +03:00
Alexey Milovidov
88ee76186b Try to fix use-after-free error in MergeTree 2020-05-17 07:12:33 +03:00
alexey-milovidov
0d76091fd9
Merge pull request #10940 from azat/dist-send-partially-written-read-fix
Avoid sending partially written files by the DistributedBlockOutputStream
2020-05-17 06:53:51 +03:00
Alexey Milovidov
a5d35bfdfb Better code 2020-05-17 06:18:52 +03:00
Alexey Milovidov
0636ea9f38 Add overflow check in Decimal parse 2020-05-17 06:16:58 +03:00
Alexey Milovidov
b156ac3cc1 Merge branch 'master' into fix-ubsan-decimal-parse 2020-05-17 05:42:24 +03:00
Alexey Milovidov
2df8c4f62e Merge branch 'master' into input-format-use-header-by-default 2020-05-17 05:40:01 +03:00
Alexey Milovidov
3320fdce57 Fix error 2020-05-17 05:39:02 +03:00
alexey-milovidov
19b4e68ecf
Merge pull request #10953 from azat/write-after-close
[RFC] Add an assert() in case of write into a file after close
2020-05-17 05:05:05 +03:00
Alexey Milovidov
7df4748753 Merge branch 'master' into variance-nonnegative 2020-05-17 05:00:59 +03:00
alexey-milovidov
ce8e3e478e
Merge pull request #10927 from azat/gcc10-build-fix
gcc10 unbundled build fixes
2020-05-17 04:57:42 +03:00
Alexander Tokmakov
791ccd8b05 never throw from destructor 2020-05-17 04:01:26 +03:00
alexey-milovidov
2e2ef08619
Merge pull request #10967 from myrrc/gtest-fix
gtest macro find fix
2020-05-17 03:49:01 +03:00
alexey-milovidov
b6b1947de0
Merge pull request #10964 from ObjatieGroba/bugfix_raw_column_size
Fix incorrect Column byte size
2020-05-17 03:33:10 +03:00
myrrc
a56aba0211 gtest macro find fix 2020-05-17 02:38:30 +03:00
Gleb Novikov
1a25ac6e1f Merge branch 'master' into refactor-reservations 2020-05-16 23:34:45 +03:00
Gleb Novikov
45b84d491e small fixes of review remarks 2020-05-16 23:31:17 +03:00
Nikolai Kochetov
d948fd61d8 try fix tests. 2020-05-16 23:15:19 +03:00
Nikolai Kochetov
caab379602
Merge pull request #10932 from ClickHouse/pulling-executor
Add PullingPipelineExecutor.
2020-05-16 23:09:18 +03:00
Igor Mineev
ce451bf396 Fix incorrect Column byte size 2020-05-16 23:06:32 +03:00
Alexey Milovidov
e0aaddb262 Fixed error 2020-05-16 22:55:38 +03:00
Alexey Milovidov
a9f64b4c1c Ensure that the variance is nonnegative 2020-05-16 22:55:38 +03:00
alesapin
d0b56a4c7d
Merge pull request #10887 from ClickHouse/vzakaznikov-add_alter_rename_column_to_distributed
Vzakaznikov add alter rename column to distributed
2020-05-16 12:54:32 +03:00
alesapin
be4037abb5
Merge pull request #10895 from ClickHouse/fix_multiple_renames
Fix error in multiple rename commands in a single query.
2020-05-16 12:54:04 +03:00
Nikolai Kochetov
7309cbbfda Try fix build. 2020-05-16 10:23:59 +03:00
Nikolai Kochetov
c957154fef
Merge pull request #10952 from ClickHouse/fix-distributed-queries-incompatibility-19.16-20.1
Fix incompatibility of two-level aggregation between 19.16 and 20.1
2020-05-16 10:17:15 +03:00
Azat Khuzhin
ec1aff245a Add an assert() in case of write into a file after close 2020-05-16 01:13:15 +03:00
Azat Khuzhin
2498041cc1 Avoid sending partially written files by the DistributedBlockOutputStream 2020-05-16 01:00:42 +03:00
Azat Khuzhin
c059ee0085 Use is_trivial+is_standard_layout over is_pod (later is deprecated) 2020-05-16 00:00:38 +03:00
Azat Khuzhin
b7d46fe979 Add missing headers for libstdc++ from gcc10 2020-05-16 00:00:38 +03:00
tavplubix
cc4ddfd89e
Merge pull request #10901 from ClickHouse/merging_10554
Merging #10554
2020-05-15 23:23:02 +03:00
Mikhail Filimonov
405cce2c53 Another variant of fix. It looks like we do not need destructor at all 2020-05-15 22:19:21 +02:00
alexey-milovidov
5898f611da Merge pull request #10861 from traceon/contrib-openldap
Add OpenLDAP third-party library integration (system or contrib/build)
2020-05-15 23:13:23 +03:00
Nikolai Kochetov
8c2d0aa7c0 Fix comment. 2020-05-15 22:30:41 +03:00
Nikolai Kochetov
fb38c2a30b
Remove experimental_use_processors setting, part 1. (#10924)
Remove experimental_use_processors setting, part 1.
2020-05-15 22:28:10 +03:00
Nikolai Kochetov
5e7a35bbae Try simplify code. 2020-05-15 22:19:20 +03:00
Alexey Milovidov
485d37b043 Fix incompatibility of two-level aggregation between 19.16 and 20.1 2020-05-15 22:09:32 +03:00
Nikolai Kochetov
6aea9c9a21 Tru fix build. 2020-05-15 21:55:30 +03:00
Nikolai Kochetov
b8052f512a try fix tests. 2020-05-15 20:40:11 +03:00
Nikolai Kochetov
c4a07812f7 Try fix build. 2020-05-15 18:48:19 +03:00
alesapin
a504db3451 Fix typo 2020-05-15 18:11:13 +03:00
alesapin
97c2e549be
Merge pull request #10865 from azat/dist-dir-mon-fix
Fix ENOENT exception on current_batch.txt in DirectoryMonitor
2020-05-15 18:05:48 +03:00
Anton Popov
11b4bc7189
Merge pull request #10889 from CurtizJ/tuple-literal
Fix backward compatibility with tuples and distributed.
2020-05-15 15:39:03 +03:00
Vitaly Baranov
d92ac9ea47
Merge branch 'master' into RBAC-10 2020-05-15 14:12:43 +03:00
alesapin
ef1c7da4af
Merge pull request #10757 from ClickHouse/fix-parallel-mv
Fix parallel MV
2020-05-15 14:03:09 +03:00
Alexander Kuzmenkov
500b9bac03 fix config prefix 2020-05-15 13:48:55 +03:00
alesapin
26606dd640 Fix polymorphic parts 2020-05-15 13:36:35 +03:00
Nikolai Kochetov
3537c1a65e Added comment. 2020-05-15 13:26:24 +03:00
Nikolai Kochetov
af0328bf30 Fix log tables. 2020-05-15 13:17:07 +03:00
Nikolai Kochetov
70ce0149b1 Try fix build. 2020-05-15 13:10:13 +03:00
Nikolai Kochetov
ad42ba09c8 Fix log tables. 2020-05-15 12:48:57 +03:00
Артем Стрельцов
33d4ae89f2 fixed yandex synchonization error 2020-05-15 12:16:01 +03:00
Nikolai Kochetov
34ce5bec48 Try fix tests. 2020-05-15 12:06:21 +03:00
Артем Стрельцов
be731ad62e Merge branch 'master' of github.com:yandex/ClickHouse into complex_key_direct 2020-05-15 12:01:09 +03:00
Nikolai Kochetov
d84be03268 Fix tests. 2020-05-15 11:17:40 +03:00
Nikolai Kochetov
0344c9d9dc Fix build. 2020-05-15 11:09:50 +03:00
alexey-milovidov
985b83a228
Merge pull request #10903 from ClickHouse/lexer-unicode-whitespaces
Support for unicode whitespaces in queries.
2020-05-15 10:31:59 +03:00
Alexey Milovidov
7a20d95339 Enable input_format_with_names_use_header by default 2020-05-15 10:30:26 +03:00
Vitaly Baranov
201c88f64f Get dictionary and check access rights only once per each call of any function reading external dictionaries. 2020-05-15 03:14:14 +03:00
Artem Zuikov
8e8a2a17d6 build fixes 2020-05-15 03:01:31 +03:00
Ri
fc7afaa639
Bitonic sort on GPU (OpenCL) (#10232) 2020-05-15 03:01:14 +03:00
Nikolai Kochetov
681955661f Add PullingPipelineExecutor. 2020-05-15 00:03:38 +03:00
Ivan
21ce8dbbc3
Fix CH-over-YDB build (#10921) 2020-05-14 22:56:10 +03:00
Nikolai Kochetov
83d420e608 Try fix tests. 2020-05-14 21:21:35 +03:00
Alexander Kuzmenkov
a11c9a3a22
Update MongoDBDictionarySource.cpp 2020-05-14 21:18:37 +03:00
Alexander Kuzmenkov
8e532a5d1f
Update MongoDBDictionarySource.cpp 2020-05-14 21:17:15 +03:00
Alexey Milovidov
81a5d02628 Fix annoying "Arcadia" build 2020-05-14 20:05:55 +03:00
alexey-milovidov
519e6ce6f3
Merge pull request #10832 from ClickHouse/better-sanitizer
Better cooperation with sanitizers
2020-05-14 20:01:49 +03:00
alesapin
8eb27f6f13 Fix rename with compact parts 2020-05-14 19:56:13 +03:00
Nikolai Kochetov
b556b7c76e Fix notNullIn with NULL argument. 2020-05-14 17:21:38 +03:00
potya
dc4af074b2 Remove REAl and INT8, add some tests 2020-05-14 17:11:59 +03:00
tavplubix
a47bf09337
Merge pull request #10859 from ClickHouse/fix_watch_livelock_with_database_atomic
Fix livelock with WATCH queries and DatabaseAtomic
2020-05-14 15:11:41 +03:00
Alexander Kuzmenkov
99d50063f3 Support MongoDB URI 2020-05-14 14:36:49 +03:00
Vitaly Baranov
bf2f38881d Fix compilation. 2020-05-14 14:12:20 +03:00
Vitaly Baranov
c30587196a Add system tables for users, roles and grants. 2020-05-14 14:12:20 +03:00
Vitaly Baranov
b1f362b2dc Add system table for access types. 2020-05-14 14:12:20 +03:00
Vitaly Baranov
a14f322723 Add system tables for settings profiles. 2020-05-14 14:12:15 +03:00
alesapin
316773d853 Better comment 2020-05-14 13:30:53 +03:00
Mikhail Filimonov
6499d702f9 After review fixes 2020-05-14 12:15:38 +02:00
Nikolai Kochetov
4d22374f24 Merged with master. 2020-05-14 12:06:15 +03:00
Nikolai Kochetov
d68c385d35 Remove old code. 2020-05-14 11:59:15 +03:00
Nikolai Kochetov
471993b03f Fix build. 2020-05-14 11:56:27 +03:00
Mikhail Filimonov
a1013f1e71 Fix for the hang during deletion of engine=Kafka 2020-05-14 10:38:02 +02:00
Nikolai Kochetov
4d0503f021 Make IColumn::mutate() static. 2020-05-14 11:30:18 +03:00
Nikolai Kochetov
f65305878b
Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues (#10890)
* Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues

* Try fix build.

* Try fix build.

* Fix build.

* Make convertToValues static.

* fix build.

* Remove const casts.

* Added comment.

* Fix build.

* Fix build.

* Add test.

* Fix test.
2020-05-14 10:59:14 +03:00
Azat Khuzhin
52d73c7f45 Fix prefer_localhost_replica=0 and load_balancing for Distributed INSERT 2020-05-14 03:29:03 +03:00
Azat Khuzhin
e1d4837753 Fix list of possible nodes for Distributed INSERT for internal_replication=0 2020-05-14 03:28:08 +03:00
alexey-milovidov
f8195a577c
Merge pull request #10744 from Jokser/s3-proxy-resolver
S3 with proxy resolver
2020-05-14 02:19:10 +03:00
Alexey Milovidov
770cc9e863 Fix "Arcadia" build that is using obsolete version of C++ standard 2020-05-14 02:12:16 +03:00
Azat Khuzhin
cdf3845e43 Respect load_balancing in DirectoryMonitor, to fix w/o internal_replication 2020-05-14 01:33:25 +03:00
Denis Glazachev
7b1399795d Merge commit '1a4ce6b3c806f77e548dacf4207e06542231fa19' into contrib-openldap
* commit '1a4ce6b3c806f77e548dacf4207e06542231fa19':
  DOCS-628: Stable versions of statistical functions (#10848)
  Allow expected number of failures in performance test
  Fix test
  Fix LIVE VIEW tests
  Fix bad test
  Fix exception message after server shutdown (#10841)
  Preparation for MSan UBSan stress tests
  Improve tests for ALTER MOVE
  Fix bad tests
  Fix data rot @blinkov
  Documentation: fix broken link
  Fix infinite loop in test
2020-05-14 01:39:12 +04:00
Alexey Milovidov
c3cea85b10 Support for unicode whitespaces in Lexer 2020-05-14 00:31:57 +03:00
alexey-milovidov
623b2e5a43
Merge pull request #10849 from ClickHouse/fix_optimize_and_alter_hangs
Fix mutations and OPTIMIZE hangs when replica becomes inactive
2020-05-13 23:41:13 +03:00
alexey-milovidov
63c6eb1a37
Update ZooKeeper.h 2020-05-13 23:40:54 +03:00
Nikolai Kochetov
496d90b613
Merge pull request #10860 from CurtizJ/pk-function
Fix sample with final (addition to #10715)
2020-05-13 23:04:25 +03:00
Alexander Tokmakov
ef52acdbde Merge branch 'master' into merging_10554 2020-05-13 21:30:26 +03:00
alesapin
ab760846c2 Fix some rename cases 2020-05-13 20:43:30 +03:00
Vitaly Baranov
5b84121d81 Improve system tables for quotas. Remove function currentQuota(). 2020-05-13 19:40:48 +03:00
Vitaly Baranov
e64e2ebdf6 Improve system table for row policies. Remove function currentRowPolicies(). 2020-05-13 19:40:48 +03:00
Vitaly Baranov
dd8b29b4fb Use enum Type instead of std::type_index to represent the type of IAccessEntity.
This change simplifies handling of access entities in access storages.
2020-05-13 19:40:48 +03:00
Vitaly Baranov
b6fe726777 Rename row policy's 'name' to 'short_name', 'full_name' to 'name'.
This change simplifies the interface of IAccesEntity.
2020-05-13 19:40:48 +03:00
Vitaly Baranov
6f15a0d443 Improve the function range() to allow iterating through enum values. 2020-05-13 19:40:48 +03:00
Vitaly Baranov
c7213ab607 Use boost::flat_set instead of vector to store current and enabled roles. 2020-05-13 19:40:48 +03:00
Vitaly Baranov
b93a15ef36 Refactoring of settings profiles to store setting_index instead of setting_name. 2020-05-13 19:40:48 +03:00
Vitaly Baranov
66e348a93f Refactoring of getting information about access rights. 2020-05-13 19:40:33 +03:00
Anton Popov
84d4ad4315 add some comments 2020-05-13 19:00:06 +03:00
potya
1ceabf1e10 at start 2020-05-13 18:49:17 +03:00
alexey-milovidov
a65601e410
Merge pull request #10874 from hczhcz/patch-0513
Support large tuples in function tupleElement
2020-05-13 18:42:10 +03:00
alexey-milovidov
0433d9c6fc
Merge pull request #10870 from azat/fix-SIGSEGV-in-hash-table-for-string
Fix SIGSEGV in StringHashTable (if such key does not exist)
2020-05-13 18:40:28 +03:00
Anton Popov
d13a11b421 fix backward compatibility with tuples and distributed 2020-05-13 17:14:05 +03:00
tavplubix
39518fe725
trigger CI 2020-05-13 16:45:39 +03:00
alesapin
2316851be6
Merge pull request #10855 from ClickHouse/get_rid_of_strange_fields
Better comments in IStorage interface
2020-05-13 15:59:50 +03:00
alesapin
352c402cf2 Merge branch 'add_alter_rename_column_to_distributed' of https://github.com/vzakaznikov/ClickHouse into vzakaznikov-add_alter_rename_column_to_distributed 2020-05-13 14:14:23 +03:00
alesapin
f209052519 Better comments 2020-05-13 14:04:27 +03:00
alesapin
377ef6535d
Merge pull request #10847 from ClickHouse/fix_alter_rename_and_constraints
Fix constraints after column rename
2020-05-13 11:09:55 +03:00
Alexander Tokmakov
032197b015 fix alter and optimize hangs when replica becomes inactive 2020-05-13 10:06:57 +03:00
hcz
4a4914361c Support large tuples in function tupleElement 2020-05-13 11:53:40 +08:00
alesapin
13c8ffc0c9
Fix exception message after server shutdown (#10841)
* After shutdown cancel background logs pulling after task were deleted from pool

* Fix comment

* Cancel with lock

* Remove whitspace
2020-05-13 06:35:43 +03:00
Azat Khuzhin
e102ad373a Fix SIGSEGV in StringHashTable if such key is not exists 2020-05-13 03:40:05 +03:00
Andrei Nekrashevich
767a790fce fix issues 2020-05-13 03:20:41 +03:00
Артем Стрельцов
fd16838150 fixed style and build fails 2020-05-13 01:52:56 +03:00
Andrei Nekrashevich
1d52c1b9d0 Added function randomFixedString 2020-05-13 01:48:55 +03:00
Azat Khuzhin
085bafad05 Handle prefer_localhost_replica on INSERT into Distributed
Right now it will issue remote send even if finally the local replica
will be selected - not good I guess.

This should also fix load_balancing.
2020-05-13 01:38:03 +03:00
Azat Khuzhin
889f54b549 Fix ENOENT exception on current_batch.txt in DirectoryMonitor
current_batch.txt will not exist if there was no send, this is the case
when all batches that was pending has been marked as pending.
2020-05-13 01:23:18 +03:00
Denis Glazachev
36cb24377b Merge branch 'master' into contrib-openldap
* master: (204 commits)
  DOCS-289: randConstant (#10838)
  Update performance_comparison.md
  fix docs build
  Adjust ld+json images, remove feather icons (#10843)
  [docs] faster local/debug build (#10840)
  CLICKHOUSE-4862: some markdown fixes @ ru mergetree.md (#10835)
  CLICKHOUSE-4862: fix link (#10836)
  Some fixes at ru merge-tree-settings.md (#10837)
  Fix MSan failure in cache dictionary
  Fix double whitespace
  Additional assert in ColumnVector
  Fix paths in compiler error messages #10434
  Fix "Arcadia" build
  Fix style check in Block::sortColumns() (sigh)
  Sort iterators to avoid extra std::string creation in Block::sortColumns()
  Optimize Block::sortColumns()
  Better DNS exception message
  Fix logical error in convertFieldToType
  Make order of columns strict in Block::sortColumns()
  Add a test for INSERT into Buffer() with different order of columns (via MV)
  ...
2020-05-13 00:29:09 +04:00
Denis Glazachev
acd8cfc5d2 Added contrib/openldap submodule
Added OpenLDAP find/detection cmake scripts
Added integration for OpenLDAP Linux and Darwin x86_64 platforms (following OpenSSL integration approach)
2020-05-12 23:19:15 +04:00
Anton Popov
67213b8ad4 fix sample with final 2020-05-12 21:23:40 +03:00
Alexander Tokmakov
5ffb7372af fix livelock with watch queries and database atomic 2020-05-12 21:10:10 +03:00
alesapin
262b6287ab Fix clang-tidy warnings 2020-05-12 19:38:11 +03:00
alexey-milovidov
6053f012b8
Merge pull request #10833 from ClickHouse/column-vector-additional-assert
Additional assert in ColumnVector
2020-05-12 18:00:22 +03:00
Nikolai Kochetov
0ef9b20823 Try fix sample final. 2020-05-12 17:37:19 +03:00
Pavel Kovalenko
506634786e Handle exceptions in ProxyResolverConfiguration properly. 2020-05-12 17:34:37 +03:00
potya
a6ea36162c Remove useless code 2020-05-12 16:48:39 +03:00
potya
82b3bc1683 Provide data type symonims 2020-05-12 16:29:20 +03:00
potya
723e61c410 go back 2020-05-12 16:19:38 +03:00
Артем Стрельцов
c860f9f2db added exception for not supporting selective load to Direct Dictionary 2020-05-12 15:41:47 +03:00
Артем Стрельцов
433cd6b993 bug fixes 2020-05-12 15:39:44 +03:00
alesapin
2b51b7aa2a Remove redundant using 2020-05-12 14:47:59 +03:00
alesapin
979779e06f Fix constraints after column rename 2020-05-12 14:26:44 +03:00
Pavel Kovalenko
8bea42e250 Fix includes in ProxyResolverConfiguration.h 2020-05-12 12:23:18 +03:00
Nikolai Kochetov
5d13327ad8 Try fix merge with master. 2020-05-12 12:22:01 +03:00
Nikolai Kochetov
46137881b8 Fix build. 2020-05-12 11:34:13 +03:00
Alexey Milovidov
d38e6b6840 Fix MSan failure in cache dictionary 2020-05-12 08:43:42 +03:00
alexey-milovidov
75607db571
Merge pull request #10826 from azat/block-sort-fix
Fix columns order after Block::sortColumns()
2020-05-12 06:39:18 +03:00
Alexey Milovidov
1d7b9b2cf2 Additional assert in ColumnVector 2020-05-12 06:37:21 +03:00
Alexey Milovidov
365acc65ea Better support for sanitizers 2020-05-12 06:31:53 +03:00
alexey-milovidov
82668cee6e
Merge pull request #10827 from ClickHouse/fix-logical-error-convert-field-to-type
Fix logical error in convertFieldToType
2020-05-12 05:22:56 +03:00
Alexey Milovidov
f26f8b99dc Fix "Arcadia" build 2020-05-12 04:28:53 +03:00
Azat Khuzhin
b963085920 Fix style check in Block::sortColumns() (sigh) 2020-05-12 04:04:25 +03:00
Azat Khuzhin
4de7d7a84f Sort iterators to avoid extra std::string creation in Block::sortColumns()
Since std::string is pretty heavy.

Suggested-by: @alexey-milovidov
2020-05-12 03:53:08 +03:00
Azat Khuzhin
0e117abd2b Optimize Block::sortColumns()
Suggested-by: @alexey-milovidov
2020-05-12 03:45:50 +03:00
alexey-milovidov
3f46f35aa1
Merge pull request #10823 from ClickHouse/vitaly-stoyan-patch
Added a patch from Vitaly Stoyan for internal Arcadia repository
2020-05-12 03:43:31 +03:00
Anton Popov
a1333895eb
Merge pull request #10791 from oandrew/key-condition-source-type
Use src_type for conversion in KeyCondition
2020-05-12 03:29:43 +03:00
Alexey Milovidov
f61576fdfa Fix logical error in convertFieldToType 2020-05-12 02:53:03 +03:00
Azat Khuzhin
ce26c09d02 Make order of columns strict in Block::sortColumns()
Before it depends on the buckets, since it uses plain unordered_set.
2020-05-12 02:50:42 +03:00
alexey-milovidov
46e41f8d86
Update FunctionFactory.h 2020-05-12 00:22:34 +03:00
alexey-milovidov
4a4961fb10
Update FunctionFactory.cpp 2020-05-12 00:21:40 +03:00
Alexey Milovidov
4a142a44a0 Added a patch from Vitaly Stoyan 2020-05-12 00:18:50 +03:00
Alexey Milovidov
25cf842491 Fix the issue with ODBC bridge and identifier_quoting_style = None #7984 2020-05-11 23:05:08 +03:00
Alexey Milovidov
cb72b332e6 utils/generate-ya-make$ ./generate-ya-make.sh 2020-05-11 20:21:57 +03:00
alexey-milovidov
1e70230991
Merge pull request #10722 from Enmk/DateTime64_fixes
function toStartOfSecond(DateTime64) -> DateTime64
2020-05-11 20:20:58 +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
Gleb Novikov
d255bb998a VolumePtr instead of DiskPtr in IMergedBlockOutputStream and inherited classes 2020-05-11 20:20:26 +03:00
alexey-milovidov
61496384b6
Merge pull request #10809 from Enmk/DateLUTImpl_ctor_fix
Fixed DateLUTImpl constructors to avoid accidental copying
2020-05-11 20:19:44 +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
b99ff5aa2d const keyword 2020-05-11 18:01:23 +07:00
Vasily Nemkov
2c2005817f New function toStartOfSecond(DateTime64) -> DateTime64
This funtion nullifies sub-second part of DateTime64 value.
2020-05-11 12:06:06 +03: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
alexey-milovidov
33d491edf3
Merge pull request #10516 from azat/dist-GROUP_BY-sharding_key-fixes
Disable GROUP BY sharding_key optimization by default (and fix for WITH ROLLUP/CUBE/TOTALS)
2020-05-11 12:03:27 +03:00
Vasily Nemkov
776ce03777 Fixed DateLUTImpl constructors to avoid accidental copying
Fixed one case of copying DateLUTImpl
2020-05-11 10:42:47 +03:00
Guillaume Tassery
a64d44799d newline 2020-05-11 14:13:33 +07:00
Guillaume Tassery
875a8ab2c3 fix parser 2020-05-11 13:53:10 +07:00
Guillaume Tassery
f67cd0d3f2 remove new line 2020-05-11 13:46:16 +07:00
Guillaume Tassery
d6eae04eb0 cosmetic 2020-05-11 13:26:01 +07:00
alexey-milovidov
06ba85fdf2
Merge pull request #10795 from ClickHouse/list-licenses
Added "system.licenses" table
2020-05-11 09:00:55 +03:00
Alexey Milovidov
3fcbb06cab Fix MSan report in MergeTreeIndexFullText 2020-05-11 08:04:59 +03:00
Guillaume Tassery
c7dfe9e93d cosmetic 2020-05-11 11:47:31 +07:00
Alexey Milovidov
141218d44a Fix Arcadia 2020-05-11 07:36:32 +03:00
Alexey Milovidov
c5e78d12e7 Merge branch 'master' into list-licenses 2020-05-11 07:35:35 +03:00
Guillaume Tassery
654d6fcd26 cosmetic 2020-05-11 11:35:21 +07:00
alexey-milovidov
40ef113503
Merge branch 'master' into parallel-final 2020-05-11 06:47:44 +03:00
Guillaume Tassery
802ae8948a cosmetic 2020-05-11 10:36:52 +07:00
alexey-milovidov
ddc84163a7
Merge pull request #10486 from azat/dist-send-on-INSERT
Fix distributed send that are scheduled by INSERT query
2020-05-11 06:28:35 +03:00
alexey-milovidov
afd0938b99
Merge pull request #10603 from ClickHouse/fix-mv-scalars
Fix mv scalars
2020-05-11 06:26:19 +03:00
Alexey Milovidov
032eb603f2 Regenerate ya.make 2020-05-11 06:16:16 +03:00