-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Ibis Engine and add DataFrame column names normalizers (#366)
* update dependencies * update * fix dependencies * update * fix compatibility * update * sql syntax update * Update Ibis Engine * update * Add dataframe column names normalizers
- Loading branch information
1 parent
f7c5e63
commit c7bc70f
Showing
15 changed files
with
386 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
from typing import Callable | ||
from triad import conditional_dispatcher | ||
from triad.utils.dispatcher import ConditionalDispatcher | ||
|
||
_FUGUE_ENTRYPOINT = "fugue.plugins" | ||
|
||
|
||
def fugue_plugin(func: Callable) -> Callable: | ||
return conditional_dispatcher(entry_point=_FUGUE_ENTRYPOINT)(func) | ||
def fugue_plugin(func: Callable) -> ConditionalDispatcher: | ||
return conditional_dispatcher(entry_point=_FUGUE_ENTRYPOINT)(func) # type: ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
# flake8: noqa | ||
from fugue.dataframe.array_dataframe import ArrayDataFrame | ||
from fugue.dataframe.arrow_dataframe import ArrowDataFrame | ||
from fugue.dataframe.dataframe import ( | ||
from .array_dataframe import ArrayDataFrame | ||
from .arrow_dataframe import ArrowDataFrame | ||
from .dataframe import ( | ||
DataFrame, | ||
LocalBoundedDataFrame, | ||
LocalDataFrame, | ||
YieldedDataFrame, | ||
) | ||
from fugue.dataframe.dataframe_iterable_dataframe import LocalDataFrameIterableDataFrame | ||
from fugue.dataframe.dataframes import DataFrames | ||
from fugue.dataframe.iterable_dataframe import IterableDataFrame | ||
from fugue.dataframe.pandas_dataframe import PandasDataFrame | ||
from fugue.dataframe.utils import to_local_bounded_df, to_local_df | ||
from .dataframe_iterable_dataframe import LocalDataFrameIterableDataFrame | ||
from .dataframes import DataFrames | ||
from .iterable_dataframe import IterableDataFrame | ||
from .pandas_dataframe import PandasDataFrame | ||
from .utils import ( | ||
get_dataframe_column_names, | ||
normalize_dataframe_column_names, | ||
rename_dataframe_column_names, | ||
to_local_bounded_df, | ||
to_local_df, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# flake8: noqa | ||
# pylint: disable-all | ||
|
||
try: | ||
try: # pragma: no cover | ||
from ibis.expr.types import Table as IbisTable | ||
except Exception: | ||
except Exception: # pragma: no cover | ||
from ibis.expr.types import TableExpr as IbisTable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.