Daniel Bariudin
05/24/2023, 8:17 AMDeltaTable.isDeltaTable(spark, "/path/to/table")
For given root path: "/path/to/table"
if the sub path "/path/to"
has deltalog directory, the function return True.
The Documentation the provided is:
"classmethod *`isDeltaTable`*(sparkSession: pyspark.sql.session.SparkSession, identifier: str) → bool
Check if the provided identifier string, in this case a file path, is the root of a Delta table using the given SparkSession."
_(_https://docs.delta.io/latest/api/python/index.html)
So the question is : if the root the I provided path don't contains Delta table ,
but the sub-root path has delta table and 'isDeltaTable' returns True - is this not a bug? or am I missing something?Nick Karpov
05/30/2023, 7:15 PMDaniel Bariudin
06/01/2023, 9:00 PM