Open jowlyzhang opened 2 weeks ago
@jowlyzhang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@jowlyzhang has updated the pull request. You must reimport the pull request before landing.
@jowlyzhang has updated the pull request. You must reimport the pull request before landing.
@jowlyzhang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
This PR adds the definition for the public APIs for surfacing data write time info. It only contains minimum implementation. The implementations will be in follow ups. I need to sync with customers if these public APIs meet their requirements and are easy to use. And make modifications accordingly before proceeding with implementations.
struct DataCollectionUnixWriteTimeInfo
is a struct for the unix write time info for a collection of dataDB::GetPropertiesOfTablesForLevels
returns table properties collection per levelGetDataCollectionUnixWriteTimeInfoForFile
returns the data write time info for a file.GetDataCollectionUnixWriteTimeInfoForLevels
returns the data write time info for levels.Follow ups:
Test plan: No functional change, also follow ups should have tests covering the minimum implementation added in this PR.