Skip to content

Commit 2885ac5

Browse files
committed
fixup! test(flink): add test for previously-ignored unit
1 parent 053b934 commit 2885ac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibis/backends/flink/tests/test_compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,5 @@ def test_having(simple_table, assert_sql):
104104

105105
def test_timestamp_cast_to_seconds_respects_unit():
106106
expr = ibis.now()
107-
compiled = expr.cast("timestamp('s')").compile(dialect="flink")
107+
compiled = ibis.to_sql(expr.cast("timestamp('s')"), dialect="flink")
108108
assert "yyyy-MM-dd HH:mm:ss.SSS" not in compiled

0 commit comments

Comments
 (0)