{"record":{"id":"20c4a338be41358e","repo":"apache/flink","slug":"exception-in-finish","errorCode":null,"errorMessage":"Exception in finish","messagePattern":"Exception in finish","errorType":"exception","errorClass":"TableException","httpStatus":null,"severity":"error","filePath":"flink-connectors/flink-connector-files/src/main/java/org/apache/flink/connector/file/table/batch/compact/BatchPartitionCommitterSink.java","lineNumber":131,"sourceCode":"                                    }\n                                });\n            }\n            // commit the partitions with the given files\n            // it will move the written temporary files to partition's location\n            FileSystemCommitter committer =\n                    new FileSystemCommitter(\n                            fsFactory,\n                            msFactory,\n                            overwrite,\n                            tmpPath,\n                            partitionColumns.length,\n                            isToLocal,\n                            identifier,\n                            staticPartitions,\n                            policies);\n            committer.commitPartitionsWithFiles(partitionsFiles);\n        } catch (Exception e) {\n            throw new TableException(\"Exception in finish\", e);\n        } finally {\n            try {\n                fsFactory.create(tmpPath.toUri()).delete(tmpPath, true);\n            } catch (IOException ignore) {\n            }\n        }\n    }\n\n    @Override\n    public void close() throws Exception {\n        staticPartitions.clear();\n        partitionsFiles.clear();\n    }\n}\n","sourceCodeStart":113,"sourceCodeEnd":146,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-connectors/flink-connector-files/src/main/java/org/apache/flink/connector/file/table/batch/compact/BatchPartitionCommitterSink.java#L113-L146","documentation":"Error \"Exception in finish\" thrown in apache/flink.","triggerScenarios":"Triggered at runtime when the operation fails because: Exception in finish.","commonSituations":"Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: Exception in finish.","solutions":["Address the cause reported by the error message: Exception in finish","Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry."],"exampleFix":"Correct the condition described (\"Exception in finish\") and rerun the job or command.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2f3c205e9266cb30240eb7f4fdab15cad629a70f","analyzedAt":"2026-08-14T08:48:24.518Z","schemaVersion":2},"datasetVersion":"2026-08-14T10:17:34.591Z"}