Anton Okolnychyi created SPARK-33623: ----------------------------------------
Summary: Add canDeleteWhere to SupportsDelete Key: SPARK-33623 URL: https://issues.apache.org/jira/browse/SPARK-33623 Project: Spark Issue Type: Improvement Components: SQL Affects Versions: 3.1.0 Reporter: Anton Okolnychyi The only way to support delete statements right now is to implement \{{SupportsDelete}}. According to its Javadoc, that interface is meant for cases when we can delete data without much effort (e.g. like deleting a complete partition in a Hive table). It is clear we need a more sophisticated API for row-level deletes. That's why it would be beneficial to add a method to \{{SupportsDelete}} so that Spark can check if a source can easily delete data with just having filters or it will need a full rewrite later on. This way, we have more control in the future. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org