Skip to content

Commit

Permalink
chore(flink): provide flink memtable creator with schema
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Sep 23, 2024
1 parent 0321fb0 commit 5ee91ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibis/backends/flink/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def _register_in_memory_table(self, op: ops.InMemoryTable) -> None:
f"{self.name} cannot yet reliably handle `null` typed columns; "
f"got null typed columns: {null_columns}"
)
self.create_view(op.name, op.data.to_frame(), temp=True)
self.create_view(op.name, op.data.to_frame(), schema=op.schema, temp=True)

Check warning on line 378 in ibis/backends/flink/__init__.py

View check run for this annotation

Codecov / codecov/patch

ibis/backends/flink/__init__.py#L378

Added line #L378 was not covered by tests

def _finalize_memtable(self, name: str) -> None:
self.drop_view(name, temp=True, force=True)

Check warning on line 381 in ibis/backends/flink/__init__.py

View check run for this annotation

Codecov / codecov/patch

ibis/backends/flink/__init__.py#L381

Added line #L381 was not covered by tests
Expand Down

0 comments on commit 5ee91ef

Please sign in to comment.