-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DELTA] Trino concurrent CTAS query failure deletes Data Directory, rendering succeeded one in un-queryable state #24153
Comments
@findinpath For the above particular case, can we catch the exception and propagate the same to not carry out roll-back of Table-Base location directory deletion? Also trino/plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaLakeMetadata.java Lines 1663 to 1682 in 4c048b3
_delta_log directory also getting deleted which needs to be handled as well.
|
I see trino/plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaLakeMetadata.java Lines 1663 to 1680 in 58a7e59
We should likely check (same as we already do in
We should do this check in order to avoid calling
|
Hello Team, We are using
v454
in prod, facing the following issueTrino concurrent CTAS with same name on delta-table, which in-particular has failed, cleans up data-directory as part of rollback
, the succeeded one is rendered useless as it's not queryable and drop is also not possible on Trino.Reproduction Steps
Rollback Stack-trace
The text was updated successfully, but these errors were encountered: