Commit Graph

14678 Commits

Author SHA1 Message Date
Kseniia Sumarokova
3d7b41df1c
Merge pull request #33481 from ClickHouse/avoid-exponential-backtracking-in-parser-2
Avoid exponential backtracking in parser (2)
2022-01-09 19:57:30 +03:00
alexey-milovidov
146639273f
Update app.py 2022-01-09 19:20:06 +03:00
alexey-milovidov
4477b7d2f1
Update run_check.py 2022-01-09 19:19:58 +03:00
Maksim Kita
b46ce6b4a9
Merge pull request #33478 from kitaisreal/range-hashed-dictionary-ddl-expression-fix
RangeHashedDictionary ddl expression fix
2022-01-09 17:57:16 +03:00
kssenii
bfaab1356f Merge remote-tracking branch 'upstream/master' into settings-changes-with-named-conf 2022-01-09 17:56:44 +03:00
kssenii
55430feac9 Improve tests part 2 2022-01-09 15:12:46 +03:00
Alexey Milovidov
659df53854 Add a test for operator priorities in SQL 2022-01-09 13:53:22 +03:00
kssenii
6639a93735 Better 2022-01-09 12:16:12 +03:00
Alexey Milovidov
60a161e043 Fix fast test 2022-01-09 10:50:42 +03:00
Alexey Milovidov
6df2afb5dd One step backwards 2022-01-09 10:42:06 +03:00
Alexey Milovidov
ca62c7d3d1 More tests 2022-01-09 08:26:25 +03:00
Alexey Milovidov
b72818f6d6 More tests 2022-01-09 08:12:28 +03:00
bharatnc
751d046977 add tests for h3CellAreaRads2 2022-01-08 15:23:46 -08:00
bharatnc
bd6019cc95 tests for h3CellAreaM2 2022-01-08 15:23:46 -08:00
bharatnc
fb056cb55b tests for h3hexAreaKm2 2022-01-08 15:23:46 -08:00
bharatnc
0f297fd675 fix file name 2022-01-08 15:23:46 -08:00
bharatnc
b0f96b9351 add tests for h3DegsToRads <> h3RadsToDegs 2022-01-08 15:23:45 -08:00
Maksim Kita
ff53466db6 RangeHashedDictionary ddl expression fix 2022-01-09 00:15:29 +03:00
Maksim Kita
ff645a062a
Merge pull request #33465 from kitaisreal/function-array-last-index
Added function arrayLastIndex
2022-01-08 23:08:04 +03:00
kssenii
61f85e9afc More fixes 2022-01-08 20:44:17 +03:00
alesapin
0860acb4ef
Merge pull request #33246 from nicelulu/fix_acl_map
Fix acl map num
2022-01-08 17:48:00 +03:00
alesapin
733ed7cb54
Merge pull request #32061 from ianton-ru/MDB-15474
Change ZooKeeper path for zero-copy locks for shared data
2022-01-08 17:17:11 +03:00
zhongyuankai
878e44eb97 auto format by file extension 2022-01-08 21:47:14 +08:00
kssenii
c94f4163f7 Merge remote-tracking branch 'upstream/master' into fix-materialized-postgresql-ddl-validation 2022-01-08 15:56:46 +03:00
Maksim Kita
a8c5789063 Added tests 2022-01-08 11:37:56 +03:00
Maksim Kita
4141246c13 Function monthName small fix 2022-01-08 11:04:22 +03:00
mergify[bot]
905d5be288
Merge branch 'master' into add-decodeURLFormComponent 2022-01-08 01:22:40 +00:00
kssenii
64538cf20f Merge remote-tracking branch 'upstream/master' into materialized-postgresql-better-startup 2022-01-08 00:49:08 +03:00
kssenii
b0530682e4 Improve tests 2022-01-08 00:47:29 +03:00
alexey-milovidov
140d64f785
Merge pull request #33415 from kitaisreal/function-array-last
Added function arrayLast
2022-01-07 20:37:06 +03:00
Maksim Kita
fb179a45a1 Function arrayLast added tests 2022-01-07 19:00:27 +03:00
mergify[bot]
7486578465
Merge branch 'master' into master 2022-01-07 13:43:05 +00:00
cmsxbc
37349a9d0f
add function decodeURLFormComponent 2022-01-07 20:51:30 +08:00
alexey-milovidov
d274c00ec7
Merge pull request #33445 from ClickHouse/untuple-exponential-growth
Fix exponential complexity in query analysis.
2022-01-07 14:23:42 +03:00
mergify[bot]
6fcd5a7d41
Merge branch 'master' into MDB-15474 2022-01-07 10:12:25 +00:00
zhangxiao871
3c7ad9a8e9 fix test 2022-01-07 18:09:23 +08:00
alesapin
b1d2bdf569
Merge pull request #33130 from kssenii/validate-config
Validate config keys for external dictionaries
2022-01-07 12:59:02 +03:00
zhangxiao871
ec75d23404 add test 2022-01-07 17:45:30 +08:00
alesapin
6a4d5a985b Rerun docs release check as well 2022-01-07 12:05:38 +03:00
Alexey Milovidov
cc329c3bf9 Add a test 2022-01-07 09:18:13 +03:00
alexey-milovidov
bb000758df
Merge pull request #33422 from ClickHouse/maybe-improve-test
Maybe improve robustness of the "query profiler" test
2022-01-07 08:56:49 +03:00
alexey-milovidov
27dac209dc
Merge pull request #33368 from ClickHouse/dotnet-integration-test
Trying to merge #23230
2022-01-07 08:43:52 +03:00
Alexey Milovidov
b7320ee5b1 Remove some garbage 2022-01-07 05:16:31 +03:00
Alexey Milovidov
12c3130a6d Update reference 2022-01-07 02:03:44 +03:00
Alexey Milovidov
2cdd8d321f Fix error 2022-01-06 22:07:12 +03:00
usurai
b9e69296da Add test for monthName 2022-01-07 00:33:01 +08:00
Mikhail f. Shiryaev
a52e6013b5
Fix wrong formatting for kerberos tag 2022-01-06 13:48:16 +01:00
Alexey Milovidov
1153228f3b Maybe improve robustness of the "query profiler" test 2022-01-06 05:16:09 +03:00
Alexey Milovidov
c4713ee34b Normalize left, right, leftUTF8, rightUTF8 functions 2022-01-05 06:46:31 +03:00
alexey-milovidov
48eec3d8f8
Merge pull request #33366 from ClickHouse/aggregate-dependencies
Aggregate functions to calculate dependencies between columns
2022-01-05 02:50:25 +03:00
alexey-milovidov
09f2cd1f95
Merge pull request #33372 from azat/pread-eof
Do not try to read pass EOF (to workaround a bug in a kernel)
2022-01-04 22:54:10 +03:00
Alexey Milovidov
2d3f53ec5c Merge branch 'dotnet-integration-test' of github.com:yandex/ClickHouse into dotnet-integration-test 2022-01-04 22:49:58 +03:00
Alexey Milovidov
184033b782 Trying to make it work 2022-01-04 22:49:41 +03:00
mergify[bot]
7cfa01cdba
Merge branch 'master' into dotnet-integration-test 2022-01-04 17:16:02 +00:00
alexey-milovidov
9e9e6b7922
Merge pull request #33341 from azat/local-memory-tracking
clickhouse-local: track memory under --max_memory_usage_in_client option
2022-01-04 19:43:41 +03:00
mergify[bot]
327e9572bb
Merge branch 'master' into dotnet-integration-test 2022-01-04 16:35:28 +00:00
Azat Khuzhin
f0f2a9cc40 Add a regression test for pread pass EOF returns EINVAL 2022-01-04 10:53:17 +03:00
Alexey Milovidov
e80f4008fa Fix idiotic test 2022-01-04 00:50:41 +03:00
mergify[bot]
a30c10a235
Merge branch 'master' into interval-length-sum-allow-negative 2022-01-03 20:53:55 +00:00
alexey-milovidov
6efe73fc1b
Merge pull request #26559 from nikitamikhaylov/merging-dev-sum-bug
Merging #26074
2022-01-03 19:46:54 +03:00
alexey-milovidov
cb19d6f519
Merge pull request #29953 from amosbird/saturatetime
Saturate date/datetime to zero.
2022-01-03 19:44:33 +03:00
mergify[bot]
9e7102542b
Merge branch 'master' into aggregate-dependencies 2022-01-03 13:42:34 +00:00
alesapin
9619b0fd96
Merge pull request #33336 from ClickHouse/fix-diff-encoding
Fix (?) encoding issue in #33331
2022-01-03 15:17:22 +03:00
Maksim Kita
c3521bfdf9
Merge pull request #33343 from azat/tests-new-kafka-formats
Cover CustomSeparated/Template formats for Kafka
2022-01-03 14:04:36 +03:00
Stig Bakken
4b109e5399 Add integration test for EXPLAIN TABLE OVERRIDE 2022-01-03 10:58:05 +01:00
Alexey Milovidov
53e3ecb90d Move to separate directory 2022-01-03 03:44:03 +03:00
Alexey Milovidov
2c7a8db58c Add test output and compare to reference 2022-01-03 03:36:23 +03:00
Alexey Milovidov
9678179ba0 Fix a typo 2022-01-03 03:03:49 +03:00
Alexey Milovidov
f790bcfe03 Add something to somewhere 2022-01-03 03:03:26 +03:00
Alexey Milovidov
c3ab18d1b0 Merge branch 'feature/dotnet-integration-test' of github.com:DarkWanderer/ClickHouse into dotnet-integration-test 2022-01-03 03:00:01 +03:00
alexey-milovidov
d08b1231d7
Update runner 2022-01-03 02:56:23 +03:00
Amos Bird
0b7a94c2be Saturate date/datetime to zero 2022-01-03 02:07:08 +03:00
Alexey Milovidov
420baf54bd Add tests 2022-01-03 00:30:16 +03:00
Alexey Milovidov
90f5594f80 Add a test 2022-01-02 20:23:35 +03:00
alexey-milovidov
3f1810c049
Merge pull request #33327 from ClickHouse/rename_committed_to_active
Rename Committed data part state to Active
2021-12-31 14:40:35 +03:00
alexey-milovidov
c2ed92d75d
Update pr_info.py 2021-12-31 14:39:28 +03:00
alexey-milovidov
34b934a1e0
Merge pull request #33331 from ClickHouse/serxa/line-as-string-output-format
Add LineAsString output format
2021-12-31 14:38:36 +03:00
alexey-milovidov
3737d83d3e
Merge pull request #33333 from ClickHouse/add-access-control-to-system-commands
Add missing access control to some system commands
2021-12-31 14:36:59 +03:00
alexey-milovidov
6941b072f4
Merge pull request #33330 from cmsxbc/support-self-closing-tag-for-cluster-secure
support `<secure/>` in cluster configuration.
2021-12-31 14:36:19 +03:00
Azat Khuzhin
63eac4b0cf tests/integration/test_storage_kafka: cover CustomSeparated 2021-12-31 12:02:21 +03:00
Azat Khuzhin
f1c726a675 tests/integration/test_storage_kafka: cover Template format 2021-12-31 11:25:08 +03:00
Azat Khuzhin
0685fd9985 clickhouse-local: track memory under --max_memory_usage_in_client option 2021-12-31 11:06:15 +03:00
Vxider
3761994f68 fix inner table parser in window view 2021-12-31 07:07:01 +00:00
Mikhail f. Shiryaev
fccc4dade1
Fix (?) encoding issue in #33331 2021-12-30 22:19:06 +01:00
alexey-milovidov
764631f2d4
Update 02157_line_as_string_output_format.reference 2021-12-30 23:49:53 +03:00
alexey-milovidov
9fcfc5c188
Update 02157_line_as_string_output_format.sql 2021-12-30 23:49:36 +03:00
alexey-milovidov
8fe29eb665
Update 02157_line_as_string_output_format.sql 2021-12-30 23:48:32 +03:00
Alexander Tokmakov
187c43eba8 rename Committed state to Active 2021-12-30 23:45:38 +03:00
Alexey Milovidov
fbe7680544 Add a test 2021-12-30 23:45:02 +03:00
Alexey Milovidov
a3bbdffe3d Update test 2021-12-30 23:39:43 +03:00
alexey-milovidov
42b8678785
Merge pull request #33271 from ClickHouse/always-display-resource-usage-in-client
Always display resource usage in client
2021-12-30 23:36:49 +03:00
alexey-milovidov
2eec430467
Update 02157_line_as_string_output_format.sql 2021-12-30 21:06:22 +03:00
Sergei Trifonov
f1d398ae4b Add LineAsString output format 2021-12-30 20:38:54 +03:00
cmsxbc
c28fcd5a2f
support <secure/> for cluster 2021-12-30 23:51:05 +08:00
Vladimir C
794e906ffd
Merge pull request #33218 from amosbird/betternullablekey 2021-12-30 17:13:44 +03:00
alesapin
cbdba89d65 Merge branch 'master' into ianton-ru-MDB-15474 2021-12-30 11:21:19 +03:00
Azat Khuzhin
52ad7a4538 Fix test_storage_kafka failures by adjusting retention.ms
This test uses predefined timestamps, and default retention.ms is too
small:

    kafka1_1           | [2021-12-28 21:40:21,842] INFO Created log for partition virt2_0-0 in /var/lib/kafka/data with properties {compression.type -> producer, message.format.version -> 2.2-IV1, file.delete.delay.ms -> 60000, max.message.bytes -> 1000012, min.compaction.lag.ms -> 0, message.timestamp.type -> CreateTime, message.downconversion.enable -> true, min.insync.replicas -> 1, segment.jitter.ms -> 0, preallocate -> false, min.cleanable.dirty.ratio -> 0.5, index.interval.bytes -> 4096, unclean.leader.election.enable -> false, retention.bytes -> -1, delete.retention.ms -> 86400000, cleanup.policy -> [delete], flush.ms -> 9223372036854775807, segment.ms -> 604800000, segment.bytes -> 1073741824, retention.ms -> 604800000, message.timestamp.difference.max.ms -> 9223372036854775807, segment.index.bytes -> 10485760, flush.messages -> 9223372036854775807}. (kafka.log.LogManager)

    kafka1_1           | [2021-12-28 21:40:24,540] INFO [Log partition=virt2_0-0, dir=/var/lib/kafka/data] Found deletable segments with base offsets [0] due to retention time 604800000ms breach (kafka.log.Log)

v2: fix tests with 0 timestamp_ms
    and this should be all tests that was left:

    $ fgrep 'Found deletable segments with base offsets' test_storage_kafka/_instances_0/docker.log
    kafka1_1           | [2021-12-29 09:46:15,610] INFO [Log partition=avro1-0, dir=/var/lib/kafka/data] Found deletable segments with base offsets [0] due to retention time 604800000ms breach (kafka.log.Log)
    kafka1_1           | [2021-12-29 09:51:15,609] INFO [Log partition=virt1-0, dir=/var/lib/kafka/data] Found deletable segments with base offsets [0] due to retention time 604800000ms breach (kafka.log.Log)
2021-12-30 10:25:10 +03:00
Nikolai Kochetov
11f64d6e1f
Merge pull request #33286 from vdimir/issue_31979
Disable FunctionConvertFromString::canBeExecutedOnDefaultArguments
2021-12-30 07:19:42 +03:00
alexey-milovidov
e879aca58b
Update run_check.py 2021-12-29 23:21:47 +03:00
Nicolae Vartolomei
1868570920 Add test for broken connection 2021-12-29 20:11:37 +00:00