Commit Graph

2517 Commits

Author SHA1 Message Date
Amos Bird
9938e1f3f6
Better toDate/toDateTime function. 2020-08-08 03:38:34 +08:00
alexey-milovidov
7786fd4119
Merge pull request #13228 from ClickHouse/decimal-too-large-negative-exponent
Fix assert when decimal has too large negative exponent
2020-08-07 21:57:20 +03:00
alesapin
7d1283247f Fix tests 2020-08-07 20:16:59 +03:00
Anton Popov
35d0328462
Merge pull request #13396 from CurtizJ/fix-13198
Fix assertion in FinishSortingTransform.
2020-08-07 15:36:17 +03:00
Nikolai Kochetov
63ace67409
Merge pull request #13420 from ClickHouse/fix-tuple-with-null-comparison
Fix tuple with null comparison
2020-08-07 15:32:52 +03:00
Nikolai Kochetov
79f30f9446
Merge pull request #13399 from hczhcz/patch-0806
Fix empty output of arrow related formats
2020-08-07 15:31:45 +03:00
Pavel Kovalenko
a6ee09f696 Move parts to DiskS3 in parallel refactoring. 2020-08-07 14:40:19 +03:00
alexey-milovidov
b5667e3b0f
Merge pull request #13441 from ClickHouse/fix-parse-date-time-best-effort
Fix error in parseDateTimeBestEffort
2020-08-07 14:02:59 +03:00
Alexey Milovidov
7094f5435c Merge branch 'master' into decimal-too-large-negative-exponent 2020-08-07 04:23:59 +03:00
Alexey Milovidov
d1ed1fb83a Fix error 2020-08-07 04:04:37 +03:00
Alexey Milovidov
1452e1ab30 Added a test for hex floats in INSERT VALUES 2020-08-07 03:46:49 +03:00
Alexey Milovidov
bd67ae6052 Fix tests depending on floating point associativity 2020-08-07 03:00:35 +03:00
Alexey Milovidov
241017bc1f Fix error in parseDateTimeBestEffort 2020-08-07 02:52:18 +03:00
Artem Zuikov
e05dc65e73
fix duplicated any function rewrite (#13419) 2020-08-07 01:36:14 +03:00
Nikolai Kochetov
c35b704c14
Merge pull request #13394 from azat/PrettyCompactMonoBlock
Fix quirks for PrettyCompactMonoBlock
2020-08-06 22:53:11 +03:00
Nikolai Kochetov
06abfa367e Update test. 2020-08-06 16:59:49 +03:00
Nikolai Kochetov
9ca0284c25 Update test. 2020-08-06 16:17:54 +03:00
Nikolai Kochetov
e4a40d0e09 Update tests. 2020-08-06 16:16:31 +03:00
hcz
b774036d6e Add test case 2020-08-06 18:08:16 +08:00
alesapin
ed022bf8e6 Simplify kill mutations tests 2020-08-06 12:50:23 +03:00
Azat Khuzhin
3aba406f47 Add a test for PrettyCompactMonoBlock via clickhouse-local 2020-08-06 11:59:45 +03:00
alesapin
d387b97a69
Merge pull request #13285 from filimonov/kafka_fix_test_rdkafka_15
Fix for test_kafka_flush_by_block_size after rdkafka 1.5
2020-08-06 11:48:21 +03:00
Alexey Milovidov
8fd4038234 Fix UBSan error 2020-08-06 04:59:02 +03:00
Anton Popov
e7d3154d38 fix queries with order by prefix of primary key and constant columns 2020-08-06 02:37:39 +03:00
Vitaly Baranov
a97cfbd618
Merge pull request #13340 from MyroTk/INSERT_RBAC_functionality
Added testing for RBAC functionality of INSERT privilege.
2020-08-05 22:04:59 +03:00
alexey-milovidov
85f28db714
Merge pull request #11524 from ClickHouse/stack-frams-size-limit
Avoid too large stack frames
2020-08-05 13:12:08 +03:00
Artem Zuikov
829955a538
Better errors in JOIN ON section (#13330) 2020-08-05 12:31:59 +03:00
alesapin
66982b404e
Merge pull request #13341 from ClickHouse/fix_moving_sum_segfault
Fix moving sum segfault
2020-08-05 11:44:51 +03:00
Alexander Kuzmenkov
4417fb80e6
Merge pull request #13203 from oandrew/avro-confluent-skip-tombstone
AvroConfluent: skip Kafka tombstone records/skip broken records
2020-08-05 02:47:42 +03:00
alexey-milovidov
5b4482bf1a
Merge pull request #13234 from azat/roundUpToPowerOfTwoOrZero-safety
Return passed number for numbers with MSB set in roundUpToPowerOfTwoOrZero()
2020-08-05 00:43:01 +03:00
alesapin
2ef491bc53 Fix moving sum segfault 2020-08-04 22:45:39 +03:00
MyroTk
71ac6aa855 Adding RBAC testing to INSERT and expanding tables for testing SELECT 2020-08-04 19:33:02 +00:00
Vitaly Baranov
b8b4bb331e Add test. 2020-08-04 20:50:29 +03:00
Anton Ivashkin
327090b7ea Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQueryTimeMicroseconds to system.events, second attempt 2020-08-04 19:38:13 +03:00
alexey-milovidov
1b9be2de47
Merge pull request #13304 from ClickHouse/make-test-sane
Make the test more sane
2020-08-04 17:20:22 +03:00
Alexey Milovidov
d91471ea00 Merge branch 'master' into stack-frams-size-limit 2020-08-04 15:28:47 +03:00
Vitaly Baranov
0c5b0abfe2
Merge pull request #13061 from ritaank/select_pr
Added testing for RBAC functionality of SELECT privilege
2020-08-04 13:51:32 +03:00
alesapin
233acd3b4c
Merge pull request #13310 from vzakaznikov/fix_failing_ldap_tests
Applying LDAP authentication test fixes
2020-08-04 11:50:45 +03:00
alesapin
61a8d9b137
Merge pull request #13278 from ClickHouse/kill_clickhouse_without_throw
Fix exception in integration tests during clickhouse restart
2020-08-04 11:28:28 +03:00
Nikolai Kochetov
389f895b43
Merge pull request #13290 from ClickHouse/fix-totals-for-delayed-replica
Fix totals for delayed replica
2020-08-04 11:26:09 +03:00
Andrew Onyshchuk
a46049f86d test_storage_kafka: test empty message when supported by format 2020-08-04 02:43:42 -05:00
Andrew Onyshchuk
e472c83601 Add AvroConfluent kafka test 2020-08-04 02:43:42 -05:00
Azat Khuzhin
d28c4c4a6c Merge remote-tracking branch 'upstream/master' into roundUpToPowerOfTwoOrZero-safety
* upstream/master:
  fix left asof join with join_use_nulls (#13291)
  Revert "Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQuer…"
  Add test
  Added another check just in case
  Fixup
  Fix range checks in h3 functions
  Fix configs
  Update tests
  Check ALTERs; update test
  Sanity checks for MergeTreeSettings
2020-08-04 09:29:46 +03:00
zhang2014
c173bd391f ISSUES-4006 try fix build & test failure 2020-08-04 10:31:27 +08:00
zhang2014
6b452cf83d ISSUES-4006 try fix build failure & fix float 32 parser 2020-08-04 10:31:27 +08:00
zhang2014
b76f218d90 ISSUES-4006 add mysql dml test 2020-08-04 10:31:27 +08:00
zhang2014
9996166860 ISSUES-4006 try fix check style 2020-08-04 10:31:27 +08:00
zhang2014
7eb232e02d ISSUES-4006 add dml test after ddl 2020-08-04 10:31:27 +08:00
zhang2014
bd65a8f213 ISSUES-4006 try fix build failure 2020-08-04 10:31:27 +08:00
zhang2014
d57631210e ISSUES-4006 try fix integration test 2020-08-04 10:31:27 +08:00
zhang2014
cfe2c42199 ISSUES-4006 try fix integration test 2020-08-04 10:31:27 +08:00
zhang2014
9d8234afd7 ISSUES-4006 try fix integration test 2020-08-04 10:31:27 +08:00
zhang2014
c5946f7697 ISSUES-4006 add mysql 8.0 integration test 2020-08-04 10:31:27 +08:00
zhang2014
0974f6c692 ISSUES-4006 try fix integration test 2020-08-04 10:31:27 +08:00
zhang2014
2fd0c95d79 ISSUES-4006 try fix integration test 2020-08-04 10:31:27 +08:00
zhang2014
db6220e52c ISSUES-4006 add mysql 5.7 ddl integration test 2020-08-04 10:31:27 +08:00
zhang2014
74f354d840 ISSUES-4006 add some check before create materialize mysql database 2020-08-04 10:31:27 +08:00
zhang2014
e471f805b5 ISSUES-4006 try fix build failure & update integration test 2020-08-04 10:31:26 +08:00
zhang2014
94a2a7791c ISSUES-4006 add some integration test 2020-08-04 10:31:26 +08:00
zhang2014
f5b66810ce ISSUES-4006 add integration test 2020-08-04 10:31:26 +08:00
Vitaliy Zakaznikov
3d5ff68611 Applying ldap test fixes. 2020-08-04 01:19:22 +02:00
Artem Zuikov
d4266d9619
fix left asof join with join_use_nulls (#13291) 2020-08-04 02:11:39 +03:00
Vitaly Baranov
5ef4b19471 Add test for custom settings in users.xml 2020-08-04 01:48:29 +03:00
alexey-milovidov
43f048d2cb
Merge pull request #13277 from ClickHouse/fix-fuzz-test5
Fix range checks in h3 functions
2020-08-04 01:29:33 +03:00
Alexey Milovidov
9f07298eae Merge branch 'master' into decimal-too-large-negative-exponent 2020-08-04 01:28:05 +03:00
alexey-milovidov
c43a27782e
Merge pull request #13153 from ClickHouse/merge-tree-settings-sanity-check
Sanity checks for MergeTreeSettings
2020-08-04 01:27:19 +03:00
Alexey Milovidov
714dca3b36 Make the test more sane 2020-08-04 01:25:45 +03:00
alexey-milovidov
65c755190e
Revert "Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQuer…" 2020-08-04 01:18:59 +03:00
Azat Khuzhin
2fc1c859c7 Merge remote-tracking branch 'upstream/master' into roundUpToPowerOfTwoOrZero-safety
* upstream/master:
  Update tips.md
  Wait with retries in fast test (#13284)
  update #syntax-expressions in syntax.md (#13269)
  fix test
  Set custom prefix in server-test.xml too.
  Update HashTable.h
  Attempt to fix "Arcadia" build
  More performance tests
  Fix error + one more optimization
  Attempt to fix "Arcadia" build
  Add test
  Continue
  Fix hash table with NaN keys
  Fix tests
  Fix errors
  Fix errors
  Revert some changes
  shellcheck --check-sourced --external-sources --severity style --exclude SC1071 --format diff *.sh ../1_stateful/*.sh | git apply
  Fix all info from Shellcheck
  fgrep -> grep -F
  shellcheck --check-sourced --external-sources --severity info --exclude SC1071 --format diff */*.sh | git apply
  Minor changes 2
  Minor changes
  Fix warnings found by Shellcheck
  Refresh ya.make
  Better code
  Fix assertion in KeyCondition
  Fix including Common/config.h in the Arcadia build.
  Fix bad code
  Add more threads for the 01323_too_many_threads_bug
  Exclude threads used for query_log processing 01323_too_many_threads_bug
  Use ILIKE over lower() LIKE in 01323_too_many_threads_bug
  Update test
  Fix style
  Simplify CMake for libunwind (suggestion from @azat)
  Normalize ya.make files, fix "Arcadia" build
  Fix 01323_too_many_threads_bug (use arrayUniq() over length())
  Fix logging in MergeTreeDataSelectExecutor for multiple threads (attach to thread group)
  Use "Not using primary index on part" over "Not using index on part" (add "primary")
  Exclude 01413_rows_events from the fasttest (TRUNCATE query_log)
  fasttest: use arrays for skip list (to make it more patch friendly)
  Update README.md
  Fix warning in libunwind
  Fix warning in libunwind
  Fix assert in geohashesInBox
  Fix assert in parseDateTimeBestEffort
  Add test
  Fix function if with nullable constexpr as cond that is not literal NULL
  Fix assert in *Map aggregate functions
  More tests
  Fix assert in arrayElement
  Fix assert in IN with tuple literals and functions
  Use stored size for UInt16 case
  Revert "Less indirection in FixedHashTable"
  Special case for aggregation by 8bit field
  Less indirection in FixedHashTable
  Update FixedHashTable.h
  Avoid increment of size in the inner loop of aggregation by UInt8/UInt16
  Trigger CI
  Slightly better
  Fix fuzz test
  Add test
  Function "materialize" should work for NULL as expected
  Minor changes in Debian scripts
  Fix Shellcheck errors
  Fix some spurious perf test failures
  Fix test
  +x for test
  Merge with master
  Added and updated tests
  More sane
  Remove ridiculous trash
  Use absolute paths to backup locations (shadow)
  Add test for macros usage in certain kafka setting.
  Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQueryTimeMicroseconds to system.events
  try fix sync
  Fix various code defects in groupArrayMoving functions #12568
  fix
  fixes
  fixes
  implement reneme dictionary query
  rename database with dictionaries
  fix tests
  use dictionary ids
  fix build
  add uuid to generated config
  add StorageID to IDictionaryBase 3
  add StorageID to IDictionaryBase 2
  add StorageID to IDictionaryBase 1
  write uuid for ddl dictionaries
  fixes
  add implicit uuid macro
  fix tests
  fix, add test
  implement rename database for atomic
  fix symlinks, add short syntax of attach database
  add uuid to atomic databases
2020-08-03 22:51:40 +03:00
alexey-milovidov
1b3ad53998
Merge pull request #13272 from vitlibar/set-custom-prefix-in-server-test-xml
Set custom prefix in server-test.xml too
2020-08-03 21:47:00 +03:00
alexey-milovidov
ef0097d326
Merge pull request #12343 from ClickHouse/database_atomic_improvements
DatabaseAtomic improvements
2020-08-03 21:45:41 +03:00
Alexey Milovidov
1d091738dd Merge branch 'master' into stack-frams-size-limit 2020-08-03 20:41:47 +03:00
alexey-milovidov
71d8cab08c
Merge pull request #12622 from ClickHouse/fix-group-array-moving
Fix various code defects in groupArrayMoving functions
2020-08-03 20:35:24 +03:00
Nikolai Kochetov
11830343fa Update test. 2020-08-03 20:07:09 +03:00
Mikhail Filimonov
991c673870 Fix for test_kafka_flush_by_block_size after rdkafka 1.5
Since rdkafka 1.5 (https://github.com/edenhill/librdkafka/releases/tag/v1.5.0)
don't auto-create topics when subscribing, so test start failing
because it was intentionally time-limited to check if flushing by block size worked.

Since 20.5 it's possible to increase kafka_flush_interval_ms per table, so i've
adjusted the test using that feature to test if data is flushed by block size,
not by time.
2020-08-03 18:43:37 +02:00
Alexey Milovidov
477852cde9 Add test 2020-08-03 19:41:10 +03:00
alexey-milovidov
3015503dc6
Merge pull request #13254 from ClickHouse/fix-hash-table-nan-key
Fix hash table with NaN keys
2020-08-03 19:37:17 +03:00
alexey-milovidov
f536836eee
Merge pull request #13091 from ClickHouse/fixed-hash-map-implicit-zero-4
Slightly improve performance of aggregation by UInt8/UInt16 keys, part 4
2020-08-03 19:07:35 +03:00
alesapin
8ad6a68fad Add ability to execute commands in integration tests containers without exceptions. Supress exception during kill 2020-08-03 17:40:02 +03:00
Alexander Kuzmenkov
4049f23188
Merge pull request #13103 from filimonov/test_for_macros_in_kafka
Add test for macros usage in some kafka settings.
2020-08-03 17:16:12 +03:00
Alexander Kuzmenkov
c4a33430b1
Merge pull request #13028 from ianton-ru/select_insert_time
Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQuer…
2020-08-03 17:07:34 +03:00
Alexey Milovidov
6adafcbfd3 Merge branch 'master' into decimal-too-large-negative-exponent 2020-08-03 17:02:05 +03:00
Alexander Tokmakov
392778d482 fix test 2020-08-03 15:19:41 +03:00
Vitaly Baranov
cde3da4a23 Set custom prefix in server-test.xml too. 2020-08-03 15:01:00 +03:00
Alexander Tokmakov
5b92f43f12 Merge branch 'master' into database_atomic_improvements 2020-08-03 14:35:40 +03:00
alesapin
eb2236fe8b Fix configs 2020-08-03 14:13:43 +03:00
ritaank
62dd8d91c9 whitespace cleanup 2020-08-03 03:40:58 -07:00
ritaank
4910435f6c select.py: requirements cleanup + syntax update 2020-08-03 03:24:05 -07:00
Nikolai Kochetov
cf49a83980
Merge pull request #13201 from azat/fix-logging-in-MergeTreeDataSelectExecutor
Fix logging in MergeTreeDataSelectExecutor for multiple threads (attach to thread group)
2020-08-03 10:08:58 +03:00
ritaank
14befce49b Merge branch 'master' into select_pr 2020-08-02 22:36:08 -07:00
ritaank
a9a6e23641 Merge branch 'master' of github.com:ritaank/ClickHouse into select_pr 2020-08-02 22:31:17 -07:00
alexey-milovidov
1ee0fa7d57
Merge pull request #13200 from ClickHouse/shellcheck
Fix Shellcheck errors
2020-08-03 06:12:18 +03:00
alexey-milovidov
851e1a70d3
Merge pull request #13226 from ClickHouse/fix-if-nullable-cond-return-type
Fix function if with nullable constexpr as cond that is not literal NULL
2020-08-03 06:11:54 +03:00
alexey-milovidov
6bf005b682
Merge pull request #13251 from ClickHouse/fix-fuzz-test4
Fix assertion in KeyCondition
2020-08-03 06:11:42 +03:00
Alexey Milovidov
006f9a831f More performance tests 2020-08-03 04:37:57 +03:00
Alexey Milovidov
7b4112b6f8 Add test 2020-08-03 03:07:05 +03:00
alexey-milovidov
1e91238466
Merge pull request #13225 from ClickHouse/map-skip-null
Fix assert in *Map aggregate functions
2020-08-03 02:12:48 +03:00
alexey-milovidov
6097f6a43e
Merge pull request #13212 from ClickHouse/materialize-null
Function "materialize" should work for NULL as expected
2020-08-03 02:10:24 +03:00
alexey-milovidov
935533e841
Merge pull request #13193 from ClickHouse/aku/spurious-perf
Fix some spurious perf test failures
2020-08-03 01:02:53 +03:00
Alexey Milovidov
b232659439 Update tests 2020-08-03 00:39:51 +03:00