Commit Graph

8898 Commits

Author SHA1 Message Date
Maksim Kita
8465de9a4e
Merge pull request #33482 from zhongyuankai/materialized_view_support_virtual_column
Materialized view support virtual column
2022-01-10 23:13:31 +03:00
Maksim Kita
22b614857d
Merge pull request #33383 from stigsb/explain-ast-alter-command-names
Print alter command names in EXPLAIN AST
2022-01-10 23:13:18 +03:00
Mikhail f. Shiryaev
1cf46f378f
Merge pull request #33494 from msaf1980/rollup_rules_type
GraphiteMergeTree Rollup rules type
2022-01-10 20:53:20 +01:00
Nikolai Kochetov
776bb0b02c Fix insert into defalut nested LowCardinality column. 2022-01-10 21:30:28 +03:00
mergify[bot]
5857667453
Merge branch 'master' into materialized_view_support_virtual_column 2022-01-10 16:25:46 +00:00
Stig Bakken
d9c86755ba Add functional test 2022-01-10 16:05:52 +01:00
Anton Popov
46b9279d81
Merge pull request #33300 from CurtizJ/support-prewhere-storage-merge
Support `optimize_move_to_prewhere` with storage `Merge`
2022-01-10 15:15:15 +03:00
msaf1980
780a1b2abe graphite: split tagged/plain rollup rules (for merges perfomance) 2022-01-10 16:34:16 +05:00
Maksim Kita
7d24c05424
Update 02164_materialized_view_support_virtual_column.sql 2022-01-10 12:21:49 +03:00
Maksim Kita
f34fdaec46
Update 02164_materialized_view_support_virtual_column.sql 2022-01-10 12:20:31 +03:00
zhongyuankai
61ea0837d4 materialized view support virtual column 2022-01-10 15:53:41 +08:00
mergify[bot]
664eb7d456
Merge branch 'master' into decimal-binary-op 2022-01-10 07:14:56 +00:00
Kseniia Sumarokova
0a1300d32a
Merge pull request #33340 from Vxider/fix-windowview-inner-table-parser
Fix inner table parser in window view
2022-01-10 09:45:17 +03:00
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
feng lv
b06211fb03 fix
fix
2022-01-09 16:32:31 +00: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
Alexey Milovidov
659df53854 Add a test for operator priorities in SQL 2022-01-09 13:53:22 +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
zhongyuankai
878e44eb97 auto format by file extension 2022-01-08 21:47:14 +08: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
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
cc329c3bf9 Add a test 2022-01-07 09:18:13 +03:00
Alexey Milovidov
12c3130a6d Update reference 2022-01-07 02:03:44 +03:00
usurai
b9e69296da Add test for monthName 2022-01-07 00:33:01 +08:00
Alexey Milovidov
1153228f3b Maybe improve robustness of the "query profiler" test 2022-01-06 05:16:09 +03:00
lgbo-ustc
cc3fdb8318 update 01039_test_setting_parse.reference 2022-01-06 09:27:33 +08:00
Andrii Buriachevskyi
699669b81d Add tests for INSERT DEFAULT with format Values 2022-01-05 19:17:25 +01:00
Alexey Milovidov
c4713ee34b Normalize left, right, leftUTF8, rightUTF8 functions 2022-01-05 06:46:31 +03:00
taiyang-li
e1a713addb fix stateless test tests/queries/0_stateless/01039_test_setting_parse.sql 2022-01-05 11:12:45 +08:00
taiyang-li
63c07ff925 fix stateless test tests/queries/0_stateless/02147_arrow_duplicate_columns.sh 2022-01-05 10:59:21 +08: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
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
Azat Khuzhin
f0f2a9cc40 Add a regression test for pread pass EOF returns EINVAL 2022-01-04 10:53:17 +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
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
RogerYK
f2e5399c61 Add function bitSlice for String and FixedString 2022-01-02 18:49:09 +08:00
feng lv
a8578e0ad9 fix test 2022-01-01 09:25:52 +00:00
feng lv
48c0b41ad5 Enable binary arithmetic between Decimal and Float
fix
2022-01-01 09:11:21 +00: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
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
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
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
Vladimir C
794e906ffd
Merge pull request #33218 from amosbird/betternullablekey 2021-12-30 17:13:44 +03:00
Nikolai Kochetov
11f64d6e1f
Merge pull request #33286 from vdimir/issue_31979
Disable FunctionConvertFromString::canBeExecutedOnDefaultArguments
2021-12-30 07:19:42 +03:00
avogar
97788b9c21 Allow to create new files on insert for File/S3/HDFS engines 2021-12-29 21:19:13 +03:00
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
vdimir
c8a79d61e8
Simplify case in test parse_date_lowcard_default_throw 2021-12-29 15:06:27 +03:00
vdimir
b78f5c70b5
Add test parse_date_lowcard_default_throw, issue #31979 2021-12-29 13:41:13 +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
Alexey Milovidov
422061ce71 Update tests 2021-12-29 01:43:43 +03: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
Amos Bird
b668691f6a
Fix broken tests 2021-12-29 01:06:21 +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
Amos Bird
1cbd05ae9e
Correctly prevent nullable primary keys if necessary. 2021-12-27 17:32:37 +08: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
mergify[bot]
f5a7e58cb0
Merge branch 'master' into comp-decimal-float 2021-12-26 07:13:00 +00: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
alexey-milovidov
4d99f1016d
Merge pull request #33146 from CurtizJ/fix-column-sparse
Fix functions with sparse arguments in case when result type doesn't support sparse serialization
2021-12-25 06:28:19 +03:00
alexey-milovidov
26a735c52f
Merge pull request #32984 from Avogar/bool-type
Improve Bool data type
2021-12-25 06:22:54 +03:00
Anton Popov
c37f1c40be fix functions with sparse arguments 2021-12-24 19:39:50 +03:00
Andrii Buriachevskyi
6a0834499f Add tests for DEFAULT in INSERT 2021-12-24 15:09:32 +01:00
Nikita Mikhaylov
8707c35c26 Merge branch 'master' of github.com:ClickHouse/ClickHouse into merging-dev-sum-bug 2021-12-24 13:15:16 +00:00
avogar
602578deab Update bool serialization/deserialization for Values format 2021-12-24 13:20:58 +03:00
Alexey Milovidov
d1df2af2df Move two tests out of fast test 2021-12-24 12:25:27 +03:00
Alexey Milovidov
f6dc07b475 Update test 2021-12-24 12:25:27 +03:00
Alexey Milovidov
fb5b1c3d6a Make tests not depend on subtle changes in math functions 2021-12-24 12:25:27 +03:00
feng lv
f67e60a55d fix test 2021-12-24 06:17:30 +00:00
feng lv
80c5bfcbcb fix
fix
2021-12-24 05:13:12 +00:00
Alexey Milovidov
df8689ce22 Fix test that was dependent on time zone 2021-12-24 03:57:50 +03:00
alexey-milovidov
0e3af2f19a
Merge pull request #33097 from kssenii/clickhouse-local-send-profile-onfo
clickhouse-local send profile info
2021-12-24 02:29:36 +03:00
avogar
47ad4200c9 Fix test 2021-12-23 21:00:22 +03:00
avogar
ce68c54b03 Fix comments, reduce extra copying 2021-12-23 19:47:29 +03:00
avogar
5e5d6609ed Proper cast to bool 2021-12-23 19:47:29 +03:00
avogar
19faf46b68 Improve Bool data type 2021-12-23 19:47:29 +03:00
Raúl Marín
66c0735a38 Check that progress is sent while processing scalar subqueries 2021-12-23 16:14:10 +01:00
Raúl Marín
b71a71d7f5 Test that JSON output statistics include the rows read in scalar subqueries 2021-12-23 16:14:10 +01:00
Raúl Marín
cb22091b33 Merge remote-tracking branch 'blessed/master' into kill_scalar_github 2021-12-23 13:59:33 +01:00
Raúl Marín
77db850c0b Merge remote-tracking branch 'blessed/master' into libcxx13_take2 2021-12-23 12:42:39 +01:00
Nikolai Kochetov
b84591d17a
Merge pull request #32862 from ClickHouse/fix-mv-result-with-many-chunks
Fix MV query with multiple chunk result.
2021-12-23 14:37:17 +03:00
Kruglov Pavel
a1455c0f2a
Merge pull request #32981 from Avogar/fix-csv-tuples
Fix tuple output in CSV format
2021-12-23 13:27:34 +03:00
kssenii
8cf52918b9 clickhouse local send profile info 2021-12-23 12:37:29 +03:00
Nikolay Degterinsky
826f7cb0f5
Merge pull request #32240 from benbiti/master
Fix unix timestamp Millisecond convert to DateTime64, fractional part calc reversed
2021-12-23 12:11:53 +03:00
mergify[bot]
caf19e66e3
Merge branch 'master' into hex 2021-12-23 09:00:29 +00:00
Nikita Mikhaylov
768c746fe4
Merge branch 'master' into merging-dev-sum-bug 2021-12-23 11:52:06 +03:00
Nikolay Degterinsky
6757afa052
Merge pull request #32843 from nkolotov/fix_echo_option_not_used_in_batch_mode
Fixed --echo option is not used by clickhouse-client in batch mode with single query
2021-12-23 11:37:02 +03:00
Raúl Marín
88b8fd8b60 Merge remote-tracking branch 'blessed/master' into libcxx13_take2 2021-12-23 09:16:19 +01:00
alexey-milovidov
0f8295de98
Merge pull request #33046 from ClickHouse/fix-prefetch-for-lc
Fix preferch for LowCardinality.
2021-12-23 08:56:16 +03:00
alexey-milovidov
26e651eaf4
Merge pull request #32916 from azat/jemalloc-percpu-fix
Disable percpu arena in jemalloc in case of non deterministic CPU count
2021-12-23 08:05:43 +03:00
alexey-milovidov
8c9843caf2
Merge pull request #32982 from azat/http-context-leak
Fix Context leak in case of cancel_http_readonly_queries_on_client_close
2021-12-23 07:58:18 +03:00
alexey-milovidov
476b8266a1
Merge pull request #33065 from ClickHouse/merge-33050
Merge #33050
2021-12-23 07:52:00 +03:00
alexey-milovidov
2a1099812e
Merge pull request #33062 from ClickHouse/merge-33022
Merge #33022
2021-12-23 07:51:26 +03:00
Vitaly Baranov
7660530fcc
Merge pull request #32955 from azat/read-fix
Fix UB in case of unexpected EOF during filling a set from HTTP query
2021-12-23 06:41:14 +03:00
Alexey Milovidov
10d48f1203 Add a test 2021-12-23 02:20:11 +03:00
Alexey Milovidov
5bceffaaef Adapt test 2021-12-23 01:30:56 +03:00
Harry-Lee
846c46ac4b Fix issue #80: union index out of boundary 2021-12-23 01:30:56 +03:00
Kseniia Sumarokova
639c2c1ce7
Merge pull request #32976 from Avogar/fix-hdfs-url-check
Fix hdfs url check
2021-12-22 23:57:49 +03:00
Azat Khuzhin
c07012108e tests: fix 01502_jemalloc_percpu_arena with debug binary 2021-12-22 21:06:40 +03:00
Azat Khuzhin
ba9588fc27 tests/stateless: add a test with explicit number of jemalloc narenas 2021-12-22 21:05:11 +03:00
Azat Khuzhin
b41db62621 tests: mark 01505_pipeline_executor_UAF as long 2021-12-22 21:05:11 +03:00
Azat Khuzhin
b28e0dd689 01502_jemalloc_percpu_arena: add a test with MALLOC_CONF=abort_conf:true 2021-12-22 21:05:10 +03:00
Azat Khuzhin
6c7ec9c762 01502_jemalloc_percpu_arena: do not export MALLOC_CONF
Since after #15828 unbundled jemalloc support had been removed.
2021-12-22 21:05:10 +03:00
Azat Khuzhin
a43e423506 tests/01505_pipeline_executor_UAF: disable abort_conf for jemalloc 2021-12-22 21:05:10 +03:00
Raúl Marín
781fe36391 Add some basic tests to read rows with scalar subqueries 2021-12-22 18:55:16 +01:00
Raúl Marín
2470a8d380 Move tests 2021-12-22 18:26:50 +01:00
tavplubix
c297c2c4c3
Revert "Dictionaries added Date32 type support" 2021-12-22 19:41:52 +03:00
Dmitry Novik
1c83f31e51
Merge pull request #31885 from amosbird/optimizeprojectionmat
Optimize single part projection materialization
2021-12-22 19:36:40 +03:00
Maksim Kita
97b0a343f8
Merge pull request #32971 from kitaisreal/dictionaries-added-date32-type-support
Dictionaries added Date32 type support
2021-12-22 19:22:01 +03:00
Raúl Marín
1d9916eb25 Merge remote-tracking branch 'blessed/master' into kill_scalar_github 2021-12-22 16:42:10 +01:00
Dmitry Novik
d256c3a9ca
Merge pull request #29224 from ClickHouse/fix_IP_conversion
Merging #27914
2021-12-22 18:36:13 +03:00
Nikolay Degterinsky
e1a58d0889
Merge pull request #33021 from DevTeamBK/Issue135
Fix null pointer dereference in low cardinality data
2021-12-22 17:03:23 +03:00
mergify[bot]
04f727e84c
Merge branch 'master' into read-fix 2021-12-22 13:49:04 +00:00
Nikolai Kochetov
bb24a494ca Fix preferch for LowCardinality. 2021-12-22 15:26:16 +03:00
Kseniia Sumarokova
5ae2f0028f
Merge pull request #32961 from kssenii/fix-positional-args
Fix for positional args
2021-12-22 09:41:55 +03:00
Ben
23c10d06b6
Update 01821_to_date_time_ubsan.reference
new line
2021-12-22 02:23:17 +08:00
benbiti
81f024c718 update tests 2021-12-22 01:33:24 +08:00
Amos Bird
3988eb01c6
Add test 2021-12-21 22:40:09 +08:00
N. Kolotov
cb77320566 Fixed test env, removed chaining. 2021-12-21 16:28:21 +03:00
mergify[bot]
7da6d8b310
Merge branch 'master' into fix_IP_conversion 2021-12-21 12:16:05 +00:00
Raúl Marín
eddccb0065 Merge remote-tracking branch 'blessed/master' into kill_scalar_github 2021-12-21 10:00:17 +01:00
Azat Khuzhin
7193bb9579 Add a test with EOF during creating set over HTTP
v2: update some comments
2021-12-21 08:38:41 +03:00
N. Kolotov
66eb6bf560 Added test to check client option --echo. 2021-12-21 00:59:35 +03:00
alexey-milovidov
04fb8aeaa5
Merge pull request #32946 from antonio2368/feature/hints-for-settings
Hints for invalid settings in query and HTTP requests
2021-12-21 00:52:42 +03:00
kssenii
175ad8a989 Fix 2021-12-21 00:20:08 +03:00
Kseniia Sumarokova
2ac7897470
Merge pull request #32841 from lingtaolf/feature/add-clickhouse-client-hints
Add clickhouse client hints
2021-12-20 23:48:50 +03:00
Azat Khuzhin
a367326abb Mark 02152_http_external_tables_memory_tracking as no-tsan 2021-12-20 23:30:44 +03:00
Antonio Andelic
4eae5ce00e Fix http request check 2021-12-20 20:39:31 +01:00
Azat Khuzhin
6afcb1d1c8 Replace uuidgen(1) with generateUUID() function in 02152_http_external_tables_memory_tracking
uuidgen (from e2fsprogs) does not exists on CI images, so use internal
clickhouse function.
2021-12-20 21:43:26 +03:00