Skip to content

Commit a578ef3

Browse files
committed
Fix Athena query engine v3 timestamp format (still overflows but throws an error if no ms) - 2
1 parent 79337cb commit a578ef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_athena_parquet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ def test_read_parquet_filter_partitions(path, glue_table, glue_database, use_thr
463463

464464
@pytest.mark.parametrize("use_threads", [True, False])
465465
def test_read_parquet_mutability(path, glue_table, glue_database, use_threads):
466-
sql = "SELECT timestamp '2012-08-08 01:00' AS c0"
466+
sql = "SELECT timestamp '2012-08-08 01:00:00.000' AS c0"
467467
df = wr.athena.read_sql_query(sql, "default", use_threads=use_threads)
468468
df["c0"] = df["c0"] + pd.DateOffset(months=-2)
469469
assert df.c0[0].value == 1339117200000000000

0 commit comments

Comments
 (0)