An open-source storage framework that enables building a Lakehouse architecture with compute engines including Spark, PrestoDB, Flink, Trino, and Hive and APIs
The PR extracts the logic to block conversion to Delta table into a separate method checkConversionIsAllowed in ConvertToDeltaCommand in order not to bloat the main performConvert method when more blocking conditions are added.
How was this patch tested?
Just refactoring. Existent tests should cover the change.
Which Delta project/connector is this regarding?
Description
The PR extracts the logic to block conversion to Delta table into a separate method
checkConversionIsAllowed
inConvertToDeltaCommand
in order not to bloat the mainperformConvert
method when more blocking conditions are added.How was this patch tested?
Just refactoring. Existent tests should cover the change.
Does this PR introduce any user-facing changes?
No.