Skip to content

Commit

Permalink
refactor(dask): remove unneeded create_table()
Browse files Browse the repository at this point in the history
This is just delegating to super(), so it's not needed.
  • Loading branch information
NickCrews authored and cpcloud committed Mar 8, 2023
1 parent fcbb3d5 commit 86885a6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ibis/backends/dask/__init__.py
Expand Up @@ -128,15 +128,6 @@ def _convert_schema(schema: sch.Schema):
def _convert_object(cls, obj: dd.DataFrame) -> dd.DataFrame:
return obj

def create_table(
self,
table_name: str,
obj: dd.DataFrame | None = None,
schema: sch.Schema | None = None,
):
"""Create a table."""
super().create_table(table_name, obj=obj, schema=schema)

def _cache(self, expr):
persisted_table_name = util.generate_unique_table_name("cache")
df = self.compile(expr).persist()
Expand Down

0 comments on commit 86885a6

Please sign in to comment.