Skip to content

Commit

Permalink
feat(trino): support string date scalar parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Jan 4, 2023
1 parent 39056b5 commit 9092530
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions ibis/backends/tests/test_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,17 +147,7 @@ def test_scalar_param(alltypes, df, value, dtype, col):
@pytest.mark.parametrize(
("value", "dtype"),
[
param(
"2009-01-20",
"date",
id="string_date",
marks=[
pytest.mark.broken(
["trino"],
reason="generates incorrect SQL for date string values",
)
],
),
param("2009-01-20", "date", id="string_date"),
param(datetime.date(2009, 1, 20), "date", id="date_date"),
param(datetime.datetime(2009, 1, 20), "date", id="datetime_date"),
],
Expand Down

0 comments on commit 9092530

Please sign in to comment.