status stringclasses 1
value | repo_name stringclasses 13
values | repo_url stringclasses 13
values | issue_id int64 1 104k | updated_files stringlengths 11 1.76k | title stringlengths 4 369 | body stringlengths 0 254k ⌀ | issue_url stringlengths 38 55 | pull_url stringlengths 38 53 | before_fix_sha stringlengths 40 40 | after_fix_sha stringlengths 40 40 | report_datetime timestamp[ns, tz=UTC] | language stringclasses 5
values | commit_datetime timestamp[us, tz=UTC] |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 13,335 | ["base/common/StringRef.h", "src/Functions/URL/netloc.cpp", "src/Functions/URL/netloc.h", "tests/queries/0_stateless/01434_netloc_fuzz.reference", "tests/queries/0_stateless/01434_netloc_fuzz.sql"] | netloc: std::length_error | Found by `sql-fuzzy` test:
```
SELECT netloc('<\'[%UzO');
2020.08.03 22:00:49.106572 [ 27424 ] {e3706a47-572b-4e9b-a5f7-2707a822520e} <Error> executeQuery: std::exception. Code: 1001, type: std::length_error, e.what() = basic_string (version 20.7.1.4266) (from [::1]:58798) (in query: SELECT netloc('<\'[%UzO... | https://github.com/ClickHouse/ClickHouse/issues/13335 | https://github.com/ClickHouse/ClickHouse/pull/13446 | 3f80463f2d5e1027958b4333398c210c1b99d8e6 | ba5988dcf6f0bcdaff6cd86cc51e0f1566adea8c | 2020-08-04T15:55:56Z | c++ | 2020-08-08T22:39:46Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 13,281 | ["docker/test/fuzzer/query-fuzzer-tweaks-users.xml"] | JIT: Symbol not found: memset | ```
SELECT multiIf((number % 10) = 1025, toInt8(7), (number % -2) = 1048577, toInt16('9223372036854775807'), toInt16(257)) FROM system.numbers LIMIT 255 settings compile_expressions = 1, min_count_to_compile_expression = 1
Expected<T> must be checked before access or destruction.
Unchecked Expected<T> contained er... | https://github.com/ClickHouse/ClickHouse/issues/13281 | https://github.com/ClickHouse/ClickHouse/pull/18777 | 6430fd3b2ab60b5b68d8a97252b3864eac1cc80b | cb8b6ff3fadda5a9c37cab8e4d63085ef0cc83e8 | 2020-08-03T15:30:08Z | c++ | 2021-01-06T04:18:36Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 13,275 | ["src/Functions/h3ToChildren.cpp", "src/Functions/h3ToParent.cpp", "tests/queries/0_stateless/01428_h3_range_check.reference", "tests/queries/0_stateless/01428_h3_range_check.sql"] | Stack overflow in `h3ToChildren` function. | `SELECT h3ToChildren(599405990164561919, 100)` | https://github.com/ClickHouse/ClickHouse/issues/13275 | https://github.com/ClickHouse/ClickHouse/pull/13277 | c43a27782e68ab425943bcd6e17900356dec1602 | 43f048d2cb0815cc511723fd11ab0b6ec10972f0 | 2020-08-03T14:00:41Z | c++ | 2020-08-03T22:29:33Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 13,253 | ["src/Interpreters/CollectJoinOnKeysVisitor.cpp", "src/Interpreters/CollectJoinOnKeysVisitor.h", "tests/queries/0_stateless/01429_join_on_error_messages.reference", "tests/queries/0_stateless/01429_join_on_error_messages.sql"] | Assertion failure in ASOF JOIN | ```
SELECT * FROM t0 ASOF LEFT JOIN t1 ON (t1.x = t0.x) AND greater(('\0llall\0ll\0ll\0llall\0llall\0llall\0llall\0llall\0llall\0llall\0llall\0llall\0llall\0ll\0ll\0llall\0llall\0llall', x, x, y), t0.y, t1.y)
```
| https://github.com/ClickHouse/ClickHouse/issues/13253 | https://github.com/ClickHouse/ClickHouse/pull/13330 | 66982b404e8523c84415285b5bd3ebb0e6452e2d | 829955a538529e0383441c27ff24c59ea8f3f964 | 2020-08-02T23:11:20Z | c++ | 2020-08-05T09:31:59Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 13,215 | ["src/Interpreters/ActionsVisitor.cpp", "tests/queries/0_stateless/01421_assert_in_in.reference", "tests/queries/0_stateless/01421_assert_in_in.sql"] | Assertion found by fuzz test in Field cast. | The query
```
SELECT (1, 2) IN ((-9223372036854775808, (256, 10)), (3, 4), ((((((10 IN (NULL, 1048577, 1.)) IN (inf, NULL, NULL)) IN (((7 IN (-1, 2, 3, 1025, 1025)) IN (NULL, 1023 IN (inf, 1048576, (7, 100, 1024, 3)), NULL, 100.0000991821289)) IN (256, 65537), -9223372036854775808, 1048575)) IN (-2, NULL, 10 IN (NU... | https://github.com/ClickHouse/ClickHouse/issues/13215 | https://github.com/ClickHouse/ClickHouse/pull/13220 | 5f561f5a97f18cf3d79f0b72636a37e65f7c46f3 | 114781fb662c623e9555d2f12415354253d50aa0 | 2020-08-01T22:48:07Z | c++ | 2020-08-02T14:17:39Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 13,211 | ["src/Functions/FunctionsLogical.cpp", "tests/queries/0_stateless/01420_logical_functions_materialized_null.reference", "tests/queries/0_stateless/01420_logical_functions_materialized_null.sql"] | Assertion found by fuzz test in FunctionsLogical in query SELECT arrayJoin([NULL]) AND 1 | https://github.com/ClickHouse/ClickHouse/issues/13211 | https://github.com/ClickHouse/ClickHouse/pull/13213 | 9611b2c7f4df7a6cb82064a87cd35ad9c945863f | 84e88f661ea8d12d71d04904fcc6cb56fc747b57 | 2020-08-01T18:32:33Z | c++ | 2020-08-02T21:29:44Z | |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 13,204 | ["contrib/libunwind-cmake/CMakeLists.txt"] | build faild in version v20.5.2.7-stable:ISO C++17 does not allow ‘register’ storage class specifier | Make sure that `git diff` result is empty and you've just pulled fresh master. Try cleaning up cmake cache. Just in case, official build instructions are published here: https://clickhouse.yandex/docs/en/development/build/
**Operating system**
CentOS7.6
**Cmake version**
cmake 3.16.0
**Ninja version**
**C... | https://github.com/ClickHouse/ClickHouse/issues/13204 | https://github.com/ClickHouse/ClickHouse/pull/13208 | 8f65b7f5695dc21702da130997a35916311e5ebc | 120092e486c08aabdc2b8daa2116406cde098817 | 2020-08-01T08:02:48Z | c++ | 2020-08-01T22:45:06Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 13,198 | ["src/Processors/Transforms/FinishSortingTransform.cpp", "tests/queries/0_stateless/01431_finish_sorting_with_consts.reference", "tests/queries/0_stateless/01431_finish_sorting_with_consts.sql"] | Assertion failure in FinishSorting. | See https://github.com/ClickHouse/ClickHouse/pull/13193 | https://github.com/ClickHouse/ClickHouse/issues/13198 | https://github.com/ClickHouse/ClickHouse/pull/13396 | 63ace67409c90a74ee10c737aae863e69fed1725 | 35d0328462698d70a2ee896e8344376b13c26585 | 2020-07-31T20:45:04Z | c++ | 2020-08-07T12:36:17Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 13,196 | ["src/Functions/FunctionUnixTimestamp64.h", "tests/queries/0_stateless/01403_datetime64_constant_arg.reference", "tests/queries/0_stateless/01403_datetime64_constant_arg.sql"] | Assertion failed in fuzz test | ```
SELECT
fromUnixTimestamp64Nano(fromUnixTimestamp64Milli(fromUnixTimestamp64Milli(fromUnixTimestamp64Milli(fromUnixTimestamp64Milli(fromUnixTimestamp64Milli(fromUnixTimestamp64Nano(fromUnixTimestamp64Milli(fromUnixTimestamp64Milli('ab\0ab\0ab\0ab\0', NULL)))))), NULL)), 123),
uniqUpTo(100)(fromUnixTimest... | https://github.com/ClickHouse/ClickHouse/issues/13196 | https://github.com/ClickHouse/ClickHouse/pull/13205 | 344925fbddc2bea713a79d5bc6967a36f28d3ac6 | 8f65b7f5695dc21702da130997a35916311e5ebc | 2020-07-31T18:27:15Z | c++ | 2020-08-01T22:33:54Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 13,194 | ["src/Functions/FunctionsConversion.h", "src/IO/ReadHelpers.cpp", "src/IO/ReadHelpers.h", "tests/queries/0_stateless/01691_DateTime64_clamp.reference", "tests/queries/0_stateless/01691_DateTime64_clamp.sql", "tests/queries/0_stateless/01732_more_consistent_datetime64_parsing.reference", "tests/queries/0_stateless/01732... | Datetime64 millisecond integers in HTTP protocol do not parse correctly | **Describe the bug**
When using the HTTP protocol with DateTime64 types, numerical timestamps in milliseconds do not parse correctly. This is an issue when using the Clickhouse JDBC driver with Avro Kafka records because the timestamps are integers.
**How to reproduce**
I'm using the following CH version: yandex/... | https://github.com/ClickHouse/ClickHouse/issues/13194 | https://github.com/ClickHouse/ClickHouse/pull/21053 | 8b82c7ea0c6079a135dfbaa6b1b755579ae8beb1 | 073ee6c2c3ba9c394e0dec7c72d144d972ba1738 | 2020-07-31T17:17:16Z | c++ | 2021-02-22T10:13:21Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 13,182 | ["src/Columns/ColumnFixedString.cpp", "tests/queries/0_stateless/01453_fixsed_string_sort.reference", "tests/queries/0_stateless/01453_fixsed_string_sort.sql"] | ORDER BY field with type FixedString(16) gives unexpected result | Trying to sort query by field with type 'FixedString(16)' results is wrong record order.
**How to reproduce**
Tested versions:
* 20.7.1.4189 -- reproducible
* 20.5.3.27 -- reproducible
* 20.5.2.7 -- reproducible
* 20.4.7.67 -- non-reproducible
* 18.12.17 -- non-reproducible
Example data set:
Table co... | https://github.com/ClickHouse/ClickHouse/issues/13182 | https://github.com/ClickHouse/ClickHouse/pull/13887 | b0a171211f6cd7727be649a9baa327aedfed4ea9 | 322cb241b90d9f1937a8fd401600ce3ff603ed4d | 2020-07-31T13:05:33Z | c++ | 2020-08-19T18:41:25Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 13,168 | ["utils/check-style/check-style"] | Add shellcheck for test scripts. | **Use case**
```
Alexey Milovidov, [31.07.20 14:10]
@Alesapin FYI, наверное быстро сможешь оценить, изменение в одной строке.
Alexey Milovidov, [31.07.20 14:10]
https://github.com/ClickHouse/ClickHouse/pull/13167
Alexander Sapin, [31.07.20 14:11]
[In reply to Alexey Milovidov]
эх, отстой, ты правильно попр... | https://github.com/ClickHouse/ClickHouse/issues/13168 | https://github.com/ClickHouse/ClickHouse/pull/13530 | 8535e30bd49a8a1057744b0cc5c0fb8f7d1cfc7b | 0d5da3e1f1b430571bb27396d1e11f7bff8d8530 | 2020-07-31T11:14:56Z | c++ | 2020-08-16T07:19:38Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 13,060 | ["src/Storages/MergeTree/KeyCondition.cpp", "tests/queries/0_stateless/01418_index_analysis_bug.reference", "tests/queries/0_stateless/01418_index_analysis_bug.sql"] | Clickhouse incorrectly returning zero counts, when data does exist | **Describe the bug**
Clickhouse is returning zero results when data does exist for the query.
When we change the dates around slightly, data is returned, including data for the dates that previously said it had no rows for.
**How to reproduce**
Clickhouse server version 20.5.2.7
Clickhouse clients tried: dbeaver... | https://github.com/ClickHouse/ClickHouse/issues/13060 | https://github.com/ClickHouse/ClickHouse/pull/13081 | c6ac3398977e76b3b2123759c29c509f4587ef80 | a22bdb19895bf687e6153c1e6fc03293aa98b663 | 2020-07-29T07:50:10Z | c++ | 2020-07-30T12:30:55Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 13,027 | ["src/Interpreters/InterpreterCreateQuery.cpp", "tests/queries/0_stateless/01458_named_tuple_millin.reference", "tests/queries/0_stateless/01458_named_tuple_millin.sql"] | 20.5 Table creation with named tuples is broken | **Describe the bug**
Table creation with named tuples is broken
**How to reproduce**
ClickHouse server version 20.5.3.27
```
:) SELECT version();
┌─version()─┐
│ 20.5.3.27 │
└───────────┘
```
```
:) CREATE TABLE test.tuple
(
`j` Tuple( a Int8, b String)
)
ENGINE = Memory;
Received exceptio... | https://github.com/ClickHouse/ClickHouse/issues/13027 | https://github.com/ClickHouse/ClickHouse/pull/14143 | 81dc22b1d01b7edaebfc45cc53988b100a45149e | 478adb75ef53333b334b5b4a0a44c47e6ed52c32 | 2020-07-28T16:09:07Z | c++ | 2020-08-27T08:56:59Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 13,014 | ["src/Interpreters/ExpressionAnalyzer.h", "src/Storages/StorageJoin.h", "src/Storages/StorageSet.cpp", "tests/queries/0_stateless/02386_set_columns_order.reference", "tests/queries/0_stateless/02386_set_columns_order.sql"] | Engine=Set with multiple columns enforces reversed column order | 2 columns sample
```sql
CREATE TABLE userid_set(userid UInt64, name String) ENGINE = Set;
INSERT INTO userid_set VALUES (1, 'Mary'),(2, 'Jane'),(3, 'Mary'),(4, 'Jack');
CREATE TABLE userid_test (userid UInt64, name String) ENGINE = MergeTree() PARTITION BY (intDiv(userid, 500)) ORDER BY (userid) SETTINGS index_... | https://github.com/ClickHouse/ClickHouse/issues/13014 | https://github.com/ClickHouse/ClickHouse/pull/40225 | 08189b41eff6386aebe16089dbc054ee061397a9 | a0693c3a845e219a3d8e82efde3439701e8469d4 | 2020-07-28T14:40:17Z | c++ | 2022-08-15T16:05:38Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,964 | ["programs/client/Client.cpp", "tests/queries/0_stateless/00964_live_view_watch_events_heartbeat.py", "tests/queries/0_stateless/00965_live_view_watch_heartbeat.py"] | Progress bar flicker in clickhouse-client. | When I execute the following query:
```
SELECT
toInt64(WatchID),
toInt8(JavaEnable),
toValidUTF8(toString(Title)),
toInt16(GoodEvent),
EventTime,
EventDate,
toInt32(CounterID),
toInt32(ClientIP),
toInt32(RegionID),
toInt64(UserID),
toInt8(CounterClas... | https://github.com/ClickHouse/ClickHouse/issues/12964 | https://github.com/ClickHouse/ClickHouse/pull/13691 | c157b7a6858fa2de229721a6667213274388e561 | 318f14b95e0bbc02d1a5f07241d8f2c1c3d4d281 | 2020-07-27T22:15:35Z | c++ | 2020-08-26T10:25:25Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,958 | ["src/Interpreters/HashJoin.cpp", "src/Interpreters/HashJoin.h", "src/Interpreters/RowRefs.cpp", "src/Interpreters/RowRefs.h", "tests/queries/0_stateless/01428_nullable_asof_join.reference", "tests/queries/0_stateless/01428_nullable_asof_join.sql"] | Segmentation fault when using ASOF LEFT JOIN with join_use_nulls=1 | **Describe the bug**
ClickHouse server crashes when using ASOF LEFT JOIN with join_use_nulls=1
**How to reproduce**
* 20.5.2.7 / 20.5.3.27
May require to run several times!
```
ClickHouse client version 20.5.3.27 (official build).
Connecting to server253:9000 as user default.
Connected to ClickHouse serve... | https://github.com/ClickHouse/ClickHouse/issues/12958 | https://github.com/ClickHouse/ClickHouse/pull/13291 | 43f048d2cb0815cc511723fd11ab0b6ec10972f0 | d4266d9619a346487db55d67a07368996c80259b | 2020-07-27T18:53:44Z | c++ | 2020-08-03T23:11:39Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,661 | ["src/Processors/Formats/Impl/AvroRowInputFormat.cpp", "src/Processors/Formats/Impl/AvroRowInputFormat.h", "tests/integration/test_storage_kafka/test.py"] | Exception when reading from Kafka | Hi,
I am running a Clickhouse cluster on k8s and reading from Kafka topics. I am using Clickhouse 20.4.4 .18 and the 0.9.9 version of the Clickhouse operator. The topics are in AvroConfluent format and everything worked well until I started having an exception for on eof the topics where the complaint is :"Invalid ... | https://github.com/ClickHouse/ClickHouse/issues/12661 | https://github.com/ClickHouse/ClickHouse/pull/13203 | d94e5564555cbd4a5f93f073f8120c51cd44b80f | 4417fb80e6b561694d119da5adb8cdb2472714ad | 2020-07-22T10:14:45Z | c++ | 2020-08-04T23:47:42Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,617 | ["src/Processors/Transforms/MergeSortingTransform.cpp", "tests/queries/0_stateless/00110_external_sort.reference", "tests/queries/0_stateless/00110_external_sort.sql"] | Pipeline stuck for external sort | ```
SET max_bytes_before_external_sort = 33554432;
set max_block_size = 1048576;
SELECT number FROM (SELECT number FROM numbers(2097152)) ORDER BY number * 1234567890123456789 LIMIT 2097142, 10;
Code: 49. DB::Exception: Received from localhost:9000. DB::Exception: Pipeline stuck. Current state:
digraph
{
ran... | https://github.com/ClickHouse/ClickHouse/issues/12617 | https://github.com/ClickHouse/ClickHouse/pull/12618 | e3594b89ea7ae15d30b4d7d45992b6ec619cc7d6 | c4381e8a5d712b8ed9ed20d9e558508084639870 | 2020-07-21T09:30:34Z | c++ | 2020-07-21T18:54:09Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,604 | ["src/Interpreters/AggregateFunctionOfGroupByKeysVisitor.h", "src/Interpreters/TreeOptimizer.cpp", "tests/queries/0_stateless/01561_aggregate_functions_of_key_with_join.reference", "tests/queries/0_stateless/01561_aggregate_functions_of_key_with_join.sql"] | "Not found column" when using two columns with the same name and GROUP BY | **Describe the bug**
Clickhouse seems to be unable to find the source for a column for the aggregation function for a column where the name is ambigious but specified with alias.
**How to reproduce**
* Which ClickHouse server version to use: 20.5.2.7
* Which interface to use, if matters: HTTP (but should not matt... | https://github.com/ClickHouse/ClickHouse/issues/12604 | https://github.com/ClickHouse/ClickHouse/pull/16951 | 49af4ff7c9895f0c5c71c123fdc5d311df858509 | 038a56d243403242de10e39293a3ee3ef08ee0f9 | 2020-07-20T14:47:13Z | c++ | 2020-11-29T17:47:16Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,602 | ["src/Processors/QueryPipeline.cpp", "tests/queries/0_stateless/01416_join_totals_header_bug.reference", "tests/queries/0_stateless/01416_join_totals_header_bug.sql"] | UNION ALL + INNER JOIN = Block structure mismatch | **Describe the unexpected behaviour**
Union All in combination with joins breaks when upgrading to Clickhouse 20.5.2.7
**How to reproduce**
* Which ClickHouse server version to use: 20.5.2.7
* Which interface to use, if matters: HTTP (but should not matter)
* Non-default settings, if any (none that I am aware ... | https://github.com/ClickHouse/ClickHouse/issues/12602 | https://github.com/ClickHouse/ClickHouse/pull/12989 | 5ebeed3247747dccee990b9c313505a10c71056e | f9d7cacf5308b6dad4000c0da44a9decc85c164d | 2020-07-20T13:48:15Z | c++ | 2020-07-28T18:15:33Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,592 | ["src/Interpreters/AnyInputOptimize.cpp", "tests/queries/0_stateless/01398_any_with_alias.reference", "tests/queries/0_stateless/01398_any_with_alias.sql"] | optimize_move_functions_out_of_any doesn't respect aliases. | **How to reproduce**
```
SELECT any(number * 2) AS n
FROM numbers(100)
┌─multiply(any(number), 2)─┐
│ 0 │
└──────────────────────────┘
```
```
SELECT any(number * 2) AS n
FROM numbers(100)
SETTINGS optimize_move_functions_out_of_any = 0
┌─n─┐
│ 0 │
└───┘
``` | https://github.com/ClickHouse/ClickHouse/issues/12592 | https://github.com/ClickHouse/ClickHouse/pull/12593 | a78b58d764087b4afb89ad16dc6e2e983020b2c8 | e4e642e24fc8f43c43cf0fd455d94dc365c46b16 | 2020-07-20T07:46:31Z | c++ | 2020-07-21T11:37:37Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,583 | ["src/DataStreams/ParallelParsingBlockInputStream.cpp", "src/DataStreams/ParallelParsingBlockInputStream.h", "tests/integration/test_input_format_parallel_parsing_memory_tracking/__init__.py", "tests/integration/test_input_format_parallel_parsing_memory_tracking/configs/conf.xml", "tests/integration/test_input_format_p... | Seesawing in MemoryTracking metric causing >20.3 to fail some writes and reads, unable to identify cause. | **Summary**
After upgrading a host that is just a collection `Distributed` tables to 20.4.X and 20.5.2.7, we observe the new `MemoryTracking` setting increasing substantially during writes, leading to individual writes and reads yielding exceptions: ```Memory limit (total) exceeded: would use 28.28 GiB (attempt to all... | https://github.com/ClickHouse/ClickHouse/issues/12583 | https://github.com/ClickHouse/ClickHouse/pull/12672 | 340e4fac0ac88b6c92e92b48648474c3b10c4bc9 | 54a021bc8482226f216746209cf6789ffad27bd6 | 2020-07-19T19:56:33Z | c++ | 2020-07-24T09:11:58Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,568 | ["src/AggregateFunctions/AggregateFunctionGroupArrayMoving.cpp", "src/AggregateFunctions/AggregateFunctionGroupArrayMoving.h", "tests/queries/0_stateless/00953_moving_functions.reference", "tests/queries/0_stateless/01412_group_array_moving_shard.reference", "tests/queries/0_stateless/01412_group_array_moving_shard.sql... | groupArrayMovingSum does not work with distributed tables | **Describe the bug**
function groupArrayMovingSum() does not work with distributed tables, exception:
`DB::Exception: Unknown aggregate function movingXXX: while receiving packet from <host>:<port>.`
**How to reproduce**
run this sql
`SELECT groupArrayMovingSum(value)
FROM remote('127.0.0.{1,2}', system, metric... | https://github.com/ClickHouse/ClickHouse/issues/12568 | https://github.com/ClickHouse/ClickHouse/pull/12622 | 3015503dc6cf82d0ef3950057d68c7071eeb5412 | 71d8cab08ccd163d51a918bb99d6d12e652675ac | 2020-07-17T16:32:45Z | c++ | 2020-08-03T17:35:24Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,562 | ["programs/client/Client.cpp", "tests/queries/0_stateless/00964_live_view_watch_events_heartbeat.py", "tests/queries/0_stateless/00965_live_view_watch_heartbeat.py"] | JSON and JSONCompact formats produce invalid JSON objects in interactive mode of clickhouse-client | The last line in `data` section of the output is always empty.
```
# clickhouse-client
ClickHouse client version 20.5.2.7 (official build).
Connecting to localhost:9001 as user default.
Connected to ClickHouse server version 20.5.2 revision 54435.
sas-vrxctd96rqw5lw25.db.yandex.net :) select 1 format JSON
... | https://github.com/ClickHouse/ClickHouse/issues/12562 | https://github.com/ClickHouse/ClickHouse/pull/13691 | c157b7a6858fa2de229721a6667213274388e561 | 318f14b95e0bbc02d1a5f07241d8f2c1c3d4d281 | 2020-07-17T09:42:54Z | c++ | 2020-08-26T10:25:25Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,534 | ["src/Interpreters/ActionsVisitor.cpp", "src/Interpreters/Set.cpp", "src/Interpreters/Set.h", "tests/performance/set_index.xml", "tests/queries/0_stateless/01398_in_tuple_func.reference", "tests/queries/0_stateless/01398_in_tuple_func.sql"] | Bad performance of IN with tuples interpreted as functions. | ```
select count() from numbers(10) where number in tuple(1, 2, 3, 4, 5) settings max_temporary_columns = 3
Received exception from server (version 20.7.1):
Code: 165. DB::Exception: Received from localhost:9000. DB::Exception: Too many temporary columns: _dummy, 1, 2, 3. Maximum: 3.
```
Workaround: Avoid fun... | https://github.com/ClickHouse/ClickHouse/issues/12534 | https://github.com/ClickHouse/ClickHouse/pull/12700 | 78a887fbaca6dec71e63b132578b77ffe284cc8b | 543d2da3daedff7495ec1c9b8e0a0d53313b73d0 | 2020-07-15T17:08:52Z | c++ | 2020-07-31T11:40:38Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,523 | ["src/Interpreters/CollectJoinOnKeysVisitor.cpp", "src/Interpreters/CollectJoinOnKeysVisitor.h", "tests/queries/0_stateless/01429_join_on_error_messages.reference", "tests/queries/0_stateless/01429_join_on_error_messages.sql"] | Continuation over multiple expressions is not supported | ```
SELECT 1 FROM (select 1 a) A JOIN (select 1 b) B ON (arrayJoin([1]) = B.b)
2020.07.15 15:18:57.846463 [ 331717 ] {05d39ea9-f476-47e4-aff3-99398345ccc0} <Error> : Logical error: 'Continuation over multiple expressions is not supported'.
clickhouse-server: /home/akuzm/ch4/ch/src/Common/Exception.cpp:45: DB::Ex... | https://github.com/ClickHouse/ClickHouse/issues/12523 | https://github.com/ClickHouse/ClickHouse/pull/13330 | 66982b404e8523c84415285b5bd3ebb0e6452e2d | 829955a538529e0383441c27ff24c59ea8f3f964 | 2020-07-15T12:20:26Z | c++ | 2020-08-05T09:31:59Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,513 | ["src/Interpreters/AggregateFunctionOfGroupByKeysVisitor.h", "src/Interpreters/TreeOptimizer.cpp", "tests/queries/0_stateless/01321_aggregate_functions_of_group_by_keys.reference", "tests/queries/0_stateless/01511_different_expression_with_same_alias.reference", "tests/queries/0_stateless/01511_different_expression_wit... | Regression: "Different expressions with the same alias" on 20.5 with enable_optimize_predicate_expression | **How to reproduce**
CH version: `20.5.2 revision 54435` (latest on `apt` at the moment). Cannot reproduce on `20.4.5`, so it's a regression.
Table:
```sql
create table repro_hits (
date Date,
metric Float64
) engine=MergeTree() order by date
```
Query:
```sql
SELECT
date as period,
... | https://github.com/ClickHouse/ClickHouse/issues/12513 | https://github.com/ClickHouse/ClickHouse/pull/15886 | 7d2f96ade9208cce437eea7e6a9d57b0f9c7d6f9 | 56e7e6ed62c7825f0d1ac8076308eb41d72c2e19 | 2020-07-15T09:25:32Z | c++ | 2020-10-13T21:55:11Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,493 | ["src/Parsers/ParserCreateQuery.h", "tests/queries/0_stateless/01559_misplaced_codec_diagnostics.reference", "tests/queries/0_stateless/01559_misplaced_codec_diagnostics.sh"] | Syntax error: failed at position 32: CODEC... Expected one of: CODEC | **Describe the bug**
Parser error message is not clear as it expects `CODEC` and shows error on `CODEC` string.
**How to reproduce**
``` sql
2020.07.14 14:18:50.061165 [ 139 ] {9b17c1cb-0379-457e-98d2-86af9cf8e975} <Debug> executeQuery: (from 172.17.0.1:33292) CREATE TABLE t5 (c0 Int32, c1 CODEC (NONE) DEFAULT 115... | https://github.com/ClickHouse/ClickHouse/issues/12493 | https://github.com/ClickHouse/ClickHouse/pull/16768 | 2d427eb1e85d9cee6a4872f68b41698abbe7aa5a | 8289fe7b9f5b96716a6a96c3c7e31f9d6d4bf60b | 2020-07-14T14:24:35Z | c++ | 2020-11-08T11:28:33Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,488 | ["src/Storages/Kafka/KafkaBlockInputStream.h", "tests/integration/test_storage_kafka/test.py"] | Segfault, while reading from Kafka table. | **Describe the bug**
Reading from Kafka table leads to segfault, if broker is unavailable.
**How to reproduce**
repro: #12487
**Error message and/or stacktrace**
```
2020.07.14 12:08:10.498536 [ 73 ] {} <Debug> StorageKafka (kafka): [rdk:CGRPQUERY] [thrd:main]: Group "test_bad_reschedule": no broker available... | https://github.com/ClickHouse/ClickHouse/issues/12488 | https://github.com/ClickHouse/ClickHouse/pull/12658 | 795c09fdbbbe2c1f156d8b0c795cd9992297cb20 | 4d76f4144956581b3fa3d91ed74c6e2b46136235 | 2020-07-14T09:33:43Z | c++ | 2020-07-27T21:03:54Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,483 | ["contrib/libunwind"] | CentOS7.8 arm cpu, try catch invalid | branch:v20.5.2.7-stable
below is the exception call stack,#12 TCPHandler::runImpl() have try catch,but not effective:
```
#0 0x0000ffffbe2f5238 in raise () from /lib64/libc.so.6
#1 0x0000ffffbe2f68b0 in abort () from /lib64/libc.so.6
#2 0x000000000b063b8c in terminate_handler() () at /home/jch/ck/ClickHous... | https://github.com/ClickHouse/ClickHouse/issues/12483 | https://github.com/ClickHouse/ClickHouse/pull/25854 | 956b1f588dbf5e406bf61e8a9b4e329d35af8b70 | 011ed015fa49c8e1a37f6f103c28def5e637a23f | 2020-07-14T03:57:39Z | c++ | 2021-06-30T13:18:59Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,468 | ["src/Core/Settings.h", "tests/queries/0_stateless/01392_column_resolve.reference", "tests/queries/0_stateless/01392_column_resolve.sql"] | Wrong column resolution in query with multiple JOIN | **Describe the unexpected behaviour**
The column resolution seems to resolve an alias to the wrong column when there is a left join in the query.
**How to reproduce**
* Which ClickHouse server version to use: `20.3.12.112`
* Which interface to use, if matters: HTTP Interface (but should not matter)
Please ru... | https://github.com/ClickHouse/ClickHouse/issues/12468 | https://github.com/ClickHouse/ClickHouse/pull/12469 | 07b9bf8a306d42523f9f04fd97bc652b5a60ce54 | dda251020898561e12d7a1fab20b7a7daa623628 | 2020-07-13T14:34:30Z | c++ | 2020-07-14T09:34:47Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,463 | ["src/Functions/if.cpp", "tests/queries/0_stateless/00735_conditional.reference", "tests/queries/0_stateless/00735_conditional.sql", "tests/queries/0_stateless/01423_if_nullable_cond.reference", "tests/queries/0_stateless/01423_if_nullable_cond.sql"] | Bad cast from type DB::ColumnVector<signed char> to DB::ColumnVector<short> | ```
SELECT if(x = 100, toUInt8(x), -1) FROM (SELECT CAST(null, 'Nullable(UInt8)') AS x)
2020.07.13 16:27:41.854176 [ 49447 ] {ef40a485-4af0-455c-bdd5-71b14e35a7dd} <Error> : Logical error: 'Bad cast from type DB::ColumnVector<signed char> to DB::ColumnVector<short>'.
clickhouse-server: /home/akuzm/ch4/ch/src/Com... | https://github.com/ClickHouse/ClickHouse/issues/12463 | https://github.com/ClickHouse/ClickHouse/pull/13226 | 6bf005b68294ab4c3f2ea6b5f02b3ebf514bf6ee | 851e1a70d35b37dec10093b0678671f72b5026de | 2020-07-13T13:29:11Z | c++ | 2020-08-03T03:11:54Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,461 | ["src/Functions/FunctionsComparison.h", "tests/queries/0_stateless/00250_tuple_comparison.reference", "tests/queries/0_stateless/00250_tuple_comparison.sql"] | tuple(null): clickhouse-client: data compressed with different methods | ```
/4/ :) SELECT tuple(NULL) < tuple(1)
→ Progress: 0.00 rows, 0.00 B (0.00 rows/s., 0.00 B/s.)
Exception on client:
Code: 271. DB::Exception: Data compressed with different methods, given method byte 0x6e, previous method byte 0x82: while receiving packet from localhost:9000
Stack trace:
0. /home/akuzm/ch4/c... | https://github.com/ClickHouse/ClickHouse/issues/12461 | https://github.com/ClickHouse/ClickHouse/pull/13420 | 79f30f944675c55c24b35c5c44f16e0def76bf22 | 63ace67409c90a74ee10c737aae863e69fed1725 | 2020-07-13T13:13:42Z | c++ | 2020-08-07T12:32:52Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,460 | ["src/Processors/Formats/IOutputFormat.cpp", "src/Processors/Formats/Impl/TemplateBlockOutputFormat.cpp", "src/Processors/Transforms/TotalsHavingTransform.cpp", "tests/queries/0_stateless/01472_many_rows_in_totals.reference", "tests/queries/0_stateless/01472_many_rows_in_totals.sql"] | clickhouse-client: Got 2 in totals chunk, expected 1 | ```
/4/ :) SELECT arrayJoin([1, 2]) GROUP BY 1 WITH TOTALS FORMAT JSON
{
"meta":
[
{
"name": "arrayJoin([1, 2])",
"type": "UInt8"
}
],
"data":
[
{
"arrayJoin([1, 2])": 1
},
{
"arrayJoin([1, 2])": 2
}← Progress: 0.00 rows, 0.00 B (0.00 rows/s., 0.00 B/s.) Logical error:... | https://github.com/ClickHouse/ClickHouse/issues/12460 | https://github.com/ClickHouse/ClickHouse/pull/14500 | 0a9f6b180563f63f4f56dbd98f5e9384597cd133 | d771ce5609a68a40a4d47bcc9d3c42332a765bc9 | 2020-07-13T12:41:53Z | c++ | 2020-09-08T07:40:14Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,451 | ["src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/01402_cast_nullable_string_to_enum.reference", "tests/queries/0_stateless/01402_cast_nullable_string_to_enum.sql"] | Support CAST()ing strings into Nullable(Enum) and Nullable(Array(Enum)) | **Use case**
We want to import a CSV file which may contain malformed column values
(like non-numeric characters in an Int32 column). While doing that we
want to skip invalid rows and continue inserting valid rows, and also
gather information about rows that have been skipped (such as line
numbers).
If we dir... | https://github.com/ClickHouse/ClickHouse/issues/12451 | https://github.com/ClickHouse/ClickHouse/pull/12745 | 7a806eb90f058fbc53bc74e81cb66da857631485 | 239f08271a56c337ba0fe69eb8a7257a86136d17 | 2020-07-13T05:02:01Z | c++ | 2020-07-29T17:23:21Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,447 | ["CMakeLists.txt", "cmake/sanitize_targets.cmake"] | Ensure that no `-Wno` arguments suddenly appear. | See https://github.com/ClickHouse/ClickHouse/pull/12448 | https://github.com/ClickHouse/ClickHouse/issues/12447 | https://github.com/ClickHouse/ClickHouse/pull/43275 | 7dae1b08c68fef5318d49f5f1e2c61fc7c855ac7 | f42be5ffd33fb175abc63b5e73476f5914f9a94a | 2020-07-13T01:00:11Z | c++ | 2022-11-22T18:18:26Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,406 | ["src/Storages/MergeTree/KeyCondition.cpp", "tests/queries/0_stateless/01418_index_analysis_bug.reference", "tests/queries/0_stateless/01418_index_analysis_bug.sql"] | Strange results when using the same field 2 times in a where clause | **Describe the unexpected behaviour**
Not sure if it is a bug but we encounter a very strange issue when using the same field 2 times in a where clause.
Basically : field = <> and toYear(field)= <>
**How to reproduce**
* Clickhouse 20.5.2.7
Create table statement :
```
DROP TABLE IF EXISTS datasources.ca... | https://github.com/ClickHouse/ClickHouse/issues/12406 | https://github.com/ClickHouse/ClickHouse/pull/13081 | c6ac3398977e76b3b2123759c29c509f4587ef80 | a22bdb19895bf687e6153c1e6fc03293aa98b663 | 2020-07-10T14:55:45Z | c++ | 2020-07-30T12:30:55Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,342 | ["src/AggregateFunctions/AggregateFunctionAvg.h", "tests/integration/test_backward_compatability/test_string_aggregation.py", "tests/integration/test_backward_compatibility/__init__.py", "tests/integration/test_backward_compatibility/test.py", "tests/integration/test_backward_compatibility/test_aggregate_function_state... | Cannot read all data during merge from AggregateFunctionAvgBase | We were testing an upgrade from version 20.3.7 to 20.5.2 on one set of four replicas. There were many stack traces like on columns that use the `AggregateFunction(avg, UInt32)` data type. This exception happened only on that data type, but it appears to affect all of our tables that have it.
Is this possibly an is... | https://github.com/ClickHouse/ClickHouse/issues/12342 | https://github.com/ClickHouse/ClickHouse/pull/12486 | 1e8f340e2272b45072ffdde81959ee2593c2a066 | 166a7b469ff7de99cd1d995eba950a31c52055a3 | 2020-07-09T17:25:07Z | c++ | 2020-07-16T07:49:55Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,333 | ["src/Storages/AlterCommands.cpp", "tests/queries/0_stateless/01387_clear_column_default_depends.reference", "tests/queries/0_stateless/01387_clear_column_default_depends.sql"] | Clear column in partition failed for columns used in other's defaults | Newer versions can't clear columns which are used in default expressions for other columns. Maybe it's caused by https://github.com/ClickHouse/ClickHouse/issues/6913
CH version 20.5.2
create database Temp;
create table Temp.Test (`impression_id` String,`impression_id_compressed` FixedString(16) DEFAULT UUIDStr... | https://github.com/ClickHouse/ClickHouse/issues/12333 | https://github.com/ClickHouse/ClickHouse/pull/12378 | 031c77326006d8df5901d99a8996466c6687b2d9 | d819624d7c857ad3ed3c8b3bf9b37da90aac5ca8 | 2020-07-09T14:11:11Z | c++ | 2020-07-10T17:18:14Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,303 | ["src/Storages/AlterCommands.cpp", "tests/queries/0_stateless/01213_alter_rename_primary_key_zookeeper.sql", "tests/queries/0_stateless/01344_alter_enum_partition_key.sql", "tests/queries/0_stateless/01346_alter_enum_partition_key_replicated.sql"] | ALTER RENAME COLUMN doesn't work with skip indices. | **Describe the bug**
If you try to rename column, which has any skip index on it, you will get an exception.
**How to reproduce**
```
DROP TABLE IF EXISTS t_ind;
CREATE TABLE t_ind
(
a UInt32,
INDEX i a TYPE minmax GRANULARITY 1
)
ENGINE = MergeTree
ORDER BY tuple();
INSERT INTO t_ind SELECT numbe... | https://github.com/ClickHouse/ClickHouse/issues/12303 | https://github.com/ClickHouse/ClickHouse/pull/12335 | d543a75f654b2e0a3d9810e8930af08e8ceafd92 | 5cae87e664a9b539805523a2a2e94b7645efc120 | 2020-07-08T21:28:20Z | c++ | 2020-07-10T08:05:20Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,301 | ["src/Storages/AlterCommands.cpp", "tests/queries/0_stateless/01213_alter_rename_primary_key_zookeeper.sql", "tests/queries/0_stateless/01344_alter_enum_partition_key.sql", "tests/queries/0_stateless/01346_alter_enum_partition_key_replicated.sql"] | 20.5 is confused while trying to rename a key column | I tried to rename a key column in a MergeTree table. It does not work, and 20.4 is very clear about the reason.
20.5.2 is complaining about non-existing column with the old name, suggesting there is a column with the new name:
```
ALTER TABLE rename_key
RENAME COLUMN key TO new
Received exception from serve... | https://github.com/ClickHouse/ClickHouse/issues/12301 | https://github.com/ClickHouse/ClickHouse/pull/12335 | d543a75f654b2e0a3d9810e8930af08e8ceafd92 | 5cae87e664a9b539805523a2a2e94b7645efc120 | 2020-07-08T17:16:59Z | c++ | 2020-07-10T08:05:20Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,299 | ["src/Storages/TTLDescription.cpp", "src/Storages/TTLDescription.h", "tests/queries/0_stateless/01378_alter_rename_with_ttl.reference", "tests/queries/0_stateless/01378_alter_rename_with_ttl.sql"] | Failed 01213_alter_rename_with_default_zookeeper with compact parts. | Renaming column, on which depends TTL expression is broken in ReplicatedMergeTree with compact parts.
It was missed, because CI check with enabled polymorphic parts haven't been working well for some period.
StackTrace:
```
2020.07.08 18:45:27.054943 [ 10032 ] {} <Error> test_rnqtie.table_rename_with_ttl: auto DB... | https://github.com/ClickHouse/ClickHouse/issues/12299 | https://github.com/ClickHouse/ClickHouse/pull/12304 | 2eb6f1d0c16361a89d866a1bc98673824acade6e | 47f05dcadd7d11384af441ad980f090d7fc1dfe3 | 2020-07-08T15:50:14Z | c++ | 2020-07-09T10:06:27Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,297 | ["tests/queries/0_stateless/01596_full_join_chertus.reference", "tests/queries/0_stateless/01596_full_join_chertus.sql"] | 'Values of constants are different' error for toTypeName() returning the same values | ```
select toTypeName(materialize(js1.k)), toTypeName(materialize(js2.k)), toTypeName(materialize(js1.s)), toTypeName(materialize(js2.s))
from (select number k, toLowCardinality(toString(number)) s from numbers(2)) as js1
full join (select toLowCardinality(number+1) k, toString(number+1) s from numbers(2)) as js2
u... | https://github.com/ClickHouse/ClickHouse/issues/12297 | https://github.com/ClickHouse/ClickHouse/pull/17557 | 5a1ebb57224dc71d495b5fe28304aa84961df9db | b03aaf2b8ace99364bf64a39ef3ab16a271078ec | 2020-07-08T15:17:31Z | c++ | 2020-11-29T18:16:03Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,293 | ["src/Core/Settings.h", "src/Interpreters/PredicateExpressionsOptimizer.cpp", "src/Interpreters/PredicateExpressionsOptimizer.h", "src/Interpreters/PredicateRewriteVisitor.cpp", "src/Interpreters/PredicateRewriteVisitor.h", "tests/queries/0_stateless/01414_push_predicate_when_contains_with_clause.reference", "tests/que... | Predicate push down for views containing WITH clause. | ```
drop table IF EXISTS numbers_indexed;
drop table IF EXISTS squares;
create table numbers_indexed Engine=MergeTree ORDER BY number PARTITION BY bitShiftRight(number,8) SETTINGS index_granularity=8 AS SELECT * FROM numbers(16384);
CREATE VIEW squares AS WITH number*2 AS square_number SELECT number, square_nu... | https://github.com/ClickHouse/ClickHouse/issues/12293 | https://github.com/ClickHouse/ClickHouse/pull/12663 | 9475b279360a1a039994e626013de9cde42d60b1 | 50203a5dc03e60a768de87f7d67a352ad2c0238f | 2020-07-08T13:32:09Z | c++ | 2020-07-24T09:00:18Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,291 | ["src/Processors/Transforms/FillingTransform.cpp", "tests/queries/0_stateless/01379_with_fill_several_columns.reference", "tests/queries/0_stateless/01379_with_fill_several_columns.sql"] | multiple ORDER BY .. WITH FILL ignored field orders in ORDER BY and use field order from SELECT ... | `ORDER BY f1 WITH FILL, f2 WITH FILL` always fills data only for one field which first in SELECT order and ignore fields order in `ORDER BY` clasue
**How to reproduce**
```sql
SELECT toDate(number*10*86400) AS d1, toDate(number*86400) AS d2, 'original' AS source
FROM numbers(10) WHERE number % 3 = 1
ORDER BY d2 ... | https://github.com/ClickHouse/ClickHouse/issues/12291 | https://github.com/ClickHouse/ClickHouse/pull/12306 | 7af916e44a41d8361cfc49a066188e3bbed0d163 | c4767557f24dc4530dd2e8e1991115242743716e | 2020-07-08T11:22:43Z | c++ | 2020-07-09T21:12:11Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,264 | ["tests/queries/0_stateless/25402_fail_on_invalid_having.reference", "tests/queries/0_stateless/25402_fail_on_invalid_having.sql"] | HAVING clause can change result of aggregation | **Describe the bug**
HAVING Clause works not like filter over aggregation result. It allows to use expression that is not an aggregation and not a group by
```
Each column reference directly contained in the search condition shall be one of the following:
a) An unambiguous reference to a column that is functionall... | https://github.com/ClickHouse/ClickHouse/issues/12264 | https://github.com/ClickHouse/ClickHouse/pull/47931 | 91f3edd92311ce904aa8f3748c0e25c66cd27adc | 16ddb4cc4b3336a158e52d453407074e3658d63b | 2020-07-07T16:54:19Z | c++ | 2023-03-28T08:59:30Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,172 | ["src/Functions/array/arrayElement.cpp", "tests/queries/0_stateless/01421_array_nullable_element_nullable_index.reference", "tests/queries/0_stateless/01421_array_nullable_element_nullable_index.sql", "tests/queries/0_stateless/01422_array_nullable_element_nullable_index.reference", "tests/queries/0_stateless/01422_arr... | FunctionArrayElement::executeImpl: Bad cast from type DB::DataTypeNumber<char8_t> to DB::DataTypeNullable | ```
/4/ :) SELECT [1, null][[1, NULL][1]]
Received exception from server (version 20.6.1):
Code: 49. DB::Exception: Received from localhost:9000. DB::Exception: Bad cast from type DB::DataTypeNumber<char8_t> to DB::DataTypeNullable. Stack trace:
0. /home/akuzm/ch4/ch/contrib/poco/Foundation/src/Exception.cpp:... | https://github.com/ClickHouse/ClickHouse/issues/12172 | https://github.com/ClickHouse/ClickHouse/pull/13224 | 114781fb662c623e9555d2f12415354253d50aa0 | 2d93ac97c911e75b5e7dc77af6a3f2a7c6df7176 | 2020-07-06T14:19:59Z | c++ | 2020-08-02T14:21:52Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,146 | ["src/TableFunctions/TableFunctionRemote.cpp", "tests/queries/0_stateless/01372_remote_table_function_empty_table.reference", "tests/queries/0_stateless/01372_remote_table_function_empty_table.sql"] | Logical error: Both table name and UUID are empty. | ```
SELECT *
FROM remoteSecure('\0', 't#l>U.')
Received exception from server (version 20.6.1):
Code: 49. DB::Exception: Received from localhost:9000. DB::Exception: Both table name and UUID are empty.
``` | https://github.com/ClickHouse/ClickHouse/issues/12146 | https://github.com/ClickHouse/ClickHouse/pull/12147 | 7df372cb1d70a25865e13e903081c656b9dcd591 | 4ec787ce48928e2d5f53454ca0769489e69aff49 | 2020-07-05T23:07:32Z | c++ | 2020-07-06T06:21:23Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,123 | ["programs/local/LocalServer.cpp", "src/Interpreters/Context.cpp", "tests/queries/0_stateless/01532_clickhouse_local_tmp_folder.reference", "tests/queries/0_stateless/01532_clickhouse_local_tmp_folder.sh"] | clickhouse-local does not work if there is no /tmp directory | ```
$ ls -lR
.:
total 1645932
-rwxrwxr-x 1 milovidov milovidov 1685419984 июл 4 00:33 clickhouse
drwxrwxr-x 2 milovidov milovidov 4096 июл 4 00:36 lib
drwxrwxr-x 2 milovidov milovidov 4096 июл 4 00:36 lib64
./lib:
total 3536
-rwxr-xr-x 1 milovidov milovidov 2025032 июл 4 00:36 libc.so.6
-r... | https://github.com/ClickHouse/ClickHouse/issues/12123 | https://github.com/ClickHouse/ClickHouse/pull/16280 | 42836c86e2c641615481fe70049b2ca38af1434d | 655261311826c5727f2e5b10e7d173661011c887 | 2020-07-03T21:41:18Z | c++ | 2020-10-26T16:10:15Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,119 | ["src/Functions/intDiv.cpp", "src/Functions/modulo.cpp", "src/Interpreters/createBlockSelector.cpp", "src/Storages/Distributed/DistributedBlockOutputStream.cpp", "tests/queries/0_stateless/01360_division_overflow.reference", "tests/queries/0_stateless/01360_division_overflow.sql"] | libdivide.h:876: libdivide_internal_s32_gen(): Error: divider must be != 0 | ```
select value % -9223372036854775808 from (select toInt32(arrayJoin([3, 5])) value)
```
Server dies (aborted), no stacktraces, only the subject line in log. Does not reproduce on playground for some reason. | https://github.com/ClickHouse/ClickHouse/issues/12119 | https://github.com/ClickHouse/ClickHouse/pull/12140 | 8c3417fbf74aed2f7bbfbc7688fb233a1660a3f4 | eecf7ae3eea26a188209ceac51f708f0ba329f53 | 2020-07-03T15:36:28Z | c++ | 2020-07-05T16:00:41Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,093 | ["src/Storages/MergeTree/ReplicatedMergeTreeTableMetadata.cpp", "tests/queries/0_stateless/01357_version_collapsing_attach_detach_zookeeper.reference", "tests/queries/0_stateless/01357_version_collapsing_attach_detach_zookeeper.sql"] | Inconsistent metadata in ReplicatedVersionedCollapsingMergeTree after upgrading to v20.5 | We have upgraded to v20.5.2.7 from v20.1.11.73
And now CH won't start up and we're seeing error where local PK metadata differ from ZK metadata.
Existing table metadata in ZooKeeper differs in primary key. Stored in ZooKeeper: mac, port_id, topology_type, first_seen_at, last_seen_at, local: mac, port_id, topology... | https://github.com/ClickHouse/ClickHouse/issues/12093 | https://github.com/ClickHouse/ClickHouse/pull/12121 | 89034ed565f3c4aecbe770606e4147e8d96a4e57 | 8dc204350fb89a4a104bd6c3e0eb999dee84d229 | 2020-07-02T16:51:01Z | c++ | 2020-07-04T07:35:17Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,087 | ["docs/en/sql-reference/aggregate-functions/parametric-functions.md"] | WindowFunnel document error |

Length of the sliding window in milliseconds, instead of seconds | https://github.com/ClickHouse/ClickHouse/issues/12087 | https://github.com/ClickHouse/ClickHouse/pull/19681 | f42aefc4a433ffefc646859f8cff0b0187fbecce | bf04edbb5ef0657e1092befbdb52201d2e25c040 | 2020-07-02T13:41:25Z | c++ | 2021-01-29T20:48:45Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,086 | ["src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp", "src/Processors/Formats/Impl/CHColumnToArrowColumn.cpp", "tests/queries/0_stateless/01358_lc_parquet.reference", "tests/queries/0_stateless/01358_lc_parquet.sh"] | LowCardinality can not be used with Parquet format | ```
create table test_lc(a LowCardinality(String)) Engine = MergeTree order by tuple();
insert into test_lc values ('abcd');
select * from test_lc format Parquet;
Exception on client:
Code: 50. DB::Exception: The type "LowCardinality" of a column "a" is not supported for conversion into a Parquet data format... | https://github.com/ClickHouse/ClickHouse/issues/12086 | https://github.com/ClickHouse/ClickHouse/pull/12108 | 6ae9bfe3b34c779cb5719d49bd6c3b58bca2f037 | c6def5f14b2b42ea0009d703802094da4f977c64 | 2020-07-02T13:25:36Z | c++ | 2020-07-04T20:39:38Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,044 | ["src/Interpreters/Aggregator.cpp", "tests/queries/0_stateless/01356_state_resample.reference", "tests/queries/0_stateless/01356_state_resample.sql"] | Segmentation Fault with *StateResample combinator in 20.4.4 | **Describe the bug**
Running query with *StateResample leads clickhouse server to be killed because of seg fault.
**How to reproduce**
ClickHouse server version 20.4.4 revision 54434
`select sumIfStateResample(0,20,1)(number,1=1,number%20) as arr from numbers(200);`
**Expected behavior**
Query should works.
... | https://github.com/ClickHouse/ClickHouse/issues/12044 | https://github.com/ClickHouse/ClickHouse/pull/12092 | 1719ab1ec5013aade8ce1fb29706c6ea7ce54aaa | 3aad1221533ab8498a78020ec907afe13178dcf4 | 2020-06-29T23:40:45Z | c++ | 2020-07-06T05:47:42Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,036 | ["src/Core/Settings.h", "tests/queries/0_stateless/01392_column_resolve.reference", "tests/queries/0_stateless/01392_column_resolve.sql"] | Confusing "missing columns" error when joining multiple tables | **How to reproduce**
Tested on Clickhouse server version 20.4.6 revision 54434.
Given setup:
```sql
create table main(date Date, user UInt32, data UInt32) engine=Memory();
create table j1(date Date, thing UInt32) engine=Memory();
create table j2(date Date, thing UInt32) engine=Memory();
```
The following qu... | https://github.com/ClickHouse/ClickHouse/issues/12036 | https://github.com/ClickHouse/ClickHouse/pull/12469 | 07b9bf8a306d42523f9f04fd97bc652b5a60ce54 | dda251020898561e12d7a1fab20b7a7daa623628 | 2020-06-29T14:30:20Z | c++ | 2020-07-14T09:34:47Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,032 | ["src/Interpreters/JoinToSubqueryTransformVisitor.cpp", "src/Interpreters/PredicateRewriteVisitor.cpp", "src/Storages/tests/gtest_transform_query_for_external_database.cpp", "src/Storages/transformQueryForExternalDatabase.cpp"] | 20.4 table function mysql(), pass alias wrong to MySQL server | **Describe the bug**
When we have one field in Clickhouse SQL query like `SELECT field AS value, field AS display WHERE field NOT IN ('') AND display LIKE '%test%'`, query wrong rewrite on the mysql protocol side
**How to reproduce**
* Which ClickHouse server version to use
20.4.5.36
* `CREATE TABLE` statement... | https://github.com/ClickHouse/ClickHouse/issues/12032 | https://github.com/ClickHouse/ClickHouse/pull/12151 | 23094b527a6d0ff08a7d25b58388f01cdf758d6e | 546fcc9ed6cb6e36e89a4122ff0dc696e6b5af71 | 2020-06-29T12:45:23Z | c++ | 2020-07-07T18:46:35Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 12,030 | ["src/Processors/QueryPipeline.cpp", "src/Processors/QueryPipeline.h", "src/Processors/QueryPlan/UnionStep.cpp", "tests/queries/0_stateless/01358_union_threads_bug.reference", "tests/queries/0_stateless/01358_union_threads_bug.sql"] | Processors performance downgrade with UNION & LIMIT | ```sql
SELECT count()
FROM
(
SELECT number
FROM numbers_mt(100000000)
ORDER BY number DESC
LIMIT 100
UNION ALL
SELECT number
FROM numbers_mt(100000000)
ORDER BY number DESC
LIMIT 100
UNION ALL
SELECT number
FROM numbers_mt(100000000)
ORDER BY number D... | https://github.com/ClickHouse/ClickHouse/issues/12030 | https://github.com/ClickHouse/ClickHouse/pull/12103 | 072a8e0e40f79c23a28db217d66d20e59f98d769 | cbb539c682b52d9844f43251cbe61ace74bf862c | 2020-06-29T12:09:39Z | c++ | 2020-07-09T01:28:27Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 11,985 | ["src/Functions/FunctionsComparison.h", "tests/queries/0_stateless/01353_nullable_tuple.reference", "tests/queries/0_stateless/01353_nullable_tuple.sql"] | Comparison of nullables inside tuples | **Describe the bug**
Comparing nullable against non-nullable works fine:
```
$ curl localhost:8123 -d "select 'b' > 'a'"
1
$ curl localhost:8123 -d "select toNullable('b') > 'a'"
1
$ curl localhost:8123 -d "select toNullable('b') > toNullable('a')"
1
$ curl localhost:8123 -d "select 'b' > toNullable('a')"
1
... | https://github.com/ClickHouse/ClickHouse/issues/11985 | https://github.com/ClickHouse/ClickHouse/pull/12039 | da26f6496f9a8ddfbf57aa6af2429a502140b442 | c1d2d2d7f759536cdac991077110ea40023030c2 | 2020-06-26T16:08:00Z | c++ | 2020-06-29T22:38:46Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 11,943 | ["src/Databases/DatabaseOnDisk.cpp", "src/Databases/DatabaseOrdinary.cpp", "tests/queries/0_stateless/01193_metadata_loading.reference", "tests/queries/0_stateless/01193_metadata_loading.sh"] | Loading of tables is not parallel in version 20.1+ | It hurts if server has millions of tables.
See https://github.com/ClickHouse/ClickHouse/pull/3398
Please add some tests to ensure it won't be broken in future. | https://github.com/ClickHouse/ClickHouse/issues/11943 | https://github.com/ClickHouse/ClickHouse/pull/12045 | 444a869d7820746fcf44b073d47931e22a9dec87 | 948af0bfc51c3a56207b7cd4bfcee356b6216080 | 2020-06-25T14:27:51Z | c++ | 2020-06-30T18:16:40Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 11,937 | ["src/Processors/QueryPipeline.h", "src/Processors/QueryPlan/QueryPlan.cpp", "src/Processors/QueryPlan/ReadFromStorageStep.cpp", "tests/queries/0_stateless/01356_view_threads.reference", "tests/queries/0_stateless/01356_view_threads.sql"] | View of MV slower than querying directly? | ```sql
CREATE MATERIALIZED VIEW player_champ_counts_mv
ENGINE = AggregatingMergeTree() ORDER BY (patch_num, my_account_id, champ_id)
as select patch_num, my_account_id, champ_id, countState() as c_state
from full_info
group by patch_num, my_account_id, champ_id;
create view player_champ_counts as
select patc... | https://github.com/ClickHouse/ClickHouse/issues/11937 | https://github.com/ClickHouse/ClickHouse/pull/12085 | 457f56be0c37d608e562ccf24f67f235bb2a7206 | 17c89f3fe0f85e293fb5a5ec907491068c1ab52d | 2020-06-25T00:41:56Z | c++ | 2020-07-03T07:35:04Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 11,918 | ["src/Interpreters/ReplaceQueryParameterVisitor.cpp", "src/Interpreters/ReplaceQueryParameterVisitor.h", "tests/queries/0_stateless/01015_insert_values_parametrized.reference", "tests/queries/0_stateless/01015_insert_values_parametrized.sh"] | Query parameters in Values | ```
clickhouse-client -q 'create table typed_nulls( str Nullable(String) ) Engine=Log'
clickhouse-client --param_n='\N' --query='insert into typed_nulls(str) values ( {n:Nullable(String)} )' --format=Vertical
Code: 456. DB::Exception: Query parameter `n` was not set
clickhouse-client --param_n='aa' --query='ins... | https://github.com/ClickHouse/ClickHouse/issues/11918 | https://github.com/ClickHouse/ClickHouse/pull/11936 | b041479d90746dde80e863d88b962efeb1ffec7d | 6a45f3e960f0a8729b4dae8f2b5e8259f2a23ab7 | 2020-06-24T14:13:02Z | c++ | 2020-06-25T21:54:37Z |
closed | axios/axios | https://github.com/axios/axios | 6,200 | ["lib/core/Axios.js", "test/unit/adapters/http.js"] | TypeError: Cannot read properties of undefined (reading 'endsWith') | ### Describe the bug
https://github.com/developer-choi/axios-error-report
TypeError is occurred (in 1.6.6 version)
<img width="184" alt="image" src="https://github.com/axios/axios/assets/51902362/1f7f6e7f-8c8b-4ef7-9854-5c08f572d58b">
<img width="171" alt="image" src="https://github.com/axios/axios/assets/5... | https://github.com/axios/axios/issues/6200 | https://github.com/axios/axios/pull/6203 | 104aa3f65dc30d70273798dff413fb44edd1c9e6 | 1a08f90f402336e4d00e9ee82f211c6adb1640b0 | 2024-01-25T10:24:57Z | javascript | 2024-01-25T18:42:38Z |
closed | axios/axios | https://github.com/axios/axios | 6,174 | ["lib/adapters/http.js", "test/unit/adapters/http.js"] | dns lookup upgraded in 1.6 incorrectly attempts to resolve address in case of an error from the lookup callback | ### Describe the bug
TL;DR: if you supply custom DNS `lookup` in 1.6+ and it fails with `ENOTFOUND`, `axios` throws `TypeError: address must be a string` instead
I supply custom DNS `lookup` to precisely control the timeout. I am using https://github.com/szmarczak/cacheable-lookup. It works correctly in axios bef... | https://github.com/axios/axios/issues/6174 | https://github.com/axios/axios/pull/6175 | 1f73dcbbe0bb37f9e9908abb46a3c252536655c8 | f4f2b039dd38eb4829e8583caede4ed6d2dd59be | 2024-01-04T23:01:16Z | javascript | 2024-01-04T23:48:07Z |
closed | axios/axios | https://github.com/axios/axios | 6,131 | ["lib/helpers/combineURLs.js", "test/specs/defaults.spec.js"] | Regular Expression Denial of Service (ReDoS) in axios/axios | ### Describe the bug
Axios is vulnerable to Regular Expression Denial of Service (ReDoS). When a manipulated string is provided as input to the format method, the regular expression exhibits a time complexity of O(n^2). Server becomes unable to provide normal service due to the excessive cost and time wasted in proces... | https://github.com/axios/axios/issues/6131 | https://github.com/axios/axios/pull/6132 | 8befb86efb101ef9dc1d1c16d77d2bf42600727f | 5e7ad38fb0f819fceb19fb2ee5d5d38f56aa837d | 2023-12-14T02:23:13Z | javascript | 2023-12-26T20:29:26Z |
closed | axios/axios | https://github.com/axios/axios | 6,054 | ["lib/adapters/xhr.js", "lib/helpers/cookies.js", "lib/helpers/isURLSameOrigin.js", "lib/platform/browser/index.js", "lib/platform/common/utils.js", "lib/platform/index.js"] | FormData upload broken after update to msw v2 | ### Describe the bug
After upgrading msw from 1.x to 2.x `FormData` upload stopped working in tests. Looking at the debugging output, Axios doesn't append the `boundary` to the `Content-Type` header anymore.
The MSW team checked [1] this already on their side.
I tried to append the boundary manually to the heade... | https://github.com/axios/axios/issues/6054 | https://github.com/axios/axios/pull/6055 | f7adacdbaa569281253c8cfc623ad3f4dc909c60 | 3dc8369e505e32a4e12c22f154c55fd63ac67fbb | 2023-11-07T11:22:20Z | javascript | 2023-11-07T20:16:15Z |
closed | axios/axios | https://github.com/axios/axios | 5,844 | ["lib/adapters/adapters.js", "lib/defaults/index.js", "test/unit/adapters/adapters.js"] | Tests No Longer Passing since Upgrading to v1.5.0 | ### Describe the bug
After upgrading axios from 1.4.0 to 1.5.0, tests that use network calls all fail consistently.
In my tests, I use Vitetest with Pretender intercepting network calls. None of my network tests pass with axios `1.5.0`. I get the following error messages:
```javascript
code: 'ECONNREFUSED',
... | https://github.com/axios/axios/issues/5844 | https://github.com/axios/axios/pull/5919 | bc9af51b1886d1b3529617702f2a21a6c0ed5d92 | e4107797a7a1376f6209fbecfbbce73d3faa7859 | 2023-08-28T21:23:46Z | javascript | 2023-09-26T16:43:25Z |
closed | axios/axios | https://github.com/axios/axios | 5,825 | ["lib/core/Axios.js", "lib/defaults/index.js", "test/specs/defaults.spec.js", "test/specs/headers.spec.js"] | `axios.defaults.headers.common` not used on PATCH | ### Describe the issue
I set `axios.defaults.headers.common['Content-Type'] = 'application/json'`. When firing a `axios.patch` request (without a config), the request uses `application/x-www-form-urlencoded` instead.
### Example Code
```js
// This does not work as expected:
axios.defaults.headers.common['Con... | https://github.com/axios/axios/issues/5825 | https://github.com/axios/axios/pull/5832 | d8b4ca0ea5f2f05efa4edfe1e7684593f9f68273 | 8fda2766b1e6bcb72c3fabc146223083ef13ce17 | 2023-08-22T15:36:16Z | javascript | 2023-08-26T13:26:50Z |
closed | axios/axios | https://github.com/axios/axios | 5,768 | [".eslintrc.cjs", "lib/core/AxiosHeaders.js", "lib/utils.js", "test/unit/core/AxiosHeaders.js"] | Cannot assign to read only property 'set' of object '[object Object]' at setHeader | ### Describe the bug
Sending a request to a specific link that in response, one of his header names is "Set" will cause an "uncaughtException" that cannot be avoided, even by using interceptors, since the `setHeader` called before the interceptors for the response handling.
```
TypeError: Cannot assign to read o... | https://github.com/axios/axios/issues/5768 | https://github.com/axios/axios/pull/5831 | 3f53eb6960f05a1f88409c4b731a40de595cb825 | d8b4ca0ea5f2f05efa4edfe1e7684593f9f68273 | 2023-07-11T07:16:00Z | javascript | 2023-08-25T18:07:51Z |
closed | axios/axios | https://github.com/axios/axios | 5,748 | ["lib/adapters/http.js"] | New dns.lookup feature breaks compatibility with cacheable-lookup | ### Describe the bug
Since upgrading to `axios@1.4.0`, our usage of `cacheable-lookup` stopped working. I have identified that [this change](https://github.com/axios/axios/issues/5339) is the cause.
The reason is because the `lookup` option is now [explicitly included](https://github.com/axios/axios/pull/5339/files... | https://github.com/axios/axios/issues/5748 | https://github.com/axios/axios/pull/5836 | 8fda2766b1e6bcb72c3fabc146223083ef13ce17 | b3e327dcc9277bdce34c7ef57beedf644b00d628 | 2023-06-20T02:48:55Z | javascript | 2023-08-26T15:51:09Z |
closed | axios/axios | https://github.com/axios/axios | 5,543 | ["lib/platform/browser/classes/FormData.js"] | If the runtime environment does not have/support FormData and Blob. How should I do? | ### Describe the issue
I am developing a `axios-adapter-uniapp` for `uniapp`, when I apply it in `wechat miniprogram`, I got ` ReferenceError: FormData is not defined`.
It seems to be used in inside `axios`, and I couldn't Eliminate this influence.
The `axios-adapter-uniapp` work with `axios^0`, couldn't work wi... | https://github.com/axios/axios/issues/5543 | https://github.com/axios/axios/pull/5545 | c19f7bf770f90ae8307f4ea3104f227056912da1 | a6dfa72010db5ad52db8bd13c0f98e537e8fd05d | 2023-02-13T10:05:28Z | javascript | 2023-02-13T18:03:14Z |
closed | axios/axios | https://github.com/axios/axios | 5,520 | ["lib/adapters/http.js", "lib/core/AxiosHeaders.js", "package.json", "test/unit/adapters/axios.png", "test/unit/adapters/http.js"] | Error: Cannot calculate proper length in synchronous way. | ### Describe the bug
Relying on axios automatic serialization to create a form-data results in this error. The following lines are responsible of this error : https://github.com/axios/axios/blob/release/dist/node/axios.cjs#L2654 (mainly the `getLengthSync` function)
According to [form-data themselves](https://githu... | https://github.com/axios/axios/issues/5520 | https://github.com/axios/axios/pull/5521 | 08104c028c0f9353897b1b6691d74c440fd0c32d | 96d336f527619f21da012fe1f117eeb53e5a2120 | 2023-02-01T19:20:03Z | javascript | 2023-02-01T22:55:05Z |
closed | axios/axios | https://github.com/axios/axios | 5,501 | ["lib/core/AxiosHeaders.js"] | AxiosHeaders class type definitions expose a missing setAuthorization method | ### Describe the bug
I'm trying to create a basic request interceptor to set `Authorization` header. According to `axios` type definitions, I can use `config.headers.setAuthorization` method in my interceptor.
 in adapters/adapter.js can allow access to original a... | https://github.com/axios/axios/issues/5474 | https://github.com/axios/axios/pull/5324 | 9a414bb6c81796a95c6c7fe668637825458e8b6d | ca73eb878df0ae2dace81fe3a7f1fb5986231bf1 | 2023-01-17T11:20:51Z | javascript | 2023-08-26T17:42:25Z |
closed | axios/axios | https://github.com/axios/axios | 5,415 | ["index.d.cts", "index.d.ts", "test/module/test.js", "test/module/typings/cjs/index.ts", "test/module/typings/esm/index.ts"] | Broken `AxiosHeaders` typings | ### Describe the bug
`AxiosHeaders` types makes it so trying to call methods on the instance raises a `typescript` compilation error.
<img width="1142" alt="image" src="https://user-images.githubusercontent.com/476069/209943677-fa7775e7-0f23-4b86-88ae-ad28df8c0533.png">
`AxiosRequestConfig.headers` can be eith... | https://github.com/axios/axios/issues/5415 | https://github.com/axios/axios/pull/5420 | 8651bf17d499b47ebdfb72d31eb183814edc164b | 08119634a22f1d5b19f5c9ea0adccb6d3eebc3bc | 2022-12-29T11:41:32Z | javascript | 2023-01-06T00:02:08Z |
closed | axios/axios | https://github.com/axios/axios | 5,365 | ["index.d.cts", "index.d.ts", "lib/adapters/http.js", "test/unit/adapters/http.js"] | headers are not available in beforeRedirect | ### Describe the bug
According to the documentation the configuration option `beforeRedirect` should be called with response headers but it does not. Only the `options` parameter is passed to `beforeRedirect` (i.e. no `headers` parameter).
```typescript
// `beforeRedirect` defines a function that will be called... | https://github.com/axios/axios/issues/5365 | https://github.com/axios/axios/pull/5778 | 123f354b920f154a209ea99f76b7b2ef3d9ebbab | a1938ff073fcb0f89011f001dfbc1fa1dc995e39 | 2022-12-12T08:21:38Z | javascript | 2024-01-24T22:57:06Z |
closed | axios/axios | https://github.com/axios/axios | 5,346 | ["lib/adapters/http.js", "lib/platform/browser/index.js", "test/unit/adapters/http.js"] | AxiosError: unexpected end of file | ### Describe the bug
AxiosError: unexpected end of file
Was not present before 1.2.1
### To Reproduce
_No response_
### Code snippet
_No response_
### Expected behavior
_No response_
### Axios Version
1.2.1
### Adapter Version
_No response_
### Browser
_No response_
### Browser Version
_No response_
... | https://github.com/axios/axios/issues/5346 | https://github.com/axios/axios/pull/5353 | 56e9ca1a865099f75eb0e897e944883a36bddf48 | 1e58a659ec9b0653f4693508d748caa5a41bb1a2 | 2022-12-06T20:11:15Z | javascript | 2022-12-07T18:57:02Z |
closed | axios/axios | https://github.com/axios/axios | 5,315 | ["lib/adapters/http.js", "test/unit/adapters/http.js"] | Getting unreadable data in response from external API | ### Describe the issue
I've deployed successfully my backend to a serverless cloud service, but, unlike the local version, in the hosted app I'm getting an unreadable response rather than JSON as you can see below.
`"�\b �T�r�8���r�i�.~����FH�!�\t�01C���\\��*Y�T��e�{�=��{��NgY?_�]��Aӝ�.yQw?k/?��۬=�|��... | https://github.com/axios/axios/issues/5315 | https://github.com/axios/axios/pull/5306 | 786b113a40011faaee95da0b02eaa7de06944d7a | 9041c7d272a7d4c3ca416fcb12daf8e94240494d | 2022-11-27T12:57:10Z | javascript | 2022-12-01T14:22:20Z |
closed | axios/axios | https://github.com/axios/axios | 5,314 | ["lib/adapters/http.js", "test/unit/adapters/http.js"] | Getting 401 Unauthorized in v1.2.0 with same code that returned 200 with v1.1.3 | ### Describe the bug
A logon sequence works perfectly well with axios v1.1.3
Changing nothing more than axios from v1.1.3 to 1.2.0 now results in 401 Unauthorized
### To Reproduce
Unfortunately, I cannot reveal the entire log for security reasons
I have studied the detailed axios interceptor logs of a successful v... | https://github.com/axios/axios/issues/5314 | https://github.com/axios/axios/pull/5306 | 786b113a40011faaee95da0b02eaa7de06944d7a | 9041c7d272a7d4c3ca416fcb12daf8e94240494d | 2022-11-27T11:35:02Z | javascript | 2022-12-01T14:22:20Z |
closed | axios/axios | https://github.com/axios/axios | 5,313 | ["lib/adapters/http.js", "test/unit/adapters/http.js"] | Axios response data looks wierd in my powershell | ### Describe the bug
I try to fetching data using axios :
```js
const URL = "https://jsonplaceholder.typicode.com/users"
axios.get(URL)
.then((res) => console.log(res.data))
```
but when it's done and i try to access the result using pwsh or cmd :
;
var data = JSON.stringify({
"production_status": "",
"package_status": [],
"extra_status_reason": [],
"page": 1,
"limit": 1
});
var config = {
method: 'post',
url: 'https://example.com/',
headers: {
'Authorization': 'Bearer token'... | https://github.com/axios/axios/issues/5298 | https://github.com/axios/axios/pull/5306 | 786b113a40011faaee95da0b02eaa7de06944d7a | 9041c7d272a7d4c3ca416fcb12daf8e94240494d | 2022-11-23T10:48:27Z | javascript | 2022-12-01T14:22:20Z |
closed | axios/axios | https://github.com/axios/axios | 5,296 | ["lib/adapters/http.js", "test/unit/adapters/http.js"] | 1.2.0 transformResponse | ### Describe the bug
When upgrading from `1.2.0-alpha.1` to just `1.2.0` the config `transformResponse` sends data as binary instead of string.
### To Reproduce
_No response_
### Code snippet
_No response_
### Expected behavior
_No response_
### Axios Version
_No response_
### Adapter Version
_No response_
... | https://github.com/axios/axios/issues/5296 | https://github.com/axios/axios/pull/5306 | 786b113a40011faaee95da0b02eaa7de06944d7a | 9041c7d272a7d4c3ca416fcb12daf8e94240494d | 2022-11-22T22:31:27Z | javascript | 2022-12-01T14:22:20Z |
closed | axios/axios | https://github.com/axios/axios | 5,275 | [".eslintrc.cjs", "lib/adapters/http.js", "lib/env/classes/FormData.js", "lib/helpers/formDataToStream.js", "lib/helpers/readBlob.js", "lib/helpers/toFormData.js", "lib/utils.js", "package.json", "test/unit/adapters/http.js"] | Content-Length header is not set even if form-data uses knownLength property | ### Describe the bug
I need to send a big file of `~80MB` to a `lighthttp` server which accepts it as a form. For the purpose I use `form-data` since it is supported by `axios`. According to the documentation and several sources online the following should work:
```javascript
const formdata = require('form-data'... | https://github.com/axios/axios/issues/5275 | https://github.com/axios/axios/pull/5316 | 65e8d1e28ce829f47a837e45129730e541950d3c | 6ac574e00a06731288347acea1e8246091196953 | 2022-11-15T19:19:33Z | javascript | 2023-01-30T23:10:39Z |
closed | axios/axios | https://github.com/axios/axios | 5,264 | ["index.d.ts", "lib/adapters/adapters.js", "lib/adapters/http.js", "lib/adapters/index.js", "lib/adapters/xhr.js", "lib/core/dispatchRequest.js", "lib/defaults/index.js", "package.json", "test/typescript/axios.ts"] | Package subpath './lib/adapters/http' is not defined by "exports" | ### Describe the bug
Module http adapter is not beind exported, so I cannot force axios to use the http adapter instead of xhr
### To Reproduce
```js
const axios = require('axios');
const url = 'https://catfact.ninja/fact';
axios.get(url, {
adapter: require('axios/lib/adapters/http'),
}).then(console.l... | https://github.com/axios/axios/issues/5264 | https://github.com/axios/axios/pull/5277 | a3d901777bc06e78adae3081f694cdbf76241303 | d032edda08948f3f613ff34f32af49cad3aa74db | 2022-11-13T19:19:06Z | javascript | 2022-11-22T18:53:56Z |
closed | axios/axios | https://github.com/axios/axios | 5,263 | ["index.d.ts", "lib/adapters/adapters.js", "lib/adapters/http.js", "lib/adapters/index.js", "lib/adapters/xhr.js", "lib/core/dispatchRequest.js", "lib/defaults/index.js", "package.json", "test/typescript/axios.ts"] | Force axios to use the http adapter instead of xhr | ### Is your feature request related to a problem? Please describe.
I am creating a library that will mostly be used in electron projects. The library needs to perform http request to a localhost server that uses a self signed certificate, so I need to use https.Agent. The problem is, that axios uses the xhr adapter in... | https://github.com/axios/axios/issues/5263 | https://github.com/axios/axios/pull/5277 | a3d901777bc06e78adae3081f694cdbf76241303 | d032edda08948f3f613ff34f32af49cad3aa74db | 2022-11-13T13:56:49Z | javascript | 2022-11-22T18:53:56Z |
closed | axios/axios | https://github.com/axios/axios | 5,126 | ["index.js", "lib/axios.js", "lib/helpers/HttpStatusCode.js", "test/specs/instance.spec.js"] | Runtime aspect of `HttpStatusCode` missing from JavaScript files | ### Describe the bug
Apologies in advance if I've got the wrong end of the stick, but I think the [recent PR adding `HttpStatusCode`](https://github.com/axios/axios/issues/4889) missed out the runtime aspect of the new `enum`. (TypeScript enums aren't purely type information, they also include a runtime aspect.) For... | https://github.com/axios/axios/issues/5126 | https://github.com/axios/axios/pull/5345 | 981265dbf464de00e57c6e9eaaca051510fb6021 | 56e9ca1a865099f75eb0e897e944883a36bddf48 | 2022-10-14T12:55:42Z | javascript | 2022-12-06T20:34:48Z |
closed | axios/axios | https://github.com/axios/axios | 5,107 | ["README.md", "index.d.ts", "lib/helpers/buildURL.js", "lib/helpers/toFormData.js", "test/specs/helpers/buildURL.spec.js", "test/typescript/axios.ts"] | Re-add Pre 1.x Functionality for ParamsSerializer | #### Is your feature request related to a problem? Please describe.
No.
#### Describe the solution you'd like
#4734 Changed the entire behavior of the params serializer, breaking using any custom functionality on the consumer side. Add a boolean switch to mimic pre 1.x behavior (default is false) and send the para... | https://github.com/axios/axios/issues/5107 | https://github.com/axios/axios/pull/5108 | ef1c48a476f1712c6ae281407b301a75b83b6482 | b0ebf9fcacbab3e5a020a1a4d5d3837342d7dcd7 | 2022-10-12T05:06:14Z | javascript | 2022-10-15T13:01:59Z |
closed | axios/axios | https://github.com/axios/axios | 5,083 | ["index.d.ts", "lib/core/AxiosHeaders.js", "test/unit/core/AxiosHeaders.js", "test/unit/regression/bugs.js"] | AxiosHeaders get 'set-cookie' returns string instead of array | #### Describe the bug
With version 0.27.2 or older when reading the `response.headers['set-cookie']` it returned an array of cookies.
```
'set-cookie': [
'something=else; path=/; expires=Wed, 12 Apr 2023 12:05:15 GMT; samesite=lax; secure; httponly',
'something-ssr.sig=n4MlwVAaxQAxhbdJO5XbUpDw-lA; path=/; ... | https://github.com/axios/axios/issues/5083 | https://github.com/axios/axios/pull/5085 | 85740c3e7a1fa48346dfcbd4497f463ccb1c1b05 | 110ae9ae613068f4292be9fbd2bf0abf28a6377a | 2022-10-10T12:28:41Z | javascript | 2022-10-13T19:11:01Z |
closed | axios/axios | https://github.com/axios/axios | 5,079 | ["README.md", "lib/adapters/http.js", "test/unit/adapters/http.js"] | GET request with proxy doesn't work on v1.1.2 | #### Describe the bug
Making requests with proxy and an agent is broken on v1.x while its working on v0.27
#### To Reproduce
```
const axios = require("axios")
const https = require('https');
const agent = new https.Agent({
rejectUnauthorized: false,
keepAlive: true,
maxSockets: Infinity,
... | https://github.com/axios/axios/issues/5079 | https://github.com/axios/axios/pull/5097 | 83454a55f6274ee4d7b5cce6c608a62c5aa6b0cb | 717f476b0f19e51a1794b6a3409ceaa1fe9b456e | 2022-10-09T19:36:59Z | javascript | 2022-10-13T19:55:20Z |
closed | axios/axios | https://github.com/axios/axios | 5,070 | ["index.d.ts"] | Incorrect type definition for use method on AxiosInterceptorManager | #### Describe the bug
On the Interceptor section on README.md, where we are explaining the usage of the newly introduced `synchronous` and `runWhen` flags on `AxiosInterceptorOptions`, we are passing null for the optional parameters for example:
```javascript
axios.interceptors.request.use(function (config) {
c... | https://github.com/axios/axios/issues/5070 | https://github.com/axios/axios/pull/5071 | ae31394848f08df7e7d884b80bb7614d88e0aba5 | 448e1fcdec46eeea5e6031332cb3c0918000f3ed | 2022-10-09T06:59:50Z | javascript | 2022-10-30T17:06:29Z |
closed | axios/axios | https://github.com/axios/axios | 5,063 | ["index.d.ts", "lib/adapters/xhr.js"] | 1.1.2 onDownloadProgress callback function parameter is not same as 0.27.2, lost `target` field | #### Describe the bug
```
axiosJson.get('/msg/msg.json', {
onDownloadProgress: function( progress ){
console.log(progress);
}
});
```
in `0.27.2` `progress` is `ProgressEvent`

i... | https://github.com/axios/axios/issues/5063 | https://github.com/axios/axios/pull/5227 | 56fd6ba8214d569d487cf7a510a990620ba44ef6 | 9452f06aa99b17f3d6e2c9d3c1cdc91a2f2b8784 | 2022-10-08T08:40:10Z | javascript | 2022-11-07T18:24:23Z |
closed | axios/axios | https://github.com/axios/axios | 5,041 | [".github/ISSUE_TEMPLATE/---bug-report.md", ".github/ISSUE_TEMPLATE/---documentation.md", ".github/ISSUE_TEMPLATE/---feature-request.md", ".github/ISSUE_TEMPLATE/---support-or-usage-question.md", ".github/ISSUE_TEMPLATE/BUG_REPORT.yml", ".github/ISSUE_TEMPLATE/DOCUMENTATION.yml", ".github/ISSUE_TEMPLATE/FEATURE_REQUEST... | ✨ Add new issues template | <!-- Click "Preview" for a more readable version --
Please read and follow the instructions before submitting an issue:
- Read all our documentation, especially the [README](https://github.com/axios/axios/blob/master/README.md). It may contain information that helps you solve your issue.
- Ensure your issue isn'... | https://github.com/axios/axios/issues/5041 | https://github.com/axios/axios/pull/5061 | eedd9aafa505f7da5f99bb1eb983c3ff3f5929f8 | e7b3f553e9c208a4af46e9f59599c1fd72d16c2f | 2022-10-06T20:21:58Z | javascript | 2022-10-13T19:29:23Z |
closed | axios/axios | https://github.com/axios/axios | 5,028 | ["index.d.ts", "lib/core/AxiosHeaders.js", "test/unit/core/AxiosHeaders.js", "test/unit/regression/bugs.js"] | [1.0.0] Set-Cookie header in a response interceptor is not an array anymore | <!-- Click "Preview" for a more readable version --
Please read and follow the instructions before submitting an issue:
- Read all our documentation, especially the [README](https://github.com/axios/axios/blob/master/README.md). It may contain information that helps you solve your issue.
- Ensure your issue isn'... | https://github.com/axios/axios/issues/5028 | https://github.com/axios/axios/pull/5085 | 85740c3e7a1fa48346dfcbd4497f463ccb1c1b05 | 110ae9ae613068f4292be9fbd2bf0abf28a6377a | 2022-10-06T07:38:49Z | javascript | 2022-10-13T19:11:01Z |
closed | axios/axios | https://github.com/axios/axios | 5,015 | ["index.d.ts"] | Type definition of AxiosRequestConfig.signal is incompatible to nodejs AbortController.signal | Appears in `1.0.0`.
The nodejs TS definition of `AbortController.signal` is:
```typescript
/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */
interface AbortSignal {
/**
* Returns true if this AbortSignal'... | https://github.com/axios/axios/issues/5015 | https://github.com/axios/axios/pull/5021 | 3e4d52171e03f438da36fa726fc828b48a329dcd | e757e0e572cecac59db59587bcf00f1b18c2fd10 | 2022-10-05T13:31:53Z | javascript | 2022-10-06T06:09:45Z |
closed | axios/axios | https://github.com/axios/axios | 5,009 | ["index.d.ts", "test/typescript/axios.ts"] | Property 'clear' does not exist on type 'AxiosInterceptorManager<AxiosRequestConfig<any>> | <!-- Click "Preview" for a more readable version --
Please read and follow the instructions before submitting an issue:
- Read all our documentation, especially the [README](https://github.com/axios/axios/blob/master/README.md). It may contain information that helps you solve your issue.
- Ensure your issue isn'... | https://github.com/axios/axios/issues/5009 | https://github.com/axios/axios/pull/5010 | e757e0e572cecac59db59587bcf00f1b18c2fd10 | a6e40c3bb293a3607a327edb78ff5252a5497459 | 2022-10-05T10:41:05Z | javascript | 2022-10-06T06:16:27Z |
closed | axios/axios | https://github.com/axios/axios | 4,999 | ["lib/adapters/http.js", "test/unit/regression/bugs.js"] | After upgrade to 1.0 GET request with parameters in the url fail | Working request with Axios v1.0.0-alpha.1:
```
axios.get('https://git.somegit.com/api/v3/search/commits?q=sort:committer-date-desc merge:false repo:org/reponame&per_page=50&page=1
```
Same request with 1.0.0 fails with a 404. 1.0.0 was promoted today.
When I print the failed response it looks like something ... | https://github.com/axios/axios/issues/4999 | https://github.com/axios/axios/pull/5018 | d61dbede9578e21f04d5506a79727b3adfe23704 | 3e4d52171e03f438da36fa726fc828b48a329dcd | 2022-10-04T23:28:57Z | javascript | 2022-10-05T19:29:50Z |
closed | axios/axios | https://github.com/axios/axios | 4,940 | ["README.md"] | The documentation for the Axios Get Example shows the .then() method instead of the .finally() method | <!-- Click "Preview" for a more readable version --
If you found an area that needs clarification, feel free to open a PR or list the section/content that could be improved below
Don't remove any title of the issue template, or it will be treated as invalid by the bot.
⚠️👆 Feel free to refer to these instruct... | https://github.com/axios/axios/issues/4940 | https://github.com/axios/axios/pull/4942 | 5138c302bb98b4ea0a34fb03bf067c8219058ffd | 892c241773e7dda78a969ac1faa9b365e24f6cc8 | 2022-09-03T18:08:36Z | javascript | 2022-09-15T05:36:31Z |
closed | axios/axios | https://github.com/axios/axios | 4,873 | ["index.d.ts", "test/typescript/axios.ts"] | `use` method on `AxiosInterceptorManager` should not be generic | <!-- Click "Preview" for a more readable version --
Please read and follow the instructions before submitting an issue:
- Read all our documentation, especially the [README](https://github.com/axios/axios/blob/master/README.md). It may contain information that helps you solve your issue.
- Ensure your issue isn'... | https://github.com/axios/axios/issues/4873 | https://github.com/axios/axios/pull/4874 | b0710bf8a2fbb10992c7dc60a5ceb6e1bc8d4929 | 64906bd8866fd86369133cee461f75b8353176ba | 2022-07-21T22:12:33Z | javascript | 2022-09-26T19:11:29Z |
closed | axios/axios | https://github.com/axios/axios | 4,737 | ["lib/adapters/http.js", "test/unit/adapters/http.js"] | The timeoutErrorMessage property in config not work with Node.js | <!-- Click "Preview" for a more readable version --
Please read and follow the instructions before submitting an issue:
- Read all our documentation, especially the [README](https://github.com/axios/axios/blob/master/README.md). It may contain information that helps you solve your issue.
- Ensure your issue isn'... | https://github.com/axios/axios/issues/4737 | https://github.com/axios/axios/pull/4738 | 9bb016f95e6de871a44f3276fd06562704a0abb0 | a11f9501b823a167de7187ee542e4204ad1a517a | 2022-05-24T07:44:31Z | javascript | 2022-05-28T09:46:33Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.