Skip to content

Commit

Permalink
Xfail the collect_list tests for databricks (#1681)
Browse files Browse the repository at this point in the history
The tests of collect_list are failing on databricks due to
not finding the plan `RunningWindowFunctionExec`, which seems to
be specific for databricks.

Signed-off-by: Firestarman <firestarmanllc@gmail.com>
  • Loading branch information
firestarman authored Feb 8, 2021
1 parent ea01e33 commit a1969a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions integration_tests/src/main/python/window_function_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from pyspark.sql.types import *
from pyspark.sql.window import Window
import pyspark.sql.functions as f
from conftest import is_databricks_runtime

_grpkey_longs_with_no_nulls = [
('a', RepeatSeqGen(LongGen(nullable=False), length=20)),
Expand Down Expand Up @@ -279,6 +280,8 @@ def test_window_aggs_for_rows_collect_list():
Once native supports dropping nulls, will enable the tests above and remove this one.
'''
# SortExec does not support array type, so sort the result locally.
@pytest.mark.xfail(condition=is_databricks_runtime(),
reason='https://github.com/NVIDIA/spark-rapids/issues/1680')
@ignore_order(local=True)
def test_window_aggs_for_rows_collect_list_no_nulls():
assert_gpu_and_cpu_are_equal_sql(
Expand Down

0 comments on commit a1969a5

Please sign in to comment.