Skip to content

Commit

Permalink
fix(DeltaUtils.getTableStats): Remove isDeltaTable requirement (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurabegin authored Dec 12, 2024
1 parent 44efe2a commit d038195
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ object DeltaUtils {
* }}}
*/
def getTableStats(path: String)(implicit spark: SparkSession): DataFrame = {
require(DeltaTable.isDeltaTable(path), "Table must be a Delta table.")
val (_, snapshot) = DeltaLog.forTableWithSnapshot(spark, path)
snapshot.withStats
}
Expand Down

0 comments on commit d038195

Please sign in to comment.