Skip to content

Correct usage in athena.to_iceberg for keep_files option #2756

Answered by kukushking
aockel asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @aockel keep_files controls whether staging files produced by Athena are retained in the temp path. Default is True which is consistent with other SDK for pandas Athena calls such as read_sql_query.

Yes, in most cases you would want that set to False but we want users to explicitly opt-in for cleaning the temp path to avoid unintended impact, for example, if the same temp path is used by another process.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aockel
Comment options

Answer selected by aockel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants