Skip to content

Commit 79337cb

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

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
@@ -756,7 +756,7 @@ def test_ignore_suffix(glue_database, glue_table, path):
756756

757757

758758
def test_athena_timestamp_overflow():
759-
sql = "SELECT timestamp '2262-04-11 23:47:17' AS c0"
759+
sql = "SELECT timestamp '2262-04-11 23:47:17.000' AS c0"
760760
df1 = wr.athena.read_sql_query(sql, "default")
761761

762762
df_overflow = pd.DataFrame({"c0": [pd.Timestamp("1677-09-21 00:12:43.290448384")]})

0 commit comments

Comments
 (0)