df = (spark.readStream.format("delta")\
.option("readChangeFeed", "true")\
.option("startingVersion", 1)\
.table("CatalogName.SchemaName.TableName")
)
display(df)
A file referenced in the transaction log cannot be found. This occurs when data has been manually deleted from the file system rather than using the table `DELETE` statement.
When I see the path of the file, file is not present there. It was neither deleted manually nor Optimized.
Does delta table have any default setting to optimize the table? When I check the history of the table, few records of OPTIMIZE is there and after that OPTIMIZE I was not able to see previous versions of the table though the complete data is available but I cannot see the initial version data of the table.