Skip to content

SQLContext.run_to_completion, SQLContext.start do not correctly check pipeline status #1797

@ryzhyk

Description

@ryzhyk

This check, and the one below verifies that self.state, which at this point is always equal to SHUTDOWN, regardless of the actual state of the pipeline:

if self.state != PipelineState.SHUTDOWN:

A minimal fix would be to retrieve the pipeline state before this check. But I actually think that we shouldn't try to track pipeline state in a local variable and should just always request it from the pipeline.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpython-sdkIssues related to the feldera python sdk

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions