Hi,
I need some quick way to return True if Delta Table is Empty.
Tried this, but is is quite slow when checking more tables.
spark.read.table("table_name").count()
spark.read.table("table_name").rdd.isEmpty()
len(spark.read.table("table_name").head(1)) == 0
Thank you.