Commit Graph

6737 Commits

Author SHA1 Message Date
Alexey Milovidov
ad4c6a63e1 Fix and improve test 2021-07-18 18:04:32 +03:00
Alexey Milovidov
4587ddaeeb Fix test 2021-07-18 18:02:31 +03:00
Alexey Milovidov
eb134377b2 Fix tests 2021-07-18 18:01:16 +03:00
Alexey Milovidov
4a74cb7cef Fix tests 2021-07-18 17:58:14 +03:00
Alexey Milovidov
da14f2885d Fix test 2021-07-18 17:56:45 +03:00
Alexey Milovidov
8a92ddeb19 Fix test 2021-07-18 17:55:16 +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
Alexey Milovidov
819d2e9cf7 Fix some tests 2021-07-18 12:16:35 +03:00
Caspian
591d583c5b support REPLACE GRANT NONE syntax 2021-07-18 16:58:48 +08:00
kssenii
9cb10aae3c Some fixes 2021-07-18 03:43:08 +00:00
Alexey Milovidov
da94ed8a87 Merge branch 'master' into random_timezone_for_stateless_tests 2021-07-18 01:12:24 +03:00
Alexey Milovidov
b7690e3fb4 Fix flaky test distributed_ddl_output_mode 2021-07-18 01:04:05 +03:00
alexey-milovidov
2316f42009
Merge pull request #26365 from Algunenano/set_index
Draft: Don't build set for indices when analyzing a query
2021-07-17 19:21:58 +03:00
BoloniniD
19b673fb3b Style fix for error message 2021-07-17 15:30:03 +03:00
BoloniniD
f0113a79d9 Fix for flaky tests, added temporary files for data and logs 2021-07-17 13:58:40 +03:00
Alexey Milovidov
abc77ad63a Fixup for #26131 2021-07-17 13:15:35 +03:00
alexey-milovidov
ecaf22149c
Merge pull request #26131 from fastio/estimates_for_select_query
Estimates for select query
2021-07-17 13:14:57 +03:00
alexey-milovidov
917cdcd0bb
Merge pull request #26426 from vdimir/functions-coding-split-file
Split FunctionsCoding into several files
2021-07-17 13:01:50 +03:00
BoloniniD
2e05063298 Merge branch 'master' of github.com:ClickHouse/ClickHouse into pipe_reading 2021-07-17 10:30:18 +03:00
alexey-milovidov
10f3500b3b
Merge pull request #26431 from azat/tests-fixes-v21.9.1.7477
Tests fixes v21.9.1.7477
2021-07-17 02:51:01 +03:00
mergify[bot]
89634ae224
Merge branch 'master' into estimates_for_select_query 2021-07-16 23:15:30 +00:00
alexey-milovidov
38dfe1fc0a
Merge pull request #26172 from ClickHouse/exception_id
Add error id to exceptions
2021-07-17 02:07:17 +03:00
alexey-milovidov
c9a917a163
Merge pull request #26282 from FArthur-cmd/adding-system-warnings-26039
Show warnings
2021-07-17 01:53:57 +03:00
alexey-milovidov
bc907bd27c
Merge pull request #26336 from azat/dist-per-table-monitor-settings
Add ability to set Distributed directory monitor settings via CREATE TABLE
2021-07-17 01:49:40 +03:00
alexey-milovidov
1701cc429d
Merge pull request #26353 from azat/optimize_distributed_group_by_sharding_key-fix
Fix optimize_distributed_group_by_sharding_key for multiple columns
2021-07-17 01:45:10 +03:00
alexey-milovidov
6f13eb49c1
Merge pull request #26320 from Algunenano/profile_sleep_calls
Add profile events for sleep function calls
2021-07-17 01:37:23 +03:00
alexey-milovidov
f3a5d3227a
Merge pull request #26428 from ClickHouse/fix-msan-from-22517
Fix msan crash from 22517
2021-07-17 01:11:55 +03:00
Azat Khuzhin
41329a59e8 Fix 01455_shard_leaf_max_rows_bytes_to_read (set prefer_localhost_replica=0) 2021-07-16 23:15:30 +03:00
Azat Khuzhin
6d786f9734 Rewrite 01882_total_rows_approx using http interface w/o system.processes 2021-07-16 23:12:37 +03:00
Kseniia Sumarokova
e844cec16f
Merge branch 'master' into fix-hdfs-crash 2021-07-16 22:21:30 +03:00
Caspian
636dcb0e9c rename test files 2021-07-17 00:09:36 +08:00
Nikolai Kochetov
1c1cc22a06 Fix msan crash from #22517. 2021-07-16 17:22:26 +03:00
Anton Popov
c45a9e3bd6 Merge remote-tracking branch 'upstream/master' into HEAD 2021-07-16 17:11:34 +03:00
Alexey Milovidov
dc884de1a3 Relax condition in flaky test 2021-07-16 16:58:02 +03:00
Nikolai Kochetov
d996d0bae9 Fix incompatible result type for scalar queries with empty result. 2021-07-16 16:38:35 +03:00
mergify[bot]
126a2d7ad1
Merge branch 'master' into dist-per-table-monitor-settings 2021-07-16 13:32:40 +00:00
BoloniniD
fcbfa27f33 Merge branch 'master' of github.com:ClickHouse/ClickHouse into pipe_reading 2021-07-16 16:28:26 +03:00
Alexey Boykov
83e581244c add current_database in tests 2021-07-16 16:18:18 +03:00
vdimir
4cf2e33647
Use registerAlias for mysql comatibility of ntoa/aton functions 2021-07-16 16:18:06 +03:00
alexey-milovidov
181f20cfe1
Merge pull request #26368 from ianton-ru/fix_dns_exception
Catch Poco exception in resolveIPAddressImpl
2021-07-16 16:04:55 +03:00
Filatenkov Artur
848f595e97
Update 01526_client_start_and_exit.expect-not-a-test-case
fix no matching with reference
2021-07-16 14:59:39 +03:00
Alexey Boykov
8026ed5ee9 Adding query_id functions and tests 2021-07-16 14:47:17 +03:00
Artur
0373f2f6d0 correct expect files to avoid freezing 2021-07-16 09:57:28 +00: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
caspian
25d1d9c2b4 update tests 2021-07-16 17:05:57 +08:00
Anton Ivashkin
4dfd6ddcdb Catch Poco exception in resolveIPAddressImpl 2021-07-16 10:47:44 +03:00
BoloniniD
bab7681bc1 Fix test number and some fixes in reference 2021-07-16 10:22:37 +03:00
Vladimir
c8ead44c23
Merge pull request #26374 from vdimir/infinite-pmj-fix 2021-07-16 09:50:44 +03:00
caspian
08101af4fd add tests 2021-07-16 11:21:50 +08:00
Azat Khuzhin
e2d8ba893a Fix 01460_DistributedFilesToInsert (correctly set dist table settings) 2021-07-16 04:10:47 +03:00
Azat Khuzhin
df5a26738d Fix 01040_distributed_directory_monitor_batch_inserts by properly set batch mode 2021-07-16 04:10:47 +03:00
vdimir
cf77a3e05a
Fix infine non joined block stream in merge join 2021-07-15 18:22:46 +03:00
Artur
de004d7afb wrong reference name 2021-07-15 15:13:23 +00:00
Artur
45d58d68c9 correcting interactive test 2021-07-15 14:37:44 +00:00
BoloniniD
f27e69a31f Merge branch 'master' of github.com:ClickHouse/ClickHouse into pipe_reading 2021-07-15 17:37:37 +03:00
Raúl Marín
fa305b1a72 Tests should work with joined_subquery_requires_alias 2021-07-15 15:11:16 +02:00
Artur
c0a34e2842 Adding interactive test for warning messages during connection 2021-07-15 12:53:11 +00:00
Alexey Milovidov
241bb3757a Remove "long" from test name 2021-07-15 15:37:33 +03:00
Alexey Milovidov
a2fa2543b7 Fix flaky test 01293_client_interactive_vertical_multiline_long 2021-07-15 15:36:42 +03:00
Raúl Marín
c2f0d7c514 Don't build set for indices when analyzing a query 2021-07-15 14:25:22 +02:00
Raúl Marín
f92a2d3784 Drop view when done 2021-07-15 14:09:42 +02:00
Raúl Marín
757a210f92 Add profile events to sleep function calls 2021-07-15 14:09:42 +02:00
BoloniniD
5a15266d55 Replaced third test, fixed reference 2021-07-15 15:00:45 +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
Filatenkov Artur
29b1155c95
Merge pull request #26261 from SaintBacchus/toTimeZone
Make toTimeZone monotonicity when timeZone is a constant value
2021-07-15 13:02:35 +03:00
Peng Jian
63f2b9f342 fix test 2021-07-15 16:07:17 +08:00
alexey-milovidov
9ba4064c86
Revert "Datatype Date32, support range 1925 to 2283" 2021-07-15 10:53:35 +03:00
Peng Jian
9c4dbda0ef fix tast case reference 2021-07-15 14:25:05 +08:00
Azat Khuzhin
7b209694d5 Fix optimize_distributed_group_by_sharding_key for multiple columns
Before we incorrectly check that columns from GROUP BY was a subset of
columns from sharding key, while this is not right, consider the
following example:

    select k1, any(k2), sum(v) from remote('127.{1,2}', view(select 1 k1, 2 k2, 3 v), cityHash64(k1, k2)) group by k1

Here the columns from GROUP BY is a subset of columns from sharding key,
but the optimization cannot be applied, since there is no guarantee that
particular shard contains distinct values of k1.

So instead we should check that GROUP BY contains all columns that is
required for calculating sharding key expression, i.e.:

    select k1, k2, sum(v) from remote('127.{1,2}', view(select 1 k1, 2 k2, 3 v), cityHash64(k1, k2)) group by k1, k2
2021-07-15 09:09:58 +03:00
alexey-milovidov
0893b9ff8e
Merge pull request #26218 from amosbird/projection-improve1
Aggressive IN index analysis for projections.
2021-07-15 08:13:45 +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
alexey-milovidov
3e1eecba89
Merge pull request #26326 from egatov/master
Modifications to an obscure Yandex TSKV format
2021-07-15 07:54:48 +03:00
Peng Jian
ac06ba3329 add test reference 2021-07-15 11:12:28 +08:00
万康
c8a9349a38 skip parallel test 2021-07-15 11:07:12 +08:00
huangzhaowei
d5e907ac8d Add a test case for monotonicity totimezone 2021-07-15 10:39:34 +08:00
Evgeniy Gatov
5a884da13c METR-41529 2021-07-15 00:57:18 +03:00
Raúl Marín
255fbe22a2 Drop view when done 2021-07-14 23:27:36 +02:00
kssenii
435f6d3d92 Update skip_list.json 2021-07-15 00:18:48 +03:00
kssenii
f20ea87bfb Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into add-sqlite-database-path-check 2021-07-14 20:49:05 +00:00
alexey-milovidov
11a4b56f51
Merge pull request #26305 from ClickHouse/function_range_max_elements_in_block
Add a setting `function_range_max_elements_in_block`
2021-07-14 23:15:25 +03:00
kssenii
61652acede Add test 2021-07-14 22:49:16 +03:00
Raúl Marín
901e251d53 Add profile events to sleep function calls 2021-07-14 18:44:09 +02:00
Amos Bird
0558ecdc3f
Aggressive IN index analysis for projections. 2021-07-14 22:56:52 +08:00
Raúl Marín
59ec2bafbd Improve read_file_to_stringcolumn compatibility
If you don't go enough times back (../../) it might not reach /tmp/c.txt
2021-07-14 16:35:46 +02:00
Peng Jian
93b09c54fd add test case 2021-07-14 21:12:32 +08:00
vdimir
e2280aad18
Merge branch 'master' into exception_id 2021-07-14 14:50:50 +03:00
Anton Popov
e2249bf1e5
Merge pull request #26256 from zxc111/issue-822
Check hash function at table creation
2021-07-14 14:16:02 +03:00
vdimir
b49e37aa07
Rewrite join totals, fix block structure mismatch 2021-07-14 13:02:23 +03:00
BoloniniD
3be17d0639 Make multiple read test executable 2021-07-14 12:26:00 +03:00
Alexey Milovidov
acd6e4f0aa Add a test 2021-07-14 12:13:40 +03:00
Vladimir
c6177bd0cc
Merge pull request #26123 from vdimir/issue-25806-null-enum-to-str 2021-07-14 10:22:37 +03:00
zxc111
75393249bf fix test case 2021-07-14 11:53:09 +08:00
kssenii
b393603b57 Fix build 2021-07-13 22:25:26 +00:00
Nikita Mikhaylov
46eb563e79 update arcadia skip list 2021-07-13 20:19:06 +00:00
kssenii
3242a8a86a Update test 2021-07-13 19:06:08 +00:00
Alexander Tokmakov
590615df66 fix 2021-07-13 22:01:43 +03:00
Artur
3b61682265 add new config to skip warnings 2021-07-13 17:50:48 +00:00
Alexander Tokmakov
f0ed6be269 Merge branch 'master' into system_zookeeper_log 2021-07-13 20:49:37 +03:00
Nikita Mikhaylov
208ef7a2d2
Merge pull request #24980 from Andr0901/s2-library
Integration of S2 library
2021-07-13 20:10:57 +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
Maksim Kita
3d05f07ece
Merge pull request #25917 from excitoon-favorites/defaultblocksizeprediction
Using required columns for block size prediction
2021-07-13 20:05:41 +03:00
Ilya Golshtein
969458f043 Avro string for ClickHouse string minor fixes 2021-07-13 20:03:01 +03:00
Ilya Golshtein
020cce63b0 Avro string for ClickHouse string tests and doc 2021-07-13 20:03:00 +03:00
zxc111
e0497e9549 fix test case 2021-07-14 00:36:21 +08:00
BoloniniD
f33f931aff Some changes after test review 2021-07-13 16:49:29 +03:00
Anton Popov
19d0f1bbfc Merge remote-tracking branch 'upstream/master' into HEAD 2021-07-13 16:12:08 +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
kssenii
f86817d57c Check inclusion inside user_files 2021-07-13 12:38:37 +00:00
Nikita Mikhaylov
cac2aa9699 Revert "Revert "Implement h3ToGeo function"" 2021-07-13 12:10:21 +00:00
zxc111
b958bc07e1 fix hash function for sampling is not unsigned integer 2021-07-13 19:31:32 +08:00
BoloniniD
4772840a94
File format parameter fix
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2021-07-13 14:08:51 +03:00
vdimir
f94b1419f2
Add testcase to 01107_join_right_table_totals 2021-07-13 14:07:06 +03:00
Nikita Mikhaylov
927706da1f fix arcadia 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
9cd29f359f fix test 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
1b4f60a0f6 fix fuzzer 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
fa816ab19c fix fuzzer 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
fbf529411b fix tests 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
7ebd678508 update arcadia_skip 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
8062b492c5 added tests to skip list 2021-07-13 10:51:08 +00:00
Nikita Mikhaylov
67fecc55a9 add tests 2021-07-13 10:50:39 +00:00
Nikita Mikhaylov
0be0fc810b fix tests 2021-07-13 10:50:39 +00:00
Nikita Mikhaylov
356c11bb25 fix tests 2021-07-13 10:50:38 +00:00
Andr0901
f78480507e some fixes 2021-07-13 10:50:12 +00:00
Andr0901
fe075f407e add some cap and rect functions 2021-07-13 10:49:55 +00:00
Andr0901
4d75450e54 add tests 2021-07-13 10:49:55 +00:00
alexey-milovidov
b4741ed2fe
Merge pull request #23140 from amosbird/fixrandomoneshardinsert
Fix misbehaviors when insert_distributed_one_random_shard = 1
2021-07-13 11:47:53 +03:00
alexey-milovidov
af7ecb7f7a
Merge pull request #25798 from azat/optimize_skip_unused_shards_rewrite_in-types-fix
Fix optimize_skip_unused_shards_rewrite_in for non-UInt64 types
2021-07-13 11:40:59 +03:00
alexey-milovidov
101ee12f18
Merge pull request #26038 from amosbird/projection-fix11
Fix normal projection with prewhere
2021-07-13 11:40:08 +03:00
vdimir
c938a53e88
Fixes for FunctionConversion implementation for nulls 2021-07-13 09:48:05 +03:00
vdimir
7c4c2b29c2
Do not throw exception for unexpected values in enum during to string conversion 2021-07-13 09:48:04 +03:00
Kseniia Sumarokova
a24d2c1faf
Merge pull request #24194 from g-arslan/add-sqlite-support
SQLite integration
2021-07-13 09:28:13 +03:00
alexey-milovidov
cf95804c79
Merge pull request #26217 from amosbird/globalinfix
Proper GLOBAL IN function rewrite.
2021-07-13 04:57:54 +03:00
alexey-milovidov
4b1e38eed9
Merge branch 'master' into projection-fix11 2021-07-13 04:52:15 +03:00
alexey-milovidov
4183f3164a
Merge branch 'master' into fixrandomoneshardinsert 2021-07-13 04:46:40 +03:00
alexey-milovidov
f5f9e35331
Merge pull request #26241 from evillique/column_size
Add column sizes for `Log` and `TinyLog` tables
2021-07-13 03:54:03 +03:00
alexey-milovidov
d28b143c49
Merge pull request #26246 from FArthur-cmd/adding-system-warnings-26039
Adding system warnings 26039
2021-07-13 03:44:53 +03:00
alexey-milovidov
5295f7ebb2
Merge pull request #26235 from ClickHouse/check-non-deterministic-functions-in-keys
Check for non-deterministic functions in keys, including constant expressions
2021-07-13 02:46:44 +03:00
kssenii
976f4dffda Add table function sqlite, fix type conversions 2021-07-12 21:09:23 +00:00
Nikolay Degterinsky
8d2da5933c Minor fixes 2021-07-12 19:04:53 +00: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
zxc111
e0261866a4 add settings && add test case 2021-07-13 01:15:35 +08:00
Artur
984db516b3 correcting input commands format 2021-07-12 16:17:39 +00:00
万康
60f556be2d add default_database to user 2021-07-12 22:35:07 +08:00
Nikolay Degterinsky
f0ddbb1ca5 Add functional test 2021-07-12 13:41:10 +00:00
Artur
14881c3b8a Improve tests 2021-07-12 13:00:23 +00:00
Artur
278099e663 correct code style 2021-07-12 12:21:18 +00:00
Artur
66178b1db1 expect remark 2021-07-12 11:02:06 +00:00
Artur
1e90287e9a Adding tests for system.warnings 2021-07-12 10:57:39 +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
kssenii
068d85aa8b Fix Nulls usage 2021-07-12 07:53:52 +00:00
Alexey Milovidov
48cbd93dcb Add a test 2021-07-12 09:48:52 +03:00
Alexey Milovidov
028f075e14 Update tests 2021-07-12 03:18:22 +03:00
kssenii
bf7bd39bf2 Change file + dir permissions in test 2021-07-11 21:35:29 +00:00
kssenii
d6967dbd2b Update test 2021-07-11 19:10:52 +00:00
Maksim Kita
82650a878f
Merge pull request #26161 from kitaisreal/compile-aggregate-functions-bitwise
Compile AggregateFunctionBitwise
2021-07-11 20:06:47 +03:00
Amos Bird
bed76e88bc
Disable table functions for GLOBAL IN 2021-07-11 19:52:24 +08:00
Amos Bird
7c6c1234f8
Proper GLOBAL IN function rewrite. 2021-07-11 14:21:57 +08:00
alexey-milovidov
6f81482a94
Merge pull request #26179 from ClickHouse/untuple-transformers-msan
Added failing test #24404
2021-07-10 19:17:36 +03:00
alexey-milovidov
f95cd5b1e4
Merge pull request #26180 from ClickHouse/azat-subdomains
Merging #26041.
2021-07-10 19:16:01 +03:00
kssenii
ded4556942 More tests 2021-07-10 12:47:44 +00:00
kssenii
18c2abaaf9 Fix database engine attach, more tests 2021-07-10 10:31:21 +00:00
alexey-milovidov
a958a8c6ff
Merge pull request #25824 from azat/remote-sharding-key-column-fix
Fix sharding_key from column w/o function for remote()
2021-07-10 11:33:02 +03:00
Alexey Milovidov
e09467fd5a Merge with #26041 2021-07-10 11:29:54 +03:00
Alexey Milovidov
e95d67b8e2 Update tests after removing harmful code 2021-07-10 10:29:30 +03:00
Alexey Milovidov
efbc308739 Remove harmful code and fix crash 2021-07-10 10:27:48 +03:00
Alexey Milovidov
4ed170a652 Added failing test #24404 2021-07-10 10:14:21 +03:00
kssenii
40281f9283 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into g-arslan-add-sqlite-support 2021-07-10 06:50:46 +00:00
alexey-milovidov
15069bf1ba
Merge pull request #21543 from hexiaoting/dev-map-bug
Add DataTypeMap support LowCardinality and FixedString type
2021-07-10 05:54:59 +03:00
Maksim Kita
dc81ae7c6e Compile AggregateFunctionBitwise 2021-07-10 01:51:34 +03:00
Alexander Tokmakov
ca45054de5 add enums 2021-07-10 00:18:20 +03:00
Maksim Kita
f48c5af90c
Merge pull request #26118 from vdimir/issue-25993-join-get-lc
Do not use default impl for low cardinality for joinGet
2021-07-09 23:45:55 +03:00
alexey-milovidov
806bf3d99c
Merge pull request #26130 from kitaisreal/dict-get-has-complex-key-dictionary-key-argument-tuple-fix
Functions dictGet, dictHas complex key dictionary key argument tuple fix
2021-07-09 21:45:55 +03:00
Maksim Kita
03c4853451 Functions dictGet, dictHas complex key dictionary key argument tuple fix 2021-07-09 17:20:02 +03:00
Alexander Tokmakov
4165ba2a01 add system.zookeeper_log 2021-07-09 17:05:35 +03:00
Maksim Kita
59d5cff1fe
Merge pull request #26113 from ClickHouse/point-in-polygon-nan
Fix possible crash in `pointInPolygon` if the setting `validate_polygons` is turned off.
2021-07-09 16:41:43 +03:00
Maksim Kita
c73d53dda4
Merge pull request #26094 from zxc111/issue-9390
hex/bin functions support AggregateFunction states.
2021-07-09 16:41:07 +03:00
BoloniniD
350f2c0455 Added first version for tests 2021-07-09 16:15:16 +03:00
kssenii
750f9b82fb Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into g-arslan-add-sqlite-support 2021-07-09 10:28:05 +00:00
vdimir
43880af722
Add test to join_get_low_card_fix 2021-07-09 12:23:24 +03:00
Vladimir Chebotarev
db0da1b144
Update 2021-07-09 10:40:01 +03:00
Vladimir
bf0695ff84
Merge pull request #25589 from TszKitLo40/support-distinct-on 2021-07-09 09:50:45 +03:00
Vitaly Baranov
3fb0567887
Merge pull request #26075 from vitlibar/pad-functions
Pad functions
2021-07-09 06:46:23 +03:00
alexey-milovidov
eafce775c9
Merge pull request #25452 from amosbird/jsonextractrawstring
JSONExtract String or Raw
2021-07-09 06:17:13 +03:00
Alexey Milovidov
9290d6f112 Fix UBSan report in pointInPolygon 2021-07-09 06:06:21 +03:00
mergify[bot]
bbde9e2efd
Merge branch 'master' into dev-map-bug 2021-07-09 02:52:53 +00:00
alexey-milovidov
7c17e2526d
Merge pull request #25634 from vdimir/join-materialized-columns
Support materialized and aliased columns in joins
2021-07-09 03:18:49 +03:00
alexey-milovidov
c98e131a81
Merge pull request #26072 from vdimir/fix-offset-check-in-window-frame
Fix logical error with signed and unsigned offset in WindowFrame::checkValid
2021-07-09 03:06:15 +03:00
Vitaly Baranov
3dfdcf4604 Improve implementation of leftPadString(), rename to leftPad(). Add new functions rightPad(), leftPadUTF8(), rightPadUTF8(). Add a test. 2021-07-08 23:39:29 +03:00
Vladimir Chebotarev
bbf8218e68 Fix test. 2021-07-08 23:39:03 +03:00
zxc111
e4b1e0619c hex/bin functions support AggregateFunction states. 2021-07-09 00:41:44 +08:00
alexey-milovidov
9c2aad6c17
Merge pull request #25962 from ClickHouse/network-instrumentation
More instrumentation for network interaction: add counters for recv/send bytes; add gauges for recvs/sends.
2021-07-08 17:20:16 +03:00
Vladimir Chebotarev
1474cc7d09 Fix test. 2021-07-08 17:00:58 +03:00
Vladimir
02977007dc
Remove queries with syntax error from 01917_distinct_on.sql 2021-07-08 15:45:23 +03:00
vdimir
5d7fc61bd5
Merge branch 'master' into join-materialized-columns 2021-07-08 12:30:00 +03:00
Vladimir Chebotarev
bb507794a1 Fix test. 2021-07-08 11:23:06 +03:00
vdimir
39de7f8a2a
Fix logical error with signed and unsinged offset in WindowFrame::checkValid 2021-07-08 11:16:57 +03:00
Vladimir Chebotarev
a695bf6068 Fix test. 2021-07-08 10:41:51 +03:00
Azat Khuzhin
20cbca87de Fix 01791_dist_INSERT_block_structure_mismatch flakiness
Add SYSTEM STOP DISTRIBUTED SENDS to force messages from SYSTEM FLUSH
DISTRIBUTED query context.
2021-07-08 00:48:15 +03:00
Anton Popov
e89f701c58
Merge pull request #26048 from CurtizJ/fix-map-type-json
Proper fix of serialization of type Map to JSON
2021-07-07 23:20:39 +03:00
Alexander Tokmakov
1a470fb777 fix sequence_id in MySQL protocol 2021-07-07 20:03:28 +03:00
kssenii
ff56f1787c Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into g-arslan-add-sqlite-support 2021-07-07 15:19:12 +00:00
Anton Popov
a24686d300 fix serialization of type Map to JSON 2021-07-07 15:04:07 +03:00
alesapin
f0fc12d0dd Merge branch 'master' into evillique-nlp 2021-07-07 12:14:49 +03:00
alesapin
4c85dae572
Merge pull request #25743 from ClickHouse/fix_aggregation_ttl
Fix bug in execution of TTL GROUP BY
2021-07-07 10:49:16 +03:00
alesapin
0d8844c510
Merge pull request #25884 from ClickHouse/fix_drop_part_in_queue
Relax `DROP PART` guarantees and turn on checks in ReplicationQueue.
2021-07-07 10:48:48 +03:00
mergify[bot]
d9195c6f4a
Merge branch 'master' into support-distinct-on 2021-07-07 06:42:33 +00:00
Vladimir
b46ac3dfd1
Merge pull request #25609 from zxc111/master 2021-07-07 09:36:55 +03:00
mergify[bot]
446474932b
Merge branch 'master' into projection-fix11 2021-07-07 05:02:44 +00:00
Amos Bird
55981cb0ae
Fix normal projection 2021-07-07 13:01:30 +08:00
Azat Khuzhin
42a8445462 Fix constness of custom TLDs
Before this patch the functions below returns incorrect type for consts,
and hence optimize_skip_unused_shards does not work:

- cutToFirstSignificantSubdomainCustom()
- cutToFirstSignificantSubdomainCustomWithWWW()
- firstSignificantSubdomainCustom()
2021-07-07 01:27:31 +03:00
Azat Khuzhin
d5cb792e9e Add conversion of values from IN section for optimize_skip_unused_shards_rewrite_in 2021-07-07 00:18:24 +03:00
Azat Khuzhin
a3add4f85f Fix optimize_skip_unused_shards_rewrite_in for non-UInt64 types
The following should happens before:
- incorrect shards was selected
- "Cannot infer type of an empty tuple" exception for empty tuple() for localhost
- "Function tuple requires at least one argument" exception for empty tuple() for remote node
2021-07-07 00:18:24 +03:00
Azat Khuzhin
5938bf1b59 Skip 01756_optimize_skip_unused_shards_rewrite_in in arcadia
Why it hadn't been skipped before? And I guess this test passed in
arcadia?
2021-07-07 00:17:39 +03:00
alesapin
1c39df068e Remove accident change 2021-07-06 19:52:54 +03:00
alesapin
a8fdc41193 Fix bug and add more trash to test 2021-07-06 19:51:23 +03:00
vdimir
b44bd174cc
Change error code for DISTINCT ON and LIMIT BY, finally 2021-07-06 19:14:22 +03:00
Vladimir Chebotarev
26416a2177 Added tests. 2021-07-06 16:37:50 +03:00
Anton Popov
5b0bc8a7fb
Update arcadia_skip_list.txt 2021-07-06 16:16:20 +03:00
Vladimir
96536a9cbe
Update tests/queries/0_stateless/01917_distinct_on.sql 2021-07-06 15:32:28 +03:00
vdimir
a50a98c595
Add copuple cases to test bin_unbin 2021-07-06 15:24:30 +03:00
vdimir
c6e13e6e2e
Add leading zeros in function bin 2021-07-06 15:19:42 +03:00
mergify[bot]
e9df8cc96c
Merge branch 'master' into support-distinct-on 2021-07-06 11:28:07 +00:00
vdimir
9665d41092
Force parentheses for DISTINCT ON 2021-07-06 12:17:26 +03:00
Kseniia Sumarokova
d2141ff53b
Merge pull request #24148 from l1tsolaiki/jsonpath
Jsonpath
2021-07-06 10:43:29 +03:00
Alexey Milovidov
0269e34f18 tests/queries/0_stateless$ wc -l *.sql | grep -P '^\s+0' | awk '{ print $2 }' | xargs sed -i 's/$/\n/' 2021-07-06 08:45:54 +03:00
mergify[bot]
720660e9e9
Merge branch 'master' into network-instrumentation 2021-07-06 00:54:34 +00:00
alexey-milovidov
b724138541
Merge pull request #25786 from kssenii/inconsisteny
Fix inconsistent behaviour of GROUP BY constant on empty set
2021-07-06 03:36:50 +03:00
Maksim Kita
f3d74c84fe
Merge pull request #25982 from CurtizJ/fix-map-json-format
Fix formatting of type `Map` with integer keys to `JSON`
2021-07-05 21:54:31 +03:00
alexey-milovidov
22f3de1ad7
Merge pull request #26002 from kssenii/fix-yanex-check
Fix arcadia
2021-07-05 21:34:37 +03:00
kssenii
754140c538 Update skip list 2021-07-05 21:32:00 +03:00
vdimir
f5b5f601f4
Merge branch 'master' into support-distinct-on 2021-07-05 15:44:20 +03:00
vdimir
dd06866fa8
Fix unbin for corner cases 2021-07-05 14:56:39 +03:00
vdimir
231740f2d6
Function bin for uint uses writeBinByte, correct for single zero 2021-07-05 14:44:50 +03:00
Kseniia Sumarokova
c72a1be0be
Merge pull request #25064 from ucasfl/merge
Database argument for StorageMerge support regular expression.
2021-07-05 14:14:44 +03:00
Maksim Kita
cef9baf597
Merge pull request #25974 from zxc111/issue-3446
Add empty/notEmpty support UUID
2021-07-05 12:21:36 +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
Anton Popov
139482b5c9 fix formatting to json of Map type with integer keys 2021-07-05 03:35:27 +03:00
alexey-milovidov
02abbb549b
Merge pull request #25605 from azat/drop-race
Fix logical race between DETACH and merges
2021-07-05 03:00:14 +03:00
alexey-milovidov
fef7c557f6
Merge pull request #24789 from kitaisreal/compile-aggregation-functions
Compile aggregate functions
2021-07-05 02:57:49 +03:00
l1tsolaiki
7d1c561a7b 😰 2021-07-04 22:57:16 +03:00
l1tsolaiki
57972410c7 😤 2021-07-04 22:54:43 +03:00
l1tsolaiki
fd07dbe1f7 Please just work 2021-07-04 22:46:45 +03:00
l1tsolaiki
7965c638d2 Another try 2021-07-04 22:44:18 +03:00
l1tsolaiki
a0b6281790 Final fix order 2021-07-04 22:38:43 +03:00
l1tsolaiki
3d1e2fe550 Fix order again 2021-07-04 22:37:44 +03:00
l1tsolaiki
4ef27cfc2d Fix ans order 2021-07-04 22:36:35 +03:00
l1tsolaiki
3f8a22c35d Fix syntax 2021-07-04 22:34:34 +03:00
l1tsolaiki
9f05b387e5 Add colons 2021-07-04 22:33:13 +03:00
l1tsolaiki
a48f500956 Add tests with multiple rows 2021-07-04 22:28:05 +03:00