Anton Popov
abcc48c1f6
Merge remote-tracking branch 'upstream/master' into support-prewhere-storage-merge
2021-12-29 21:07:35 +03:00
Kruglov Pavel
489a30859f
Merge pull request #32455 from Avogar/schema-inference
...
Automatic schema inference for input formats
2021-12-29 21:03:48 +03:00
Anton Popov
7c6f7f6732
support 'optimize_move_to_prewhere' with storage 'Merge'
2021-12-29 20:49:10 +03:00
alexey-milovidov
aa4044f14e
Merge pull request #33265 from den-crane/test/create_table_w_timezone
...
test for #24410
2021-12-29 20:21:26 +03:00
Vladimir C
f31f0578fd
Merge pull request #33276 from benbiti/improve_parseDateTime64BestEffort
2021-12-29 16:42:05 +03:00
Denny Crane
d19de98f07
Update 02155_create_table_w_timezone.sql
2021-12-29 13:21:50 +00:00
Denny Crane
e75e4b77e7
test for #24410
2021-12-29 13:21:50 +00:00
Nikolai Kochetov
c715204e18
Merge pull request #32271 from Algunenano/kill_scalar_github
...
Be able to KILL scalar queries
2021-12-29 16:00:59 +03:00
tavplubix
65a2b5aeb8
Merge pull request #33228 from amosbird/nullablekeytests
...
More nullable primary key tests.
2021-12-29 15:28:48 +03:00
alesapin
24df9dedd3
Merge pull request #33272 from den-crane/test/26920
...
Test for #26920
2021-12-29 13:02:58 +03:00
Kruglov Pavel
dd7f61b337
Merge branch 'master' into schema-inference
2021-12-29 12:59:05 +03:00
Maksim Kita
c3c8af747d
Merge pull request #33261 from kitaisreal/dictionaries-fix-comment
...
Dictionaries fix comment
2021-12-29 12:43:24 +03:00
avogar
26abf7aa62
Remove code duplication, use simdjson and rapidjson instead of Poco
2021-12-29 12:21:01 +03:00
avogar
e3dbfe6bf6
Better test url engine
2021-12-29 12:18:56 +03:00
avogar
622a013b7b
Fix tests
2021-12-29 12:18:56 +03:00
avogar
9f30c17777
Fix tests
2021-12-29 12:18:56 +03:00
avogar
8a65c265e9
Fix shellcheck
2021-12-29 12:18:56 +03:00
avogar
74f09d6476
Fix tests
2021-12-29 12:18:56 +03:00
avogar
3d38e466b1
Fix tests
2021-12-29 12:18:56 +03:00
avogar
aaf9f85c67
Add more tests and fixes
2021-12-29 12:18:56 +03:00
avogar
dd994aa761
Add some tests and some fixes
2021-12-29 12:18:56 +03:00
benbiti
a954de4560
fix missing ; in tests
2021-12-29 16:50:27 +08:00
Azat Khuzhin
c541ee386b
Mark some expect tests as long
...
CI: https://s3.amazonaws.com/clickhouse-test-reports/33263/765c7980b84ef6a7851a5fe2846a06f08382f03a/stateless_tests_flaky_check__address__actions_.html
2021-12-29 10:02:38 +03:00
Azat Khuzhin
06ac2cd6cd
tests: fix 02112_delayed_clickhouse_*_with_queries_file
...
- fix variables inside prepare.sh
- fix variables for invoking prepare.sh
- fix path to queries file
- wait for eof on client (exiting client is required to catch all
possible issues, that can be reported by i.e. ASan on exit)
- fix spawning of clean.sh by replace with system
Cc: @kssenii
2021-12-29 10:02:38 +03:00
Azat Khuzhin
a424b4ad56
Do not ignore eof in expect tests
...
expect_after that adjusts default timeout handler, reseted eof handler,
and this tell expect that it can ignore eof from read, consider the
following example:
<details>
```expect
#!/usr/bin/expect -f
exp_internal 1
log_user 1
set timeout 4
match_max 100000
expect_after {
# eof { exp_continue }
timeout {
exit 1
}
}
spawn bash -c "sleep 1; echo ':) '"
expect ":) "
```
```
$ ./expect.expect < /dev/null
spawn bash -c sleep 1; echo ':) '
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {6614}
expect: does "" (spawn_id exp4) match glob pattern ":) "? no
expect: read eof
^^^
expect: set expect_out(spawn_id) "exp0"
expect: set expect_out(buffer) ""
```
And with uncommented eof handler:
```
$ ./expect.expect < /dev/null
spawn bash -c sleep 1; echo ':) '
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {17959}
expect: does "" (spawn_id exp4) match glob pattern ":) "? no
expect: read eof
expect: set expect_out(spawn_id) "exp0"
expect: set expect_out(buffer) ""
expect: continuing expect after update
expect: does "" (spawn_id exp4) match glob pattern ":) "? no
expect: does ":) \r\n" (spawn_id exp4) match glob pattern ":) "? yes
expect: set expect_out(0,string) ":) "
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) ":) "
```
</details>
2021-12-29 10:02:38 +03:00
Kseniia Sumarokova
9b63fa6949
Merge pull request #33239 from CurtizJ/async-insert-query-log
...
Add asynchronous inserts to query log
2021-12-29 09:34:08 +03:00
benbiti
9004e98992
parseDateTimeBestEffort support Unix Timestamp with Milliseconds
2021-12-29 13:43:54 +08:00
Denny Crane
464b30d954
test for csv strings started with slach #26920
2021-12-28 21:21:39 -04:00
Denny Crane
a4fe8e52ed
test for csv strings started with slach #26920
2021-12-28 21:20:23 -04:00
Anton Popov
8ca12bb2e8
fix style check
2021-12-29 00:43:33 +03:00
Maksim Kita
df95a40bbf
Fixed tests
2021-12-28 23:50:48 +03:00
Maksim Kita
9ef359ce2c
Dictionaries fix comment
2021-12-28 23:50:48 +03:00
alexey-milovidov
0fe657e808
Merge pull request #33198 from azat/tests-event_date_time-today
...
Fix tests with event_time/event_date = today(), and add a style check
2021-12-28 20:34:33 +03:00
Amos Bird
a1dfebd728
More nullable primary key tests.
2021-12-29 01:11:13 +08:00
alesapin
66f6d8bcf5
Merge pull request #33256 from ClickHouse/add_retries_to_ast
...
Add retries to AST fuzzer download and fix flaky test.
2021-12-28 19:11:51 +03:00
Anton Popov
a6e90a046d
add more info to query log in async inserts
2021-12-28 17:53:25 +03:00
alesapin
a2aa32877f
Update 02122_4letter_words_stress_zookeeper.sh
2021-12-28 16:40:34 +03:00
alesapin
5ae8188ab7
Fix flaky test
2021-12-28 16:26:47 +03:00
alesapin
cb3c3970fe
Fix flaky test 01650
2021-12-28 12:40:07 +03:00
Anton Popov
0e2d0d70ba
add asynchronous inserts to query log
2021-12-27 23:16:53 +03:00
Azat Khuzhin
dc76817329
Fix 01370_client_autocomplete_word_break_characters test logic
...
AFAICS right now it works only because completion loaded too quickly,
since `expect "_"` will block for 60 seconds if completion is not
available.
2021-12-26 22:25:49 +03:00
Azat Khuzhin
bcce1d70b2
tests: update tests with event_time/event_date = today() to >= yesterday()
...
This will fix failures like in [1], from query_log from artifacts:
SELECT
query,
event_time
FROM system.query_log
WHERE (NOT is_initial_query) AND (query NOT LIKE '%system%query_log%') AND (query LIKE concat('WITH%', 'test_84qkvq', '%AS `id_no` %')) AND (type = 'QueryFinish')
Query id: c5d70aba-b0aa-4f92-bdb3-29547b9aabb1
┌─query──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬──────────event_time─┐
│ WITH _CAST('test_84qkvq', 'Nullable(String)') AS `id_no` SELECT `one`.`dummy`, ignore(`id_no`) FROM `system`.`one` WHERE `dummy` IN (0, 2) │ 2021-12-25 23:59:59 │
│ WITH _CAST('test_84qkvq', 'Nullable(String)') AS `id_no` SELECT `one`.`dummy`, ignore(`id_no`) FROM `system`.`one` WHERE `dummy` IN (0, 2) │ 2021-12-25 23:59:59 │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴─────────────────────┘
2 rows in set. Elapsed: 0.032 sec.
[1]: https://s3.amazonaws.com/clickhouse-test-reports/33175/465a9bf615e1b233606460f956c09f71931c99a2/stateless_tests__debug__actions__[2/3].html
2021-12-26 16:35:15 +03:00
alexey-milovidov
e05a0cf608
Merge pull request #33127 from freedomDR/fix_bitmap
...
fix AggregateFunctionGroupBitmapData function rb_contains rb_remove
2021-12-25 22:09:20 +03:00
alexey-milovidov
ff5c860f6e
Merge pull request #33169 from ClickHouse/fix-flaky-test-00646
...
Fix flaky test 01622_defaults_for_url_engine
2021-12-25 22:04:57 +03:00
alexey-milovidov
0a55fa3dc2
Revert "Grouping sets dev"
2021-12-25 20:30:31 +03:00
freedomDR
1d8ddffa78
add test
2021-12-25 16:44:12 +00:00
Alexey Milovidov
f78678dc3f
Great simplification of test 01622_defaults_for_url_engine
2021-12-25 16:01:35 +03:00
alexey-milovidov
795564ee1b
Merge pull request #33161 from ClickHouse/fix-test-02098
...
Fix Date32 test
2021-12-25 12:26:27 +03:00
alexey-milovidov
c583ea7e6b
Merge pull request #32484 from Algunenano/libcxx13_take2
...
libc++ 13 compatibility
2021-12-25 10:14:12 +03:00
Alexey Milovidov
555ae50c4e
Fix Date32 test
2021-12-25 10:11:31 +03:00