-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ReplaceWhere is a Delta write operation mode that allows overwriting the table by appending data in the df and deleting rows that match the specified condition. * Operation Metrics is operation based history like numRemovedFiles, numAddedFiles that is retrievable via the `DESC HISTORY` command * A new modification of replaceWhere command was added recently that allows for non-partition commands. The replaceWhere is now implemented as an append and Delete(Delete command can write too) * Modified the metrics collection to look at stats and also collect through UDF replaceWhere - writeFiles(append) -> basicWriteStatsTracker (conflict with below when registerSQLMetrics is called) - DeleteCommand (delete + write out rows) -> basicWriteStatsTracker metrics from first write is not reported - added unit tests GitOrigin-RevId: b9c6d1036aa8d4a707fb649ab8fa0498558cc0d3
- Loading branch information
1 parent
d1c9a2f
commit 39aff15
Showing
5 changed files
with
410 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.