Skip to content

Commit 91682ce

Browse files
Document the create_csv_table function's sensitivity to column order (#1923)
1 parent 2ef3dbd commit 91682ce

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

awswrangler/catalog/_create.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -857,6 +857,11 @@ def create_csv_table( # pylint: disable=too-many-arguments,too-many-locals
857857
858858
'https://docs.aws.amazon.com/athena/latest/ug/data-types.html'
859859
860+
Note
861+
----
862+
Athena requires the columns in the underlying CSV files in S3 to be in the same order
863+
as the columns in the Glue data catalog.
864+
860865
Parameters
861866
----------
862867
database : str

0 commit comments

Comments
 (0)