Skip to content

Commit 4e094ca

Browse files
committed
fix: cursor name should not be schema-bound
Signed-off-by: Bugen Zhao <[email protected]>
1 parent 84f1337 commit 4e094ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

risingwave/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ def _run(
554554
wait_interval_ms: int = DEFAULT_CURSOR_IDLE_INTERVAL_MS,
555555
cursor_name: str = "default",
556556
):
557-
cursor_name = f"{self.schema_name}.risingwave_py_cursor_{cursor_name}_{self.sub_name}"
557+
cursor_name = f"risingwave_py_cursor_{cursor_name}_{self.schema_name}_{self.sub_name}"
558558
fully_qual_sub_name = f"{self.schema_name}.{self.sub_name}"
559559

560560
if self.persist_progress:

0 commit comments

Comments
 (0)