I/O: API improvements: ctk {load,save} table becomes ctk {load,save}#706
I/O: API improvements: ctk {load,save} table becomes ctk {load,save}#706
ctk {load,save} table becomes ctk {load,save}#706Conversation
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (52)
WalkthroughThe PR removes the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant CLI
participant Router
participant Cluster
participant Storage
User->>CLI: ctk load "<source_url>" "<crate_url>"
CLI->>Router: parse args, normalize source/target <br/> handle api-evolution (cluster_url positional/optional)
Router->>Cluster: resolve cluster (cluster_id/name/url) & credentials
Router->>Storage: build Input/Output resource from source_url
Router->>Cluster: dispatch load job (resource, schema/table, options)
Cluster->>Storage: request/fetch data
Storage-->>Cluster: stream data chunks
Cluster-->>Router: job status/result
Router-->>CLI: format output
CLI-->>User: exit code + output
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Also, the `--cluster-url` option becomes optional. That's a much more concise interface now.
About
Giving the data loader interface some more love for better usability.
Details
The entrypoint commands are now just
ctk loadandctk save. Also, the--cluster-urloption became optional. That's a much more concise interface now.Poem
🐰 Hoppy refactoring brings simplicity anew!
No more table subcommands cluttering the view,
Just ctk load and ctk save so clean,
The simplest CLI you've ever seen!
Arguments dance as positional strings—
Such elegance is what good design brings! 🌟