Skip to content

Commit

Permalink
perf(exasol): speed up existence check
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Sep 11, 2024
1 parent d033ad3 commit b0e1eb3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ibis/backends/exasol/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ def _get_schema_using_query(self, query: str) -> sch.Schema:
finally:
self.con.execute(drop_view)

def _in_memory_table_exists(self, name: str) -> bool:
return self.con.meta.table_exists(name)

def _register_in_memory_table(self, op: ops.InMemoryTable) -> None:
schema = op.schema
if null_columns := [col for col, dtype in schema.items() if dtype.is_null()]:
Expand Down

0 comments on commit b0e1eb3

Please sign in to comment.