Skip to content

Commit

Permalink
Don't check dtype for scalar timestamps GPU tests
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbluca committed May 24, 2024
1 parent 6ba6bbc commit 0228514
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/test_rex.py
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ def test_scalar_timestamps(c, gpu):
}
)
df1 = c.sql("SELECT CEIL(to_timestamp(d) TO DAY) AS ceil_to_day FROM df")
assert_eq(df1, expected_df)
assert_eq(df1, expected_df, check_dtype=(not gpu))
df2 = c.sql("SELECT CEIL(CAST(d AS TIMESTAMP) TO DAY) AS ceil_to_day FROM df")
assert_eq(df2, expected_df)

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

Expand Down

0 comments on commit 0228514

Please sign in to comment.