Window Functions Test Run Report

DateSep 19, 2023 8:00
Duration8m 57s
Framework TestFlows 1.9.230315.1003122

Artifacts

Test artifacts can be found at https://altinity-test-reports.s3.amazonaws.com/index.html#clickhouse/22.8.15.25.altinitystable/6231175917/testflows/

Attributes

projectAltinity/ClickHouse
project.id159717931
packagehttps://s3.amazonaws.com/altinity-build-artifacts/265/6b52da82b6ca003e8ebd34ead5f4eabbc45d1cd6/package_aarch64/clickhouse-common-static_22.8.15.25.altinitystable_arm64.deb
version22.8.15.25.altinitystable
user.nameMyroTk
repositoryhttps://github.com/Altinity/clickhouse-regression
commit.hashc23ebf091e566342377fb79fbd78ac3f7a42e678
job.id6231175917
job.urlhttps://github.com/Altinity/ClickHouse/actions/runs/6231175917
archaarch64
stressFalse
localTrue
clickhouse_versionNone
clickhouse_binary_pathhttps://s3.amazonaws.com/altinity-build-artifacts/265/6b52da82b6ca003e8ebd34ead5f4eabbc45d1cd6/package_aarch64/clickhouse-common-static_22.8.15.25.altinitystable_arm64.deb
collect_service_logsTrue

Summary

97.8%OK
2.2%Known

Statistics

Units OK Fail XFail
Modules
1
1
Suites
39
39
Features
39
39
Scenarios
456
430
26
Checks
256
256
Examples
1418
1396
22
Steps
7589
7514
75

Known Fails

Test NameResultMessage
/window functions/tests/non distributed/frame clause/range frame/between current row and unbounded following modifying named windowXFail 172ms
range with named window is not supported
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 68, in feature
    Feature(run=load("window_functions.tests.range_frame", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1733, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1520, in between_current_row_and_unbounded_following_modifying_named_window
    execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py", line 140, in execute_query
    r = current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 780, in query
    assert False, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 49. DB::Exception: Received from localhost:9000. DB::Exception: Sizes of sort description and actions are mismatched. (LOGICAL_ERROR)
(query: SELECT * FROM (SELECT sum(unique1) over (w range between current row and unbounded following) AS sum,unique1, four FROM tenk1 WHERE unique1 < 10 WINDOW w AS (order by four)) ORDER BY unique1 FORMAT TabSeparatedWithNames
)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 780 in 'query'

772\|                  assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
776\|                  with Then("check if output has exception") if steps else NullStep():
777\|                      if "Exception:" in r.output:
778\|                          if raise_on_exception:
779\|                              raise QueryRuntimeException(r.output)
780\|>                         assert False, error(r.output)
781\|  
782\|          return r
783\|
/window functions/tests/non distributed/frame clause/range frame/between expr following and current row zero special caseXFail 164ms
known bug
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 68, in feature
    Feature(run=load("window_functions.tests.range_frame", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1733, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1347, in between_expr_following_and_current_row_zero_special_case
    execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py", line 140, in execute_query
    r = current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 780, in query
    assert False, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 36. DB::Exception: Received from localhost:9000. DB::Exception: Window frame 'RANGE BETWEEN 0 FOLLOWING AND CURRENT ROW' is invalid. (BAD_ARGUMENTS)
(query: SELECT number,sum(number) OVER (ORDER BY number RANGE BETWEEN 0 FOLLOWING AND CURRENT ROW) AS sum FROM values('number Int8', (1),(1),(2),(3)) FORMAT TabSeparatedWithNames
)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 780 in 'query'

772\|                  assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
776\|                  with Then("check if output has exception") if steps else NullStep():
777\|                      if "Exception:" in r.output:
778\|                          if raise_on_exception:
779\|                              raise QueryRuntimeException(r.output)
780\|>                         assert False, error(r.output)
781\|  
782\|          return r
783\|
/window functions/tests/non distributed/frame clause/range frame/between expr following and expr following without order by errorXFail 124ms
invalid error message
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 68, in feature
    Feature(run=load("window_functions.tests.range_frame", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1733, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1211, in between_expr_following_and_expr_following_without_order_by_error
    self.context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 772, in query
    assert message in r.output, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert message in r.output, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 36. DB::Exception: Received from localhost:9000. DB::Exception: The RANGE OFFSET window frame requires exactly one ORDER BY column, 0 given. (BAD_ARGUMENTS)
(query: SELECT number,sum(number) OVER (RANGE BETWEEN 1 FOLLOWING AND 1 FOLLOWING) FROM values('number Int8', (1),(1),(2),(3))
)

Assertion values
  assert message in r.output, error(r.output)
         ^ is 'Exception: Window frame'
  assert message in r.output, error(r.output)
                    ^ is 
  assert message in r.output, error(r.output)
                    ^ is = "Received exception from server (version 22.8.15):\nCode: 36. DB::Exception: Received from localhost:9000. DB::Exception: The RANGE OFFSET window frame requires exactly one ORDER BY column, 0 given. (BAD_ARGUMENTS)\n(query: SELECT number,sum(number) OVER (RANGE BETWEEN 1 FOLLOWING AND 1 FOLLOWING) FROM values('number Int8', (1),(1),(2),(3))\n)"
  assert message in r.output, error(r.output)
                 ^ is = False
  assert message in r.output, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 772 in 'query'

764\|          if exitcode is not None:
765\|              with Then(f"exitcode should be {exitcode}") if steps else NullStep():
766\|                  assert r.exitcode == exitcode, error(r.output)
767\|  
768\|          if message is not None:
769\|              with Then(
770\|                  f"output should contain message", description=message
771\|              ) if steps else NullStep():
772\|>                 assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
/window functions/tests/non distributed/frame clause/range frame/between expr following and expr preceding with order by zero special caseXFail 140ms
known bug
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 68, in feature
    Feature(run=load("window_functions.tests.range_frame", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1733, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1416, in between_expr_following_and_expr_preceding_with_order_by_zero_special_case
    execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py", line 140, in execute_query
    r = current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 780, in query
    assert False, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 36. DB::Exception: Received from localhost:9000. DB::Exception: Frame start offset 0 FOLLOWING does not precede the frame end offset 0 PRECEDING. (BAD_ARGUMENTS)
(query: SELECT number,sum(number) OVER (ORDER BY number RANGE BETWEEN 0 FOLLOWING AND 0 PRECEDING) AS sum FROM values('number Int8', (1),(1),(2),(3)) FORMAT TabSeparatedWithNames
)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 780 in 'query'

772\|                  assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
776\|                  with Then("check if output has exception") if steps else NullStep():
777\|                      if "Exception:" in r.output:
778\|                          if raise_on_exception:
779\|                              raise QueryRuntimeException(r.output)
780\|>                         assert False, error(r.output)
781\|  
782\|          return r
783\|
/window functions/tests/non distributed/frame clause/range frame/between expr following and expr preceding without order by errorXFail 122ms
invalid error message
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 68, in feature
    Feature(run=load("window_functions.tests.range_frame", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1733, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1228, in between_expr_following_and_expr_preceding_without_order_by_error
    self.context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 772, in query
    assert message in r.output, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert message in r.output, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 36. DB::Exception: Received from localhost:9000. DB::Exception: Frame start offset 0 FOLLOWING does not precede the frame end offset 0 PRECEDING. (BAD_ARGUMENTS)
(query: SELECT number,sum(number) OVER (RANGE BETWEEN 0 FOLLOWING AND 0 PRECEDING) FROM values('number Int8', (1),(1),(2),(3))
)

Assertion values
  assert message in r.output, error(r.output)
         ^ is 'Exception: Window frame'
  assert message in r.output, error(r.output)
                    ^ is 
  assert message in r.output, error(r.output)
                    ^ is = "Received exception from server (version 22.8.15):\nCode: 36. DB::Exception: Received from localhost:9000. DB::Exception: Frame start offset 0 FOLLOWING does not precede the frame end offset 0 PRECEDING. (BAD_ARGUMENTS)\n(query: SELECT number,sum(number) OVER (RANGE BETWEEN 0 FOLLOWING AND 0 PRECEDING) FROM values('number Int8', (1),(1),(2),(3))\n)"
  assert message in r.output, error(r.output)
                 ^ is = False
  assert message in r.output, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 772 in 'query'

764\|          if exitcode is not None:
765\|              with Then(f"exitcode should be {exitcode}") if steps else NullStep():
766\|                  assert r.exitcode == exitcode, error(r.output)
767\|  
768\|          if message is not None:
769\|              with Then(
770\|                  f"output should contain message", description=message
771\|              ) if steps else NullStep():
772\|>                 assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
/window functions/tests/non distributed/frame clause/range frame/order by decimalXFail 170ms
Exception: The RANGE OFFSET frame for 'DB::ColumnDecimal >' ORDER BY column is not implemented
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 68, in feature
    Feature(run=load("window_functions.tests.range_frame", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1733, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1649, in order_by_decimal
    execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py", line 140, in execute_query
    r = current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 780, in query
    assert False, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 48. DB::Exception: Received from localhost:9000. DB::Exception: The RANGE OFFSET frame for 'DB::ColumnDecimal >' ORDER BY column is not implemented. (NOT_IMPLEMENTED)
(query: select id, f_numeric, first_value(id) over w AS first_value, last_value(id) over w AS last_value
        from numerics
        window w as (order by f_numeric range between
                     1 preceding and 1 following)
         FORMAT TabSeparatedWithNames
)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 780 in 'query'

772\|                  assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
776\|                  with Then("check if output has exception") if steps else NullStep():
777\|                      if "Exception:" in r.output:
778\|                          if raise_on_exception:
779\|                              raise QueryRuntimeException(r.output)
780\|>                         assert False, error(r.output)
781\|  
782\|          return r
783\|
/window functions/tests/non distributed/frame clause/range frame/with nullsXFail 213ms
DB::Exception: The RANGE OFFSET frame for 'DB::ColumnNullable' ORDER BY column is not implemented
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 68, in feature
    Feature(run=load("window_functions.tests.range_frame", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1733, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1708, in with_nulls
    execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py", line 140, in execute_query
    r = current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 780, in query
    assert False, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 48. DB::Exception: Received from localhost:9000. DB::Exception: The RANGE OFFSET frame for 'DB::ColumnNullable' ORDER BY column is not implemented. (NOT_IMPLEMENTED)
(query: select x, y,
               first_value(y) over w AS first_value,
               last_value(y) over w AS last_value
        from
          (select number as x, x as y from numbers(1,5)
           union all select null, 42
           union all select null, 43)
        window w as
          (order by x asc nulls first range between 2 preceding and 2 following)
         FORMAT TabSeparatedWithNames
)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 780 in 'query'

772\|                  assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
776\|                  with Then("check if output has exception") if steps else NullStep():
777\|                      if "Exception:" in r.output:
778\|                          if raise_on_exception:
779\|                              raise QueryRuntimeException(r.output)
780\|>                         assert False, error(r.output)
781\|  
782\|          return r
783\|
/window functions/tests/non distributed/frame clause/range overflow/negative overflow with Int16XFail 153ms
exception on conversion
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 69, in feature
    Feature(run=load("window_functions.tests.range_overflow", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_overflow.py", line 145, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_overflow.py", line 42, in negative_overflow_with_Int16
    execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py", line 140, in execute_query
    r = current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 780, in query
    assert False, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 69. DB::Exception: Received from localhost:9000. DB::Exception: Cannot convert value '2147450885': it cannot be represented as Int16. (ARGUMENT_OUT_OF_BOUND)
(query: select number as x, last_value(x) over (order by toInt16(x) desc range between current row and 2147450885 following) as last_value
        from (SELECT -number - 32763 AS number FROM numbers(1, 3))
         FORMAT TabSeparatedWithNames
)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 780 in 'query'

772\|                  assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
776\|                  with Then("check if output has exception") if steps else NullStep():
777\|                      if "Exception:" in r.output:
778\|                          if raise_on_exception:
779\|                              raise QueryRuntimeException(r.output)
780\|>                         assert False, error(r.output)
781\|  
782\|          return r
783\|
/window functions/tests/non distributed/frame clause/range overflow/positive overflow with Int16XFail 157ms
exception on conversion
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 69, in feature
    Feature(run=load("window_functions.tests.range_overflow", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_overflow.py", line 145, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_overflow.py", line 20, in positive_overflow_with_Int16
    execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py", line 140, in execute_query
    r = current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 780, in query
    assert False, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 69. DB::Exception: Received from localhost:9000. DB::Exception: Cannot convert value '2147450884': it cannot be represented as Int16. (ARGUMENT_OUT_OF_BOUND)
(query: select number as x, last_value(x) over (order by toInt16(x) range between current row and 2147450884 following) AS last_value
        from numbers(32764, 3)
         FORMAT TabSeparatedWithNames
)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 780 in 'query'

772\|                  assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
776\|                  with Then("check if output has exception") if steps else NullStep():
777\|                      if "Exception:" in r.output:
778\|                          if raise_on_exception:
779\|                              raise QueryRuntimeException(r.output)
780\|>                         assert False, error(r.output)
781\|  
782\|          return r
783\|
/window functions/tests/non distributed/frame clause/range errors/error negative following offsetXFail 120ms
https://github.com/ClickHouse/ClickHouse/issues/22442
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 71, in feature
    Feature(run=load("window_functions.tests.range_errors", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_errors.py", line 114, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_errors.py", line 105, in error_negative_following_offset
    r = current().context.node.query(sql, exitcode=exitcode, message=message)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 772, in query
    assert message in r.output, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert message in r.output, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 36. DB::Exception: Received from localhost:9000. DB::Exception: Window frame start offset must be nonnegative, -2 given. (BAD_ARGUMENTS)
(query: select max(enroll_date) over (order by salary range between 1 preceding and -2 following) AS max, salary, enroll_date from empsalary
)

Assertion values
  assert message in r.output, error(r.output)
         ^ is 'DB::Exception: Frame end offset must be greater than zero, -2 given'
  assert message in r.output, error(r.output)
                    ^ is 
  assert message in r.output, error(r.output)
                    ^ is = 'Received exception from server (version 22.8.15):\nCode: 36. DB::Exception: Received from localhost:9000. DB::Exception: Window frame start offset must be nonnegative, -2 given. (BAD_ARGUMENTS)\n(query: select max(enroll_date) over (order by salary range between 1 preceding and -2 following) AS max, salary, enroll_date from empsalary\n)'
  assert message in r.output, error(r.output)
                 ^ is = False
  assert message in r.output, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 772 in 'query'

764\|          if exitcode is not None:
765\|              with Then(f"exitcode should be {exitcode}") if steps else NullStep():
766\|                  assert r.exitcode == exitcode, error(r.output)
767\|  
768\|          if message is not None:
769\|              with Then(
770\|                  f"output should contain message", description=message
771\|              ) if steps else NullStep():
772\|>                 assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
/window functions/tests/non distributed/frame clause/range errors/error negative preceding offsetXFail 166ms
https://github.com/ClickHouse/ClickHouse/issues/22442
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 71, in feature
    Feature(run=load("window_functions.tests.range_errors", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_errors.py", line 114, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_errors.py", line 89, in error_negative_preceding_offset
    r = current().context.node.query(sql, exitcode=exitcode, message=message)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 772, in query
    assert message in r.output, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert message in r.output, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 36. DB::Exception: Received from localhost:9000. DB::Exception: Window frame start offset must be nonnegative, -1 given. (BAD_ARGUMENTS)
(query: select max(enroll_date) over (order by salary range between -1 preceding and 2 following) AS max, salary, enroll_date from empsalary
)

Assertion values
  assert message in r.output, error(r.output)
         ^ is 'DB::Exception: Frame start offset must be greater than zero, -1 given'
  assert message in r.output, error(r.output)
                    ^ is 
  assert message in r.output, error(r.output)
                    ^ is = 'Received exception from server (version 22.8.15):\nCode: 36. DB::Exception: Received from localhost:9000. DB::Exception: Window frame start offset must be nonnegative, -1 given. (BAD_ARGUMENTS)\n(query: select max(enroll_date) over (order by salary range between -1 preceding and 2 following) AS max, salary, enroll_date from empsalary\n)'
  assert message in r.output, error(r.output)
                 ^ is = False
  assert message in r.output, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 772 in 'query'

764\|          if exitcode is not None:
765\|              with Then(f"exitcode should be {exitcode}") if steps else NullStep():
766\|                  assert r.exitcode == exitcode, error(r.output)
767\|  
768\|          if message is not None:
769\|              with Then(
770\|                  f"output should contain message", description=message
771\|              ) if steps else NullStep():
772\|>                 assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
/window functions/tests/distributed/frame clause/range frame/between current row and unbounded following modifying named windowXFail 125ms
range with named window is not supported
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 68, in feature
    Feature(run=load("window_functions.tests.range_frame", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1733, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1520, in between_current_row_and_unbounded_following_modifying_named_window
    execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py", line 152, in execute_query
    assert r.output.strip() == expected, error()
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert r.output.strip() == expected, error()

Assertion values
  assert r.output.strip() == expected, error()
         ^ is 
  assert r.output.strip() == expected, error()
         ^ is = 'sum\tunique1\tfour\n45\t0\t0\n33\t1\t1\n18\t2\t2\n10\t3\t3\n45\t4\t0\n33\t5\t1\n18\t6\t2\n10\t7\t3\n45\t8\t0\n33\t9\t1'
  assert r.output.strip() == expected, error()
         ^ is 'sum\tunique1\tfour\n45\t0\t0\n33\t1\t1\n18\t2\t2\n10\t3\t3\n45\t4\t0\n33\t5\t1\n18\t6\t2\n10\t7\t3\n45\t8\t0\n33\t9\t1'
  assert r.output.strip() == expected, error()
         ^ is = 
  assert r.output.strip() == expected, error()
         ^ is = 'sum\tunique1\tfour\n45\t0\t0\n33\t1\t1\n18\t2\t2\n10\t3\t3\n45\t4\t0\n33\t5\t1\n18\t6\t2\n10\t7\t3\n45\t8\t0\n33\t9\t1'
  assert r.output.strip() == expected, error()
                             ^ is 'sum\tunique1\tfour\n45\t0\t0\n45\t8\t0\n45\t4\t0\n33\t5\t1\n33\t9\t1\n33\t1\t1\n18\t6\t2\n18\t2\t2\n10\t3\t3\n10\t7\t3'
  assert r.output.strip() == expected, error()
                          ^ is = False
    @@ -2,0 +3,4 @@
    +45 8   0
    +45 4   0
    +33 5   1
    +33 9   1
    @@ -3,0 +8 @@
    +18 6   2
    @@ -6,3 +10,0 @@
    -45 4   0
    -33 5   1
    -18 6   2
    @@ -10,2 +11,0 @@
    -45 8   0
    -33 9   1
  assert r.output.strip() == expected, error()
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py', line 152 in 'execute_query'

144\|              no_checks=no_checks,
145\|          )
146\|          if no_checks:
147\|              return r
148\|  
149\|      if message is None:
150\|          if expected is not None:
151\|              with Then("I check output against expected"):
152\|>                 assert r.output.strip() == expected, error()
153\|          else:
154\|              with Then("I check output against snapshot"):
155\|                  with values() as that:
/window functions/tests/distributed/frame clause/range frame/between expr following and current row zero special caseXFail 127ms
known bug
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 68, in feature
    Feature(run=load("window_functions.tests.range_frame", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1733, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1347, in between_expr_following_and_current_row_zero_special_case
    execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py", line 140, in execute_query
    r = current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 780, in query
    assert False, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 36. DB::Exception: Received from localhost:9000. DB::Exception: Window frame 'RANGE BETWEEN 0 FOLLOWING AND CURRENT ROW' is invalid. (BAD_ARGUMENTS)
(query: SELECT number,sum(number) OVER (ORDER BY number RANGE BETWEEN 0 FOLLOWING AND CURRENT ROW) AS sum FROM values('number Int8', (1),(1),(2),(3)) FORMAT TabSeparatedWithNames
)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 780 in 'query'

772\|                  assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
776\|                  with Then("check if output has exception") if steps else NullStep():
777\|                      if "Exception:" in r.output:
778\|                          if raise_on_exception:
779\|                              raise QueryRuntimeException(r.output)
780\|>                         assert False, error(r.output)
781\|  
782\|          return r
783\|
/window functions/tests/distributed/frame clause/range frame/between expr following and expr following without order by errorXFail 167ms
invalid error message
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 68, in feature
    Feature(run=load("window_functions.tests.range_frame", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1733, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1211, in between_expr_following_and_expr_following_without_order_by_error
    self.context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 772, in query
    assert message in r.output, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert message in r.output, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 36. DB::Exception: Received from localhost:9000. DB::Exception: The RANGE OFFSET window frame requires exactly one ORDER BY column, 0 given. (BAD_ARGUMENTS)
(query: SELECT number,sum(number) OVER (RANGE BETWEEN 1 FOLLOWING AND 1 FOLLOWING) FROM values('number Int8', (1),(1),(2),(3))
)

Assertion values
  assert message in r.output, error(r.output)
         ^ is 'Exception: Window frame'
  assert message in r.output, error(r.output)
                    ^ is 
  assert message in r.output, error(r.output)
                    ^ is = "Received exception from server (version 22.8.15):\nCode: 36. DB::Exception: Received from localhost:9000. DB::Exception: The RANGE OFFSET window frame requires exactly one ORDER BY column, 0 given. (BAD_ARGUMENTS)\n(query: SELECT number,sum(number) OVER (RANGE BETWEEN 1 FOLLOWING AND 1 FOLLOWING) FROM values('number Int8', (1),(1),(2),(3))\n)"
  assert message in r.output, error(r.output)
                 ^ is = False
  assert message in r.output, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 772 in 'query'

764\|          if exitcode is not None:
765\|              with Then(f"exitcode should be {exitcode}") if steps else NullStep():
766\|                  assert r.exitcode == exitcode, error(r.output)
767\|  
768\|          if message is not None:
769\|              with Then(
770\|                  f"output should contain message", description=message
771\|              ) if steps else NullStep():
772\|>                 assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
/window functions/tests/distributed/frame clause/range frame/between expr following and expr preceding with order by zero special caseXFail 125ms
known bug
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 68, in feature
    Feature(run=load("window_functions.tests.range_frame", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1733, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1416, in between_expr_following_and_expr_preceding_with_order_by_zero_special_case
    execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py", line 140, in execute_query
    r = current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 780, in query
    assert False, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 36. DB::Exception: Received from localhost:9000. DB::Exception: Frame start offset 0 FOLLOWING does not precede the frame end offset 0 PRECEDING. (BAD_ARGUMENTS)
(query: SELECT number,sum(number) OVER (ORDER BY number RANGE BETWEEN 0 FOLLOWING AND 0 PRECEDING) AS sum FROM values('number Int8', (1),(1),(2),(3)) FORMAT TabSeparatedWithNames
)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 780 in 'query'

772\|                  assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
776\|                  with Then("check if output has exception") if steps else NullStep():
777\|                      if "Exception:" in r.output:
778\|                          if raise_on_exception:
779\|                              raise QueryRuntimeException(r.output)
780\|>                         assert False, error(r.output)
781\|  
782\|          return r
783\|
/window functions/tests/distributed/frame clause/range frame/between expr following and expr preceding without order by errorXFail 184ms
invalid error message
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 68, in feature
    Feature(run=load("window_functions.tests.range_frame", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1733, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1228, in between_expr_following_and_expr_preceding_without_order_by_error
    self.context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 772, in query
    assert message in r.output, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert message in r.output, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 36. DB::Exception: Received from localhost:9000. DB::Exception: Frame start offset 0 FOLLOWING does not precede the frame end offset 0 PRECEDING. (BAD_ARGUMENTS)
(query: SELECT number,sum(number) OVER (RANGE BETWEEN 0 FOLLOWING AND 0 PRECEDING) FROM values('number Int8', (1),(1),(2),(3))
)

Assertion values
  assert message in r.output, error(r.output)
         ^ is 'Exception: Window frame'
  assert message in r.output, error(r.output)
                    ^ is 
  assert message in r.output, error(r.output)
                    ^ is = "Received exception from server (version 22.8.15):\nCode: 36. DB::Exception: Received from localhost:9000. DB::Exception: Frame start offset 0 FOLLOWING does not precede the frame end offset 0 PRECEDING. (BAD_ARGUMENTS)\n(query: SELECT number,sum(number) OVER (RANGE BETWEEN 0 FOLLOWING AND 0 PRECEDING) FROM values('number Int8', (1),(1),(2),(3))\n)"
  assert message in r.output, error(r.output)
                 ^ is = False
  assert message in r.output, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 772 in 'query'

764\|          if exitcode is not None:
765\|              with Then(f"exitcode should be {exitcode}") if steps else NullStep():
766\|                  assert r.exitcode == exitcode, error(r.output)
767\|  
768\|          if message is not None:
769\|              with Then(
770\|                  f"output should contain message", description=message
771\|              ) if steps else NullStep():
772\|>                 assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
/window functions/tests/distributed/frame clause/range frame/order by decimalXFail 160ms
Exception: The RANGE OFFSET frame for 'DB::ColumnDecimal >' ORDER BY column is not implemented
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 68, in feature
    Feature(run=load("window_functions.tests.range_frame", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1733, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1649, in order_by_decimal
    execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py", line 140, in execute_query
    r = current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 780, in query
    assert False, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 48. DB::Exception: Received from localhost:9000. DB::Exception: The RANGE OFFSET frame for 'DB::ColumnDecimal >' ORDER BY column is not implemented. (NOT_IMPLEMENTED)
(query: select id, f_numeric, first_value(id) over w AS first_value, last_value(id) over w AS last_value
        from numerics
        window w as (order by f_numeric range between
                     1 preceding and 1 following)
         FORMAT TabSeparatedWithNames
)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 780 in 'query'

772\|                  assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
776\|                  with Then("check if output has exception") if steps else NullStep():
777\|                      if "Exception:" in r.output:
778\|                          if raise_on_exception:
779\|                              raise QueryRuntimeException(r.output)
780\|>                         assert False, error(r.output)
781\|  
782\|          return r
783\|
/window functions/tests/distributed/frame clause/range frame/with nullsXFail 206ms
DB::Exception: The RANGE OFFSET frame for 'DB::ColumnNullable' ORDER BY column is not implemented
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 68, in feature
    Feature(run=load("window_functions.tests.range_frame", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1733, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_frame.py", line 1708, in with_nulls
    execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py", line 140, in execute_query
    r = current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 780, in query
    assert False, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 48. DB::Exception: Received from localhost:9000. DB::Exception: The RANGE OFFSET frame for 'DB::ColumnNullable' ORDER BY column is not implemented. (NOT_IMPLEMENTED)
(query: select x, y,
               first_value(y) over w AS first_value,
               last_value(y) over w AS last_value
        from
          (select number as x, x as y from numbers(1,5)
           union all select null, 42
           union all select null, 43)
        window w as
          (order by x asc nulls first range between 2 preceding and 2 following)
         FORMAT TabSeparatedWithNames
)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 780 in 'query'

772\|                  assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
776\|                  with Then("check if output has exception") if steps else NullStep():
777\|                      if "Exception:" in r.output:
778\|                          if raise_on_exception:
779\|                              raise QueryRuntimeException(r.output)
780\|>                         assert False, error(r.output)
781\|  
782\|          return r
783\|
/window functions/tests/distributed/frame clause/range overflow/negative overflow with Int16XFail 179ms
exception on conversion
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 69, in feature
    Feature(run=load("window_functions.tests.range_overflow", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_overflow.py", line 145, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_overflow.py", line 42, in negative_overflow_with_Int16
    execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py", line 140, in execute_query
    r = current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 780, in query
    assert False, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 69. DB::Exception: Received from localhost:9000. DB::Exception: Cannot convert value '2147450885': it cannot be represented as Int16. (ARGUMENT_OUT_OF_BOUND)
(query: select number as x, last_value(x) over (order by toInt16(x) desc range between current row and 2147450885 following) as last_value
        from (SELECT -number - 32763 AS number FROM numbers(1, 3))
         FORMAT TabSeparatedWithNames
)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 780 in 'query'

772\|                  assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
776\|                  with Then("check if output has exception") if steps else NullStep():
777\|                      if "Exception:" in r.output:
778\|                          if raise_on_exception:
779\|                              raise QueryRuntimeException(r.output)
780\|>                         assert False, error(r.output)
781\|  
782\|          return r
783\|
/window functions/tests/distributed/frame clause/range overflow/positive overflow with Int16XFail 127ms
exception on conversion
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 69, in feature
    Feature(run=load("window_functions.tests.range_overflow", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_overflow.py", line 145, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_overflow.py", line 20, in positive_overflow_with_Int16
    execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py", line 140, in execute_query
    r = current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 780, in query
    assert False, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 69. DB::Exception: Received from localhost:9000. DB::Exception: Cannot convert value '2147450884': it cannot be represented as Int16. (ARGUMENT_OUT_OF_BOUND)
(query: select number as x, last_value(x) over (order by toInt16(x) range between current row and 2147450884 following) AS last_value
        from numbers(32764, 3)
         FORMAT TabSeparatedWithNames
)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 780 in 'query'

772\|                  assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
776\|                  with Then("check if output has exception") if steps else NullStep():
777\|                      if "Exception:" in r.output:
778\|                          if raise_on_exception:
779\|                              raise QueryRuntimeException(r.output)
780\|>                         assert False, error(r.output)
781\|  
782\|          return r
783\|
/window functions/tests/distributed/frame clause/range datetime/order by asc range between days preceding and days followingXFail 142ms
https://github.com/ClickHouse/ClickHouse/issues/23902
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 70, in feature
    Feature(run=load("window_functions.tests.range_datetime", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_datetime.py", line 264, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_datetime.py", line 29, in order_by_asc_range_between_days_preceding_and_days_following
    execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py", line 140, in execute_query
    r = current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 780, in query
    assert False, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 10. DB::Exception: Received from localhost:9000. DB::Exception: Not found column empno in block. There are only columns: salary, enroll_date, sum(salary) OVER (ORDER BY enroll_date ASC RANGE BETWEEN 365 PRECEDING AND 365 FOLLOWING). (NOT_FOUND_COLUMN_IN_BLOCK)
(query: select sum(salary) over (order by enroll_date range between 365 preceding and 365 following) AS sum, salary, enroll_date from empsalary order by empno FORMAT TabSeparatedWithNames
)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 780 in 'query'

772\|                  assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
776\|                  with Then("check if output has exception") if steps else NullStep():
777\|                      if "Exception:" in r.output:
778\|                          if raise_on_exception:
779\|                              raise QueryRuntimeException(r.output)
780\|>                         assert False, error(r.output)
781\|  
782\|          return r
783\|
/window functions/tests/distributed/frame clause/range datetime/order by desc range between days following and days followingXFail 188ms
https://github.com/ClickHouse/ClickHouse/issues/23902
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 70, in feature
    Feature(run=load("window_functions.tests.range_datetime", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_datetime.py", line 264, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_datetime.py", line 86, in order_by_desc_range_between_days_following_and_days_following
    execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py", line 140, in execute_query
    r = current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 780, in query
    assert False, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 10. DB::Exception: Received from localhost:9000. DB::Exception: Not found column empno in block. There are only columns: salary, enroll_date, sum(salary) OVER (ORDER BY enroll_date DESC RANGE BETWEEN 365 FOLLOWING AND 365 FOLLOWING). (NOT_FOUND_COLUMN_IN_BLOCK)
(query: select sum(salary) over (order by enroll_date desc range between 365 following and 365 following) AS sum, salary, enroll_date from empsalary order by empno FORMAT TabSeparatedWithNames
)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 780 in 'query'

772\|                  assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
776\|                  with Then("check if output has exception") if steps else NullStep():
777\|                      if "Exception:" in r.output:
778\|                          if raise_on_exception:
779\|                              raise QueryRuntimeException(r.output)
780\|>                         assert False, error(r.output)
781\|  
782\|          return r
783\|
/window functions/tests/distributed/frame clause/range datetime/order by desc range between days preceding and days followingXFail 136ms
https://github.com/ClickHouse/ClickHouse/issues/23902
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 70, in feature
    Feature(run=load("window_functions.tests.range_datetime", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_datetime.py", line 264, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_datetime.py", line 57, in order_by_desc_range_between_days_preceding_and_days_following
    execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py", line 140, in execute_query
    r = current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 780, in query
    assert False, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 10. DB::Exception: Received from localhost:9000. DB::Exception: Not found column empno in block. There are only columns: salary, enroll_date, sum(salary) OVER (ORDER BY enroll_date DESC RANGE BETWEEN 365 PRECEDING AND 365 FOLLOWING). (NOT_FOUND_COLUMN_IN_BLOCK)
(query: select sum(salary) over (order by enroll_date desc range between 365 preceding and 365 following) AS sum, salary, enroll_date from empsalary order by empno FORMAT TabSeparatedWithNames
)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 780 in 'query'

772\|                  assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
776\|                  with Then("check if output has exception") if steps else NullStep():
777\|                      if "Exception:" in r.output:
778\|                          if raise_on_exception:
779\|                              raise QueryRuntimeException(r.output)
780\|>                         assert False, error(r.output)
781\|  
782\|          return r
783\|
/window functions/tests/distributed/frame clause/range datetime/order by desc range between days preceding and days precedingXFail 166ms
https://github.com/ClickHouse/ClickHouse/issues/23902
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 70, in feature
    Feature(run=load("window_functions.tests.range_datetime", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_datetime.py", line 264, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_datetime.py", line 115, in order_by_desc_range_between_days_preceding_and_days_preceding
    execute_query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/common.py", line 140, in execute_query
    r = current().context.node.query(
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 780, in query
    assert False, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert False, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 10. DB::Exception: Received from localhost:9000. DB::Exception: Not found column empno in block. There are only columns: salary, enroll_date, sum(salary) OVER (ORDER BY enroll_date DESC RANGE BETWEEN 365 PRECEDING AND 365 PRECEDING). (NOT_FOUND_COLUMN_IN_BLOCK)
(query: select sum(salary) over (order by enroll_date desc range between 365 preceding and 365 preceding) AS sum, salary, enroll_date from empsalary order by empno FORMAT TabSeparatedWithNames
)

Assertion values
  assert False, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 780 in 'query'

772\|                  assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
776\|                  with Then("check if output has exception") if steps else NullStep():
777\|                      if "Exception:" in r.output:
778\|                          if raise_on_exception:
779\|                              raise QueryRuntimeException(r.output)
780\|>                         assert False, error(r.output)
781\|  
782\|          return r
783\|
/window functions/tests/distributed/frame clause/range errors/error negative following offsetXFail 151ms
https://github.com/ClickHouse/ClickHouse/issues/22442
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 71, in feature
    Feature(run=load("window_functions.tests.range_errors", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_errors.py", line 114, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_errors.py", line 105, in error_negative_following_offset
    r = current().context.node.query(sql, exitcode=exitcode, message=message)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 772, in query
    assert message in r.output, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert message in r.output, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 36. DB::Exception: Received from localhost:9000. DB::Exception: Window frame start offset must be nonnegative, -2 given. (BAD_ARGUMENTS)
(query: select max(enroll_date) over (order by salary range between 1 preceding and -2 following) AS max, salary, enroll_date from empsalary
)

Assertion values
  assert message in r.output, error(r.output)
         ^ is 'DB::Exception: Frame end offset must be greater than zero, -2 given'
  assert message in r.output, error(r.output)
                    ^ is 
  assert message in r.output, error(r.output)
                    ^ is = 'Received exception from server (version 22.8.15):\nCode: 36. DB::Exception: Received from localhost:9000. DB::Exception: Window frame start offset must be nonnegative, -2 given. (BAD_ARGUMENTS)\n(query: select max(enroll_date) over (order by salary range between 1 preceding and -2 following) AS max, salary, enroll_date from empsalary\n)'
  assert message in r.output, error(r.output)
                 ^ is = False
  assert message in r.output, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 772 in 'query'

764\|          if exitcode is not None:
765\|              with Then(f"exitcode should be {exitcode}") if steps else NullStep():
766\|                  assert r.exitcode == exitcode, error(r.output)
767\|  
768\|          if message is not None:
769\|              with Then(
770\|                  f"output should contain message", description=message
771\|              ) if steps else NullStep():
772\|>                 assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:
/window functions/tests/distributed/frame clause/range errors/error negative preceding offsetXFail 126ms
https://github.com/ClickHouse/ClickHouse/issues/22442
AssertionError
Traceback (most recent call last):
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 228, in 
    regression()
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/regression.py", line 224, in regression
    Feature(run=load("window_functions.tests.feature", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/feature.py", line 72, in feature
    Feature(run=load("window_functions.tests.frame_clause", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/frame_clause.py", line 71, in feature
    Feature(run=load("window_functions.tests.range_errors", "feature"), flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_errors.py", line 114, in feature
    Scenario(run=scenario, flags=TE)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../window_functions/tests/range_errors.py", line 89, in error_negative_preceding_offset
    r = current().context.node.query(sql, exitcode=exitcode, message=message)
  File "/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py", line 772, in query
    assert message in r.output, error(r.output)
AssertionError: Oops! Assertion failed

The following assertion was not satisfied
  assert message in r.output, error(r.output)

Description
  Received exception from server (version 22.8.15):
Code: 36. DB::Exception: Received from localhost:9000. DB::Exception: Window frame start offset must be nonnegative, -1 given. (BAD_ARGUMENTS)
(query: select max(enroll_date) over (order by salary range between -1 preceding and 2 following) AS max, salary, enroll_date from empsalary
)

Assertion values
  assert message in r.output, error(r.output)
         ^ is 'DB::Exception: Frame start offset must be greater than zero, -1 given'
  assert message in r.output, error(r.output)
                    ^ is 
  assert message in r.output, error(r.output)
                    ^ is = 'Received exception from server (version 22.8.15):\nCode: 36. DB::Exception: Received from localhost:9000. DB::Exception: Window frame start offset must be nonnegative, -1 given. (BAD_ARGUMENTS)\n(query: select max(enroll_date) over (order by salary range between -1 preceding and 2 following) AS max, salary, enroll_date from empsalary\n)'
  assert message in r.output, error(r.output)
                 ^ is = False
  assert message in r.output, error(r.output)
  ^ is False

Where
  File '/home/ubuntu/_work/ClickHouse/ClickHouse/window_functions/../helpers/cluster.py', line 772 in 'query'

764\|          if exitcode is not None:
765\|              with Then(f"exitcode should be {exitcode}") if steps else NullStep():
766\|                  assert r.exitcode == exitcode, error(r.output)
767\|  
768\|          if message is not None:
769\|              with Then(
770\|                  f"output should contain message", description=message
771\|              ) if steps else NullStep():
772\|>                 assert message in r.output, error(r.output)
773\|  
774\|          if not ignore_exception:
775\|              if message is None or "Exception:" not in message:

Results

Test Name Result Duration
/window functions OK 8m 57s
/window functions/tests OK 6m 36s
/window functions/tests/non distributed OK 3m 10s
/window functions/tests/non distributed/window spec OK 895ms
/window functions/tests/non distributed/window spec/empty OK 105ms
/window functions/tests/non distributed/window spec/frame clause OK 96ms
/window functions/tests/non distributed/window spec/order by with frame OK 108ms
/window functions/tests/non distributed/window spec/orderby clause OK 120ms
/window functions/tests/non distributed/window spec/partition clause OK 120ms
/window functions/tests/non distributed/window spec/partition with frame OK 120ms
/window functions/tests/non distributed/window spec/partition with order by OK 118ms
/window functions/tests/non distributed/window spec/partition with order by and frame OK 99ms
/window functions/tests/non distributed/partition clause OK 455ms
/window functions/tests/non distributed/partition clause/invalid expr error OK 120ms
/window functions/tests/non distributed/partition clause/missing expr error OK 102ms
/window functions/tests/non distributed/partition clause/multiple expr OK 110ms
/window functions/tests/non distributed/partition clause/single expr OK 118ms
/window functions/tests/non distributed/order clause OK 1s 313ms
/window functions/tests/non distributed/order clause/by a non integer constant OK 115ms
/window functions/tests/non distributed/order clause/by column OK 136ms
/window functions/tests/non distributed/order clause/by expr OK 129ms
/window functions/tests/non distributed/order clause/by expr with aggregates OK 119ms
/window functions/tests/non distributed/order clause/invalid expr error OK 111ms
/window functions/tests/non distributed/order clause/missing expr error OK 127ms
/window functions/tests/non distributed/order clause/multiple expr asc asc OK 100ms
/window functions/tests/non distributed/order clause/multiple expr asc desc OK 110ms
/window functions/tests/non distributed/order clause/multiple expr desc desc OK 107ms
/window functions/tests/non distributed/order clause/single expr asc OK 136ms
/window functions/tests/non distributed/order clause/single expr desc OK 110ms
/window functions/tests/non distributed/frame clause OK 18s 89ms
/window functions/tests/non distributed/frame clause/default frame OK 245ms
/window functions/tests/non distributed/frame clause/default frame/with order by OK 141ms
/window functions/tests/non distributed/frame clause/default frame/without order by OK 103ms
/window functions/tests/non distributed/frame clause/rows frame OK 4s 794ms
/window functions/tests/non distributed/frame clause/rows frame/between current row and current row OK 123ms
/window functions/tests/non distributed/frame clause/rows frame/between current row and expr following OK 135ms
/window functions/tests/non distributed/frame clause/rows frame/between current row and expr preceding error OK 151ms
/window functions/tests/non distributed/frame clause/rows frame/between current row and unbounded following OK 106ms
/window functions/tests/non distributed/frame clause/rows frame/between current row and unbounded preceding error OK 109ms
/window functions/tests/non distributed/frame clause/rows frame/between expr following and expr following OK 102ms
/window functions/tests/non distributed/frame clause/rows frame/between expr following and expr following error OK 117ms
/window functions/tests/non distributed/frame clause/rows frame/between expr following and expr following ref OK 119ms
/window functions/tests/non distributed/frame clause/rows frame/between expr following and unbounded following OK 120ms
/window functions/tests/non distributed/frame clause/rows frame/between expr following error OK 406ms
/window functions/tests/non distributed/frame clause/rows frame/between expr preceding and current row OK 145ms
/window functions/tests/non distributed/frame clause/rows frame/between expr preceding and expr following OK 130ms
/window functions/tests/non distributed/frame clause/rows frame/between expr preceding and expr following ref OK 137ms
/window functions/tests/non distributed/frame clause/rows frame/between expr preceding and expr preceding OK 125ms
/window functions/tests/non distributed/frame clause/rows frame/between expr preceding and expr preceding error OK 120ms
/window functions/tests/non distributed/frame clause/rows frame/between expr preceding and expr preceding ref OK 164ms
/window functions/tests/non distributed/frame clause/rows frame/between expr preceding and unbounded following OK 117ms
/window functions/tests/non distributed/frame clause/rows frame/between expr preceding and unbounded preceding error OK 125ms
/window functions/tests/non distributed/frame clause/rows frame/between unbounded following error OK 616ms
/window functions/tests/non distributed/frame clause/rows frame/between unbounded preceding and current row OK 175ms
/window functions/tests/non distributed/frame clause/rows frame/between unbounded preceding and expr following OK 104ms
/window functions/tests/non distributed/frame clause/rows frame/between unbounded preceding and expr preceding OK 161ms
/window functions/tests/non distributed/frame clause/rows frame/between unbounded preceding and unbounded following OK 131ms
/window functions/tests/non distributed/frame clause/rows frame/between unbounded preceding and unbounded preceding error OK 136ms
/window functions/tests/non distributed/frame clause/rows frame/invalid frame extent OK 157ms
/window functions/tests/non distributed/frame clause/rows frame/missing frame extent OK 111ms
/window functions/tests/non distributed/frame clause/rows frame/start current row OK 118ms
/window functions/tests/non distributed/frame clause/rows frame/start expr following error OK 152ms
/window functions/tests/non distributed/frame clause/rows frame/start expr preceding OK 129ms
/window functions/tests/non distributed/frame clause/rows frame/start unbounded following error OK 93ms
/window functions/tests/non distributed/frame clause/rows frame/start unbounded preceding OK 129ms
/window functions/tests/non distributed/frame clause/range frame OK 10s 180ms
/window functions/tests/non distributed/frame clause/range frame/between current row and current row OK 227ms
/window functions/tests/non distributed/frame clause/range frame/between current row and expr following with order by OK 110ms
/window functions/tests/non distributed/frame clause/range frame/between current row and expr following without order by error OK 121ms
/window functions/tests/non distributed/frame clause/range frame/between current row and expr preceding error OK 241ms
/window functions/tests/non distributed/frame clause/range frame/between current row and unbounded following OK 359ms
/window functions/tests/non distributed/frame clause/range frame/between current row and unbounded following in named window OK 115ms
/window functions/tests/non distributed/frame clause/range frame/between current row and unbounded following modifying named window XFail 172ms
/window functions/tests/non distributed/frame clause/range frame/between current row and unbounded preceding error OK 225ms
/window functions/tests/non distributed/frame clause/range frame/between expr following and current row with order by error OK 112ms
/window functions/tests/non distributed/frame clause/range frame/between expr following and current row without order by error OK 132ms
/window functions/tests/non distributed/frame clause/range frame/between expr following and current row zero special case XFail 164ms
/window functions/tests/non distributed/frame clause/range frame/between expr following and expr following with order by OK 105ms
/window functions/tests/non distributed/frame clause/range frame/between expr following and expr following with order by error OK 118ms
/window functions/tests/non distributed/frame clause/range frame/between expr following and expr following without order by error XFail 124ms
/window functions/tests/non distributed/frame clause/range frame/between expr following and expr preceding error OK 258ms
/window functions/tests/non distributed/frame clause/range frame/between expr following and expr preceding with order by zero special case XFail 140ms
/window functions/tests/non distributed/frame clause/range frame/between expr following and expr preceding without order by error XFail 122ms
/window functions/tests/non distributed/frame clause/range frame/between expr following and unbounded following with order by OK 147ms
/window functions/tests/non distributed/frame clause/range frame/between expr following and unbounded following without order by error OK 129ms
/window functions/tests/non distributed/frame clause/range frame/between expr following and unbounded preceding error OK 200ms
/window functions/tests/non distributed/frame clause/range frame/between expr preceding and current row with order by OK 102ms
/window functions/tests/non distributed/frame clause/range frame/between expr preceding and current row without order by error OK 123ms
/window functions/tests/non distributed/frame clause/range frame/between expr preceding and expr following with order by OK 254ms
/window functions/tests/non distributed/frame clause/range frame/between expr preceding and expr following with partition and order by OK 144ms
/window functions/tests/non distributed/frame clause/range frame/between expr preceding and expr following with partition by same column twice OK 119ms
/window functions/tests/non distributed/frame clause/range frame/between expr preceding and expr following with partition by two columns OK 128ms
/window functions/tests/non distributed/frame clause/range frame/between expr preceding and expr following without order by error OK 124ms
/window functions/tests/non distributed/frame clause/range frame/between expr preceding and expr preceding with order by OK 243ms
/window functions/tests/non distributed/frame clause/range frame/between expr preceding and expr preceding with order by error OK 159ms
/window functions/tests/non distributed/frame clause/range frame/between expr preceding and expr preceding without order by error OK 138ms
/window functions/tests/non distributed/frame clause/range frame/between expr preceding and unbounded following with order by OK 136ms
/window functions/tests/non distributed/frame clause/range frame/between expr preceding and unbounded following without order by error OK 118ms
/window functions/tests/non distributed/frame clause/range frame/between expr preceding and unbounded preceding error OK 210ms
/window functions/tests/non distributed/frame clause/range frame/between unbounded following and current row error OK 231ms
/window functions/tests/non distributed/frame clause/range frame/between unbounded following and expr following error OK 250ms
/window functions/tests/non distributed/frame clause/range frame/between unbounded following and expr preceding error OK 237ms
/window functions/tests/non distributed/frame clause/range frame/between unbounded following and unbounded following error OK 227ms
/window functions/tests/non distributed/frame clause/range frame/between unbounded following and unbounded preceding error OK 245ms
/window functions/tests/non distributed/frame clause/range frame/between unbounded preceding and current row OK 296ms
/window functions/tests/non distributed/frame clause/range frame/between unbounded preceding and current row with expressions in order by and aggregate OK 131ms
/window functions/tests/non distributed/frame clause/range frame/between unbounded preceding and expr following with order by OK 153ms
/window functions/tests/non distributed/frame clause/range frame/between unbounded preceding and expr following without order by error OK 122ms
/window functions/tests/non distributed/frame clause/range frame/between unbounded preceding and expr preceding with order by OK 149ms
/window functions/tests/non distributed/frame clause/range frame/between unbounded preceding and expr preceding without order by error OK 129ms
/window functions/tests/non distributed/frame clause/range frame/between unbounded preceding and unbounded following OK 265ms
/window functions/tests/non distributed/frame clause/range frame/between unbounded preceding and unbounded preceding error OK 214ms
/window functions/tests/non distributed/frame clause/range frame/invalid frame extent OK 160ms
/window functions/tests/non distributed/frame clause/range frame/missing frame extent OK 108ms
/window functions/tests/non distributed/frame clause/range frame/order by decimal XFail 170ms
/window functions/tests/non distributed/frame clause/range frame/order by float OK 140ms
/window functions/tests/non distributed/frame clause/range frame/start current row with order by OK 119ms
/window functions/tests/non distributed/frame clause/range frame/start current row without order by OK 126ms
/window functions/tests/non distributed/frame clause/range frame/start expr following with order by error OK 122ms
/window functions/tests/non distributed/frame clause/range frame/start expr following without order by error OK 138ms
/window functions/tests/non distributed/frame clause/range frame/start expr preceding order by non numerical column error OK 113ms
/window functions/tests/non distributed/frame clause/range frame/start expr preceding with order by OK 114ms
/window functions/tests/non distributed/frame clause/range frame/start expr preceding without order by error OK 111ms
/window functions/tests/non distributed/frame clause/range frame/start unbounded following error OK 257ms
/window functions/tests/non distributed/frame clause/range frame/start unbounded preceding with order by OK 141ms
/window functions/tests/non distributed/frame clause/range frame/start unbounded preceding without order by OK 124ms
/window functions/tests/non distributed/frame clause/range frame/with nulls XFail 213ms
/window functions/tests/non distributed/frame clause/range overflow OK 911ms
/window functions/tests/non distributed/frame clause/range overflow/negative overflow for Int32 OK 159ms
/window functions/tests/non distributed/frame clause/range overflow/negative overflow for Int64 OK 150ms
/window functions/tests/non distributed/frame clause/range overflow/negative overflow with Int16 XFail 153ms
/window functions/tests/non distributed/frame clause/range overflow/positive overflow for Int32 OK 129ms
/window functions/tests/non distributed/frame clause/range overflow/positive overflow for Int64 OK 155ms
/window functions/tests/non distributed/frame clause/range overflow/positive overflow with Int16 XFail 157ms
/window functions/tests/non distributed/frame clause/range datetime OK 1s 131ms
/window functions/tests/non distributed/frame clause/range datetime/datetime order by asc range between n preceding and n following OK 110ms
/window functions/tests/non distributed/frame clause/range datetime/datetime order by desc range between n preceding and n following OK 158ms
/window functions/tests/non distributed/frame clause/range datetime/datetime with timezone order by asc range between n preceding and n following OK 172ms
/window functions/tests/non distributed/frame clause/range datetime/datetime with timezone order by desc range between n preceding and n following OK 188ms
/window functions/tests/non distributed/frame clause/range datetime/order by asc range between days preceding and days following OK 125ms
/window functions/tests/non distributed/frame clause/range datetime/order by desc range between days following and days following OK 137ms
/window functions/tests/non distributed/frame clause/range datetime/order by desc range between days preceding and days following OK 119ms
/window functions/tests/non distributed/frame clause/range datetime/order by desc range between days preceding and days preceding OK 113ms
/window functions/tests/non distributed/frame clause/range errors OK 791ms
/window functions/tests/non distributed/frame clause/range errors/error missing order by OK 124ms
/window functions/tests/non distributed/frame clause/range errors/error missing order by with partition by clause OK 130ms
/window functions/tests/non distributed/frame clause/range errors/error more than one order by column OK 113ms
/window functions/tests/non distributed/frame clause/range errors/error negative following offset XFail 120ms
/window functions/tests/non distributed/frame clause/range errors/error negative preceding offset XFail 166ms
/window functions/tests/non distributed/frame clause/range errors/error range over non numerical column OK 131ms
/window functions/tests/non distributed/window clause OK 622ms
/window functions/tests/non distributed/window clause/missing window spec OK 112ms
/window functions/tests/non distributed/window clause/multiple identical windows OK 127ms
/window functions/tests/non distributed/window clause/multiple windows OK 108ms
/window functions/tests/non distributed/window clause/single window OK 126ms
/window functions/tests/non distributed/window clause/unused window OK 144ms
/window functions/tests/non distributed/over clause OK 736ms
/window functions/tests/non distributed/over clause/adhoc window OK 116ms
/window functions/tests/non distributed/over clause/empty OK 106ms
/window functions/tests/non distributed/over clause/empty named window OK 113ms
/window functions/tests/non distributed/over clause/invalid multiple windows OK 128ms
/window functions/tests/non distributed/over clause/invalid window name OK 145ms
/window functions/tests/non distributed/over clause/missing window spec OK 122ms
/window functions/tests/non distributed/funcs OK 3s 876ms
/window functions/tests/non distributed/funcs/dense rank OK 116ms
/window functions/tests/non distributed/funcs/first value OK 266ms
/window functions/tests/non distributed/funcs/first value with lead workaround OK 102ms
/window functions/tests/non distributed/funcs/lag OK 410ms
/window functions/tests/non distributed/funcs/lagInFrame OK 669ms
/window functions/tests/non distributed/funcs/last value OK 539ms
/window functions/tests/non distributed/funcs/last value with lag workaround OK 111ms
/window functions/tests/non distributed/funcs/last value with no frame OK 116ms
/window functions/tests/non distributed/funcs/lead OK 577ms
/window functions/tests/non distributed/funcs/leadInFrame OK 680ms
/window functions/tests/non distributed/funcs/rank OK 145ms
/window functions/tests/non distributed/funcs/row number OK 134ms
/window functions/tests/non distributed/aggregate funcs OK 9s 156ms
/window functions/tests/non distributed/aggregate funcs/aggregate and window function in the same window OK 140ms
/window functions/tests/non distributed/aggregate funcs/aggregate funcs over rows frame OK 7s 447ms
/window functions/tests/non distributed/aggregate funcs/aggregate function recovers from nan OK 137ms
/window functions/tests/non distributed/aggregate funcs/avgWeighted OK 310ms
/window functions/tests/non distributed/aggregate funcs/avg with nulls OK 102ms
/window functions/tests/non distributed/aggregate funcs/bit functions OK 162ms
/window functions/tests/non distributed/aggregate funcs/nested aggregates OK 109ms
/window functions/tests/non distributed/aggregate funcs/stddevpop OK 130ms
/window functions/tests/non distributed/aggregate funcs/stddevsamp OK 153ms
/window functions/tests/non distributed/aggregate funcs/sum OK 147ms
/window functions/tests/non distributed/aggregate funcs/ungrouped aggregate over empty row set OK 105ms
/window functions/tests/non distributed/aggregate funcs/var pop OK 101ms
/window functions/tests/non distributed/aggregate funcs/var samp OK 101ms
/window functions/tests/non distributed/time decayed funcs OK 2m 16s
/window functions/tests/non distributed/time decayed funcs/exponentialTimeDecayedAvg OK 19s 517ms
/window functions/tests/non distributed/time decayed funcs/exponentialTimeDecayedCount OK 17s 335ms
/window functions/tests/non distributed/time decayed funcs/exponentialTimeDecayedMax OK 1m 19s
/window functions/tests/non distributed/time decayed funcs/exponentialTimeDecayedSum OK 20s 182ms
/window functions/tests/non distributed/errors OK 1s 403ms
/window functions/tests/non distributed/errors/error coma between partition by and order by clause OK 112ms
/window functions/tests/non distributed/errors/error named window defined twice OK 126ms
/window functions/tests/non distributed/errors/error order by another window function OK 139ms
/window functions/tests/non distributed/errors/error select from window OK 143ms
/window functions/tests/non distributed/errors/error using non window function OK 180ms
/window functions/tests/non distributed/errors/error window function in alter delete where OK 156ms
/window functions/tests/non distributed/errors/error window function in group by OK 112ms
/window functions/tests/non distributed/errors/error window function in having OK 131ms
/window functions/tests/non distributed/errors/error window function in join OK 169ms
/window functions/tests/non distributed/errors/error window function in where OK 124ms
/window functions/tests/non distributed/misc OK 2s 390ms
/window functions/tests/non distributed/misc/count with empty over clause without start OK 106ms
/window functions/tests/non distributed/misc/empty table OK 115ms
/window functions/tests/non distributed/misc/exclude clause OK 141ms
/window functions/tests/non distributed/misc/from subquery OK 151ms
/window functions/tests/non distributed/misc/group by and multiple windows OK 148ms
/window functions/tests/non distributed/misc/group by and one window OK 118ms
/window functions/tests/non distributed/misc/groups frame OK 142ms
/window functions/tests/non distributed/misc/in view OK 440ms
/window functions/tests/non distributed/misc/query with order by and one window OK 99ms
/window functions/tests/non distributed/misc/subquery expr preceding OK 103ms
/window functions/tests/non distributed/misc/subquery multiple window functions OK 150ms
/window functions/tests/non distributed/misc/subquery with multiple windows filtering OK 140ms
/window functions/tests/non distributed/misc/window functions in select expression OK 135ms
/window functions/tests/non distributed/misc/window functions in subquery OK 128ms
/window functions/tests/non distributed/misc/windows with same partitioning but different ordering OK 131ms
/window functions/tests/non distributed/misc/with union all OK 127ms
/window functions/tests/non distributed/datatypes OK 1s 467ms
/window functions/tests/non distributed/datatypes/date OK 123ms
/window functions/tests/non distributed/datatypes/datetime OK 118ms
/window functions/tests/non distributed/datatypes/datetime64 OK 123ms
/window functions/tests/non distributed/datatypes/decimal32 OK 112ms
/window functions/tests/non distributed/datatypes/enum OK 133ms
/window functions/tests/non distributed/datatypes/fixed string OK 135ms
/window functions/tests/non distributed/datatypes/ipv4 OK 130ms
/window functions/tests/non distributed/datatypes/ipv6 OK 119ms
/window functions/tests/non distributed/datatypes/low cardinality OK 108ms
/window functions/tests/non distributed/datatypes/map OK 102ms
/window functions/tests/non distributed/datatypes/string OK 119ms
/window functions/tests/non distributed/datatypes/uuid OK 133ms
/window functions/tests/non distributed/non-negative derivative func OK 9s 564ms
/window functions/tests/non distributed/non-negative derivative func/acceptance OK 1s 188ms
/window functions/tests/non distributed/non-negative derivative func/check intervals OK 1s 59ms
/window functions/tests/non distributed/non-negative derivative func/check negative result OK 108ms
/window functions/tests/non distributed/non-negative derivative func/check one row per partition OK 105ms
/window functions/tests/non distributed/non-negative derivative func/check over windows OK 2s 938ms
/window functions/tests/non distributed/non-negative derivative func/division by tiny OK 220ms
/window functions/tests/non distributed/non-negative derivative func/division by zero OK 104ms
/window functions/tests/non distributed/non-negative derivative func/empty table OK 328ms
/window functions/tests/non distributed/non-negative derivative func/null values OK 328ms
/window functions/tests/non distributed/non-negative derivative func/valid metric types OK 1s 720ms
/window functions/tests/non distributed/non-negative derivative func/valid timestamp types OK 310ms
/window functions/tests/non distributed/non-negative derivative func/wrong number of arguments or types OK 1s 23ms
/window functions/tests/non distributed/non-negative derivative func/zero interval OK 118ms
/window functions/tests/distributed OK 3m 26s
/window functions/tests/distributed/window spec OK 992ms
/window functions/tests/distributed/window spec/empty OK 110ms
/window functions/tests/distributed/window spec/frame clause OK 177ms
/window functions/tests/distributed/window spec/order by with frame OK 106ms
/window functions/tests/distributed/window spec/orderby clause OK 125ms
/window functions/tests/distributed/window spec/partition clause OK 121ms
/window functions/tests/distributed/window spec/partition with frame OK 117ms
/window functions/tests/distributed/window spec/partition with order by OK 119ms
/window functions/tests/distributed/window spec/partition with order by and frame OK 109ms
/window functions/tests/distributed/partition clause OK 491ms
/window functions/tests/distributed/partition clause/invalid expr error OK 114ms
/window functions/tests/distributed/partition clause/missing expr error OK 121ms
/window functions/tests/distributed/partition clause/multiple expr OK 113ms
/window functions/tests/distributed/partition clause/single expr OK 139ms
/window functions/tests/distributed/order clause OK 1s 265ms
/window functions/tests/distributed/order clause/by a non integer constant OK 103ms
/window functions/tests/distributed/order clause/by column OK 113ms
/window functions/tests/distributed/order clause/by expr OK 129ms
/window functions/tests/distributed/order clause/by expr with aggregates OK 131ms
/window functions/tests/distributed/order clause/invalid expr error OK 106ms
/window functions/tests/distributed/order clause/missing expr error OK 127ms
/window functions/tests/distributed/order clause/multiple expr asc asc OK 126ms
/window functions/tests/distributed/order clause/multiple expr asc desc OK 112ms
/window functions/tests/distributed/order clause/multiple expr desc desc OK 105ms
/window functions/tests/distributed/order clause/single expr asc OK 108ms
/window functions/tests/distributed/order clause/single expr desc OK 94ms
/window functions/tests/distributed/frame clause OK 17s 593ms
/window functions/tests/distributed/frame clause/default frame OK 225ms
/window functions/tests/distributed/frame clause/default frame/with order by OK 119ms
/window functions/tests/distributed/frame clause/default frame/without order by OK 104ms
/window functions/tests/distributed/frame clause/rows frame OK 4s 437ms
/window functions/tests/distributed/frame clause/rows frame/between current row and current row OK 115ms
/window functions/tests/distributed/frame clause/rows frame/between current row and expr following OK 109ms
/window functions/tests/distributed/frame clause/rows frame/between current row and expr preceding error OK 173ms
/window functions/tests/distributed/frame clause/rows frame/between current row and unbounded following OK 128ms
/window functions/tests/distributed/frame clause/rows frame/between current row and unbounded preceding error OK 95ms
/window functions/tests/distributed/frame clause/rows frame/between expr following and expr following OK 132ms
/window functions/tests/distributed/frame clause/rows frame/between expr following and expr following error OK 111ms
/window functions/tests/distributed/frame clause/rows frame/between expr following and expr following ref OK 156ms
/window functions/tests/distributed/frame clause/rows frame/between expr following and unbounded following OK 109ms
/window functions/tests/distributed/frame clause/rows frame/between expr following error OK 330ms
/window functions/tests/distributed/frame clause/rows frame/between expr preceding and current row OK 124ms
/window functions/tests/distributed/frame clause/rows frame/between expr preceding and expr following OK 162ms
/window functions/tests/distributed/frame clause/rows frame/between expr preceding and expr following ref OK 120ms
/window functions/tests/distributed/frame clause/rows frame/between expr preceding and expr preceding OK 168ms
/window functions/tests/distributed/frame clause/rows frame/between expr preceding and expr preceding error OK 105ms
/window functions/tests/distributed/frame clause/rows frame/between expr preceding and expr preceding ref OK 111ms
/window functions/tests/distributed/frame clause/rows frame/between expr preceding and unbounded following OK 119ms
/window functions/tests/distributed/frame clause/rows frame/between expr preceding and unbounded preceding error OK 95ms
/window functions/tests/distributed/frame clause/rows frame/between unbounded following error OK 477ms
/window functions/tests/distributed/frame clause/rows frame/between unbounded preceding and current row OK 124ms
/window functions/tests/distributed/frame clause/rows frame/between unbounded preceding and expr following OK 144ms
/window functions/tests/distributed/frame clause/rows frame/between unbounded preceding and expr preceding OK 136ms
/window functions/tests/distributed/frame clause/rows frame/between unbounded preceding and unbounded following OK 154ms
/window functions/tests/distributed/frame clause/rows frame/between unbounded preceding and unbounded preceding error OK 107ms
/window functions/tests/distributed/frame clause/rows frame/invalid frame extent OK 102ms
/window functions/tests/distributed/frame clause/rows frame/missing frame extent OK 114ms
/window functions/tests/distributed/frame clause/rows frame/start current row OK 114ms
/window functions/tests/distributed/frame clause/rows frame/start expr following error OK 115ms
/window functions/tests/distributed/frame clause/rows frame/start expr preceding OK 116ms
/window functions/tests/distributed/frame clause/rows frame/start unbounded following error OK 118ms
/window functions/tests/distributed/frame clause/rows frame/start unbounded preceding OK 124ms
/window functions/tests/distributed/frame clause/range frame OK 9s 794ms
/window functions/tests/distributed/frame clause/range frame/between current row and current row OK 226ms
/window functions/tests/distributed/frame clause/range frame/between current row and expr following with order by OK 114ms
/window functions/tests/distributed/frame clause/range frame/between current row and expr following without order by error OK 134ms
/window functions/tests/distributed/frame clause/range frame/between current row and expr preceding error OK 264ms
/window functions/tests/distributed/frame clause/range frame/between current row and unbounded following OK 404ms
/window functions/tests/distributed/frame clause/range frame/between current row and unbounded following in named window OK 129ms
/window functions/tests/distributed/frame clause/range frame/between current row and unbounded following modifying named window XFail 125ms
/window functions/tests/distributed/frame clause/range frame/between current row and unbounded preceding error OK 189ms
/window functions/tests/distributed/frame clause/range frame/between expr following and current row with order by error OK 115ms
/window functions/tests/distributed/frame clause/range frame/between expr following and current row without order by error OK 128ms
/window functions/tests/distributed/frame clause/range frame/between expr following and current row zero special case XFail 127ms
/window functions/tests/distributed/frame clause/range frame/between expr following and expr following with order by OK 138ms
/window functions/tests/distributed/frame clause/range frame/between expr following and expr following with order by error OK 116ms
/window functions/tests/distributed/frame clause/range frame/between expr following and expr following without order by error XFail 167ms
/window functions/tests/distributed/frame clause/range frame/between expr following and expr preceding error OK 222ms
/window functions/tests/distributed/frame clause/range frame/between expr following and expr preceding with order by zero special case XFail 125ms
/window functions/tests/distributed/frame clause/range frame/between expr following and expr preceding without order by error XFail 184ms
/window functions/tests/distributed/frame clause/range frame/between expr following and unbounded following with order by OK 97ms
/window functions/tests/distributed/frame clause/range frame/between expr following and unbounded following without order by error OK 145ms
/window functions/tests/distributed/frame clause/range frame/between expr following and unbounded preceding error OK 212ms
/window functions/tests/distributed/frame clause/range frame/between expr preceding and current row with order by OK 116ms
/window functions/tests/distributed/frame clause/range frame/between expr preceding and current row without order by error OK 102ms
/window functions/tests/distributed/frame clause/range frame/between expr preceding and expr following with order by OK 221ms
/window functions/tests/distributed/frame clause/range frame/between expr preceding and expr following with partition and order by OK 132ms
/window functions/tests/distributed/frame clause/range frame/between expr preceding and expr following with partition by same column twice OK 123ms
/window functions/tests/distributed/frame clause/range frame/between expr preceding and expr following with partition by two columns OK 126ms
/window functions/tests/distributed/frame clause/range frame/between expr preceding and expr following without order by error OK 118ms
/window functions/tests/distributed/frame clause/range frame/between expr preceding and expr preceding with order by OK 263ms
/window functions/tests/distributed/frame clause/range frame/between expr preceding and expr preceding with order by error OK 153ms
/window functions/tests/distributed/frame clause/range frame/between expr preceding and expr preceding without order by error OK 152ms
/window functions/tests/distributed/frame clause/range frame/between expr preceding and unbounded following with order by OK 122ms
/window functions/tests/distributed/frame clause/range frame/between expr preceding and unbounded following without order by error OK 151ms
/window functions/tests/distributed/frame clause/range frame/between expr preceding and unbounded preceding error OK 201ms
/window functions/tests/distributed/frame clause/range frame/between unbounded following and current row error OK 194ms
/window functions/tests/distributed/frame clause/range frame/between unbounded following and expr following error OK 242ms
/window functions/tests/distributed/frame clause/range frame/between unbounded following and expr preceding error OK 233ms
/window functions/tests/distributed/frame clause/range frame/between unbounded following and unbounded following error OK 183ms
/window functions/tests/distributed/frame clause/range frame/between unbounded following and unbounded preceding error OK 208ms
/window functions/tests/distributed/frame clause/range frame/between unbounded preceding and current row OK 266ms
/window functions/tests/distributed/frame clause/range frame/between unbounded preceding and current row with expressions in order by and aggregate OK 136ms
/window functions/tests/distributed/frame clause/range frame/between unbounded preceding and expr following with order by OK 99ms
/window functions/tests/distributed/frame clause/range frame/between unbounded preceding and expr following without order by error OK 121ms
/window functions/tests/distributed/frame clause/range frame/between unbounded preceding and expr preceding with order by OK 137ms
/window functions/tests/distributed/frame clause/range frame/between unbounded preceding and expr preceding without order by error OK 113ms
/window functions/tests/distributed/frame clause/range frame/between unbounded preceding and unbounded following OK 246ms
/window functions/tests/distributed/frame clause/range frame/between unbounded preceding and unbounded preceding error OK 179ms
/window functions/tests/distributed/frame clause/range frame/invalid frame extent OK 107ms
/window functions/tests/distributed/frame clause/range frame/missing frame extent OK 113ms
/window functions/tests/distributed/frame clause/range frame/order by decimal XFail 160ms
/window functions/tests/distributed/frame clause/range frame/order by float OK 146ms
/window functions/tests/distributed/frame clause/range frame/start current row with order by OK 140ms
/window functions/tests/distributed/frame clause/range frame/start current row without order by OK 103ms
/window functions/tests/distributed/frame clause/range frame/start expr following with order by error OK 113ms
/window functions/tests/distributed/frame clause/range frame/start expr following without order by error OK 118ms
/window functions/tests/distributed/frame clause/range frame/start expr preceding order by non numerical column error OK 130ms
/window functions/tests/distributed/frame clause/range frame/start expr preceding with order by OK 119ms
/window functions/tests/distributed/frame clause/range frame/start expr preceding without order by error OK 122ms
/window functions/tests/distributed/frame clause/range frame/start unbounded following error OK 217ms
/window functions/tests/distributed/frame clause/range frame/start unbounded preceding with order by OK 125ms
/window functions/tests/distributed/frame clause/range frame/start unbounded preceding without order by OK 117ms
/window functions/tests/distributed/frame clause/range frame/with nulls XFail 206ms
/window functions/tests/distributed/frame clause/range overflow OK 874ms
/window functions/tests/distributed/frame clause/range overflow/negative overflow for Int32 OK 166ms
/window functions/tests/distributed/frame clause/range overflow/negative overflow for Int64 OK 138ms
/window functions/tests/distributed/frame clause/range overflow/negative overflow with Int16 XFail 179ms
/window functions/tests/distributed/frame clause/range overflow/positive overflow for Int32 OK 115ms
/window functions/tests/distributed/frame clause/range overflow/positive overflow for Int64 OK 142ms
/window functions/tests/distributed/frame clause/range overflow/positive overflow with Int16 XFail 127ms
/window functions/tests/distributed/frame clause/range datetime OK 1s 272ms
/window functions/tests/distributed/frame clause/range datetime/datetime order by asc range between n preceding and n following OK 146ms
/window functions/tests/distributed/frame clause/range datetime/datetime order by desc range between n preceding and n following OK 169ms
/window functions/tests/distributed/frame clause/range datetime/datetime with timezone order by asc range between n preceding and n following OK 174ms
/window functions/tests/distributed/frame clause/range datetime/datetime with timezone order by desc range between n preceding and n following OK 143ms
/window functions/tests/distributed/frame clause/range datetime/order by asc range between days preceding and days following XFail 142ms
/window functions/tests/distributed/frame clause/range datetime/order by desc range between days following and days following XFail 188ms
/window functions/tests/distributed/frame clause/range datetime/order by desc range between days preceding and days following XFail 136ms
/window functions/tests/distributed/frame clause/range datetime/order by desc range between days preceding and days preceding XFail 166ms
/window functions/tests/distributed/frame clause/range errors OK 983ms
/window functions/tests/distributed/frame clause/range errors/error missing order by OK 179ms
/window functions/tests/distributed/frame clause/range errors/error missing order by with partition by clause OK 216ms
/window functions/tests/distributed/frame clause/range errors/error more than one order by column OK 146ms
/window functions/tests/distributed/frame clause/range errors/error negative following offset XFail 151ms
/window functions/tests/distributed/frame clause/range errors/error negative preceding offset XFail 126ms
/window functions/tests/distributed/frame clause/range errors/error range over non numerical column OK 158ms
/window functions/tests/distributed/window clause OK 602ms
/window functions/tests/distributed/window clause/missing window spec OK 124ms
/window functions/tests/distributed/window clause/multiple identical windows OK 116ms
/window functions/tests/distributed/window clause/multiple windows OK 129ms
/window functions/tests/distributed/window clause/single window OK 105ms
/window functions/tests/distributed/window clause/unused window OK 123ms
/window functions/tests/distributed/over clause OK 739ms
/window functions/tests/distributed/over clause/adhoc window OK 120ms
/window functions/tests/distributed/over clause/empty OK 103ms
/window functions/tests/distributed/over clause/empty named window OK 134ms
/window functions/tests/distributed/over clause/invalid multiple windows OK 111ms
/window functions/tests/distributed/over clause/invalid window name OK 114ms
/window functions/tests/distributed/over clause/missing window spec OK 149ms
/window functions/tests/distributed/funcs OK 3s 926ms
/window functions/tests/distributed/funcs/dense rank OK 130ms
/window functions/tests/distributed/funcs/first value OK 306ms
/window functions/tests/distributed/funcs/first value with lead workaround OK 152ms
/window functions/tests/distributed/funcs/lag OK 387ms
/window functions/tests/distributed/funcs/lagInFrame OK 636ms
/window functions/tests/distributed/funcs/last value OK 482ms
/window functions/tests/distributed/funcs/last value with lag workaround OK 143ms
/window functions/tests/distributed/funcs/last value with no frame OK 116ms
/window functions/tests/distributed/funcs/lead OK 575ms
/window functions/tests/distributed/funcs/leadInFrame OK 696ms
/window functions/tests/distributed/funcs/rank OK 156ms
/window functions/tests/distributed/funcs/row number OK 135ms
/window functions/tests/distributed/aggregate funcs OK 9s 938ms
/window functions/tests/distributed/aggregate funcs/aggregate and window function in the same window OK 113ms
/window functions/tests/distributed/aggregate funcs/aggregate funcs over rows frame OK 8s 164ms
/window functions/tests/distributed/aggregate funcs/aggregate function recovers from nan OK 117ms
/window functions/tests/distributed/aggregate funcs/avgWeighted OK 345ms
/window functions/tests/distributed/aggregate funcs/avg with nulls OK 118ms
/window functions/tests/distributed/aggregate funcs/bit functions OK 124ms
/window functions/tests/distributed/aggregate funcs/nested aggregates OK 161ms
/window functions/tests/distributed/aggregate funcs/stddevpop OK 155ms
/window functions/tests/distributed/aggregate funcs/stddevsamp OK 102ms
/window functions/tests/distributed/aggregate funcs/sum OK 163ms
/window functions/tests/distributed/aggregate funcs/ungrouped aggregate over empty row set OK 142ms
/window functions/tests/distributed/aggregate funcs/var pop OK 104ms
/window functions/tests/distributed/aggregate funcs/var samp OK 119ms
/window functions/tests/distributed/time decayed funcs OK 2m 16s
/window functions/tests/distributed/time decayed funcs/exponentialTimeDecayedAvg OK 19s 582ms
/window functions/tests/distributed/time decayed funcs/exponentialTimeDecayedCount OK 17s 88ms
/window functions/tests/distributed/time decayed funcs/exponentialTimeDecayedMax OK 1m 20s
/window functions/tests/distributed/time decayed funcs/exponentialTimeDecayedSum OK 19s 473ms
/window functions/tests/distributed/errors OK 1s 210ms
/window functions/tests/distributed/errors/error coma between partition by and order by clause OK 145ms
/window functions/tests/distributed/errors/error named window defined twice OK 102ms
/window functions/tests/distributed/errors/error order by another window function OK 169ms
/window functions/tests/distributed/errors/error select from window OK 111ms
/window functions/tests/distributed/errors/error using non window function OK 113ms
/window functions/tests/distributed/errors/error window function in alter delete where OK 109ms
/window functions/tests/distributed/errors/error window function in group by OK 107ms
/window functions/tests/distributed/errors/error window function in having OK 114ms
/window functions/tests/distributed/errors/error window function in join OK 115ms
/window functions/tests/distributed/errors/error window function in where OK 113ms
/window functions/tests/distributed/misc OK 2s 403ms
/window functions/tests/distributed/misc/count with empty over clause without start OK 105ms
/window functions/tests/distributed/misc/empty table OK 143ms
/window functions/tests/distributed/misc/exclude clause OK 137ms
/window functions/tests/distributed/misc/from subquery OK 117ms
/window functions/tests/distributed/misc/group by and multiple windows OK 104ms
/window functions/tests/distributed/misc/group by and one window OK 145ms
/window functions/tests/distributed/misc/groups frame OK 162ms
/window functions/tests/distributed/misc/in view OK 407ms
/window functions/tests/distributed/misc/query with order by and one window OK 130ms
/window functions/tests/distributed/misc/subquery expr preceding OK 123ms
/window functions/tests/distributed/misc/subquery multiple window functions OK 117ms
/window functions/tests/distributed/misc/subquery with multiple windows filtering OK 135ms
/window functions/tests/distributed/misc/window functions in select expression OK 141ms
/window functions/tests/distributed/misc/window functions in subquery OK 120ms
/window functions/tests/distributed/misc/windows with same partitioning but different ordering OK 185ms
/window functions/tests/distributed/misc/with union all OK 116ms
/window functions/tests/distributed/datatypes OK 1s 207ms
/window functions/tests/distributed/datatypes/date OK 99ms
/window functions/tests/distributed/datatypes/datetime OK 93ms
/window functions/tests/distributed/datatypes/datetime64 OK 98ms
/window functions/tests/distributed/datatypes/decimal32 OK 99ms
/window functions/tests/distributed/datatypes/enum OK 100ms
/window functions/tests/distributed/datatypes/fixed string OK 112ms
/window functions/tests/distributed/datatypes/ipv4 OK 99ms
/window functions/tests/distributed/datatypes/ipv6 OK 96ms
/window functions/tests/distributed/datatypes/low cardinality OK 108ms
/window functions/tests/distributed/datatypes/map OK 95ms
/window functions/tests/distributed/datatypes/string OK 97ms
/window functions/tests/distributed/datatypes/uuid OK 98ms
/window functions/tests/distributed/non-negative derivative func OK 8s 752ms
/window functions/tests/distributed/non-negative derivative func/acceptance OK 1s 103ms
/window functions/tests/distributed/non-negative derivative func/check intervals OK 898ms
/window functions/tests/distributed/non-negative derivative func/check negative result OK 96ms
/window functions/tests/distributed/non-negative derivative func/check one row per partition OK 98ms
/window functions/tests/distributed/non-negative derivative func/check over windows OK 2s 708ms
/window functions/tests/distributed/non-negative derivative func/division by tiny OK 227ms
/window functions/tests/distributed/non-negative derivative func/division by zero OK 148ms
/window functions/tests/distributed/non-negative derivative func/empty table OK 361ms
/window functions/tests/distributed/non-negative derivative func/null values OK 231ms
/window functions/tests/distributed/non-negative derivative func/valid metric types OK 1s 373ms
/window functions/tests/distributed/non-negative derivative func/valid timestamp types OK 389ms
/window functions/tests/distributed/non-negative derivative func/wrong number of arguments or types OK 1s 4ms
/window functions/tests/distributed/non-negative derivative func/zero interval OK 104ms

Generated by TestFlows Open-Source Test Framework v1.9.230315.1003122