val oldestVersionAvailable = val newestVersionAvailable = val pathToDeltaTable = " val pathToFileName = " " (oldestVersionAvailable newestVersionAvailable)。地圖版本= > {var df1 = spark.read.json (f”pathToDeltaTable / _delta_log /版本% 020美元d.json”)如果(df1.columns.toSeq.contains(“刪除”)){var df2 = df1。(“刪除非空”).select (“remove.path”) var df3 = df2.filter (“path.contains如果(df3 (pathToFileName))。數> 0)打印(s”提交版本美元版本刪除文件$ pathToFileName \ n ")}}
val oldestVersionAvailable = val newestVersionAvailable = val pathToDeltaTable = " val pathToFileName = " " (oldestVersionAvailable newestVersionAvailable)。地圖版本= > {var df1 = spark.read.json (f”pathToDeltaTable / _delta_log /版本% 020美元d.json”)如果(df1.columns.toSeq.contains(“刪除”)){var df2 = df1。(“刪除非空”).select (“remove.path”) var df3 = df2.filter (“path.contains如果(df3 (pathToFileName))。數> 0)打印(s”提交版本美元版本刪除文件$ pathToFileName \ n ")}}