Skip to content

Add datasource copy API#710

Draft
guysmoilov wants to merge 4 commits into
mainfrom
data-engine-datasource-copy
Draft

Add datasource copy API#710
guysmoilov wants to merge 4 commits into
mainfrom
data-engine-datasource-copy

Conversation

@guysmoilov

@guysmoilov guysmoilov commented Jul 16, 2026

Copy link
Copy Markdown
Member

Summary

  • expose asynchronous datasource query materialization through copy_datasource and Datasource.copy_to
  • serialize the current fluent datasource query automatically, including filters, projections/aliases, limits, and asOf
  • return detailed datasource origin lineage from the copy mutation

Example:

materialized = source[source["score"] >= 0.8].select("label", "score").limit(10_000).copy_to(
    "high-confidence-training"
)

Tests

  • GraphQL mutation and parameter serialization
  • omitted-query latest-state behavior
  • typed datasource/origin response conversion
  • fluent Datasource.copy_to() query forwarding

@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 529c7ebc-4b10-4d4b-9df8-b9d6f3f43e59

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch data-engine-datasource-copy

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant