-
-
Notifications
You must be signed in to change notification settings - Fork 145
fix: capture time created from metadata not filename #1211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe changes update the time handling in file exclusion logic. The parameter type for the exclusion time in the Changes
Sequence Diagram(s)sequenceDiagram
participant C as convert_disk_files_to_parquet
participant S as Stream::arrow_files_grouped_exclude_time
participant F as Arrow File
C->>+S: Call arrow_files_grouped_exclude_time(SystemTime, shutdown_signal)
Note over S, F: For each arrow file, compare creation time in ms
S-->>-C: Return filtered files based on timestamp
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (5)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
Fixes #XXXX.
Description
Currently we use filename to discover files that aren't to be considered for compaction, with this PR we will consider file creation time instead.
This PR has:
Summary by CodeRabbit