Vladimir Prus
03/08/2023, 7:01 PMimport io.delta.tables._
val deltaTable = DeltaTable.forPath(spark, "/tmp/delta/people-10m")
// Declare the predicate by using a SQL-formatted string.
deltaTable.delete("birthDate < '1955-01-01'")
But since Hive Metastore already has a location for a table, I don’t want to repeat myself, and would rather have
val deltaTable = DeltaTable.fromMetastore("mart.my_table")
is it possible?