Skip to content

Commit 0228514

Browse files
committed
Don't check dtype for scalar timestamps GPU tests
1 parent 6ba6bbc commit 0228514

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/test_rex.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@ def test_scalar_timestamps(c, gpu):
11441144
}
11451145
)
11461146
df1 = c.sql("SELECT CEIL(to_timestamp(d) TO DAY) AS ceil_to_day FROM df")
1147-
assert_eq(df1, expected_df)
1147+
assert_eq(df1, expected_df, check_dtype=(not gpu))
11481148
df2 = c.sql("SELECT CEIL(CAST(d AS TIMESTAMP) TO DAY) AS ceil_to_day FROM df")
11491149
assert_eq(df2, expected_df)
11501150

@@ -1154,7 +1154,7 @@ def test_scalar_timestamps(c, gpu):
11541154
}
11551155
)
11561156
df1 = c.sql("SELECT FLOOR(to_timestamp(d) TO DAY) AS floor_to_day FROM df")
1157-
assert_eq(df1, expected_df)
1157+
assert_eq(df1, expected_df, check_dtype=(not gpu))
11581158
df2 = c.sql("SELECT FLOOR(CAST(d AS TIMESTAMP) TO DAY) AS floor_to_day FROM df")
11591159
assert_eq(df2, expected_df)
11601160

0 commit comments

Comments
 (0)