Skip to content

DATA-4220: Update Go SDK + CLI to have enable backfill argument for CreateDataPipeline #5084

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gloriacai01
Copy link
Member

This PR adds the enable backfill argument for CreateDataPipeline to both the Go SDK and the CLI

@gloriacai01 gloriacai01 requested a review from a team as a code owner June 25, 2025 19:32
@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Jun 25, 2025
@gloriacai01 gloriacai01 requested a review from vijayvuyyuru June 25, 2025 19:33
@@ -1349,7 +1349,8 @@ func (d *DataClient) GetDataPipeline(ctx context.Context, id string) (*DataPipel

// CreateDataPipeline creates a new data pipeline using the given query and schedule.
func (d *DataClient) CreateDataPipeline(
ctx context.Context, organizationID, name string, query []map[string]interface{}, schedule string, opts *CreateDataPipelineOptions,
ctx context.Context, organizationID, name string, query []map[string]interface{}, schedule string,
enableBackfill bool, opts *CreateDataPipelineOptions,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we move this to the create pipeline options? To avoid this being a breaking change or do we want to for users to set it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enablebackfill is required, so i feel like it would be misleading to put it under options

@vijayvuyyuru vijayvuyyuru self-requested a review June 25, 2025 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants