-
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.
Add pandas udf support, add SQL persist broadcast (#27)
* setup fugue sql * SQL: add basic extensions and tests * update * update * clean up sql files * fix syntax, add save load * add test for load * FugueSQLWorkflow * update version * Add pandas udf support, add SQL persist broadcast * update * update * update * update * update
- Loading branch information
Han Wang
authored
Jun 12, 2020
1 parent
a55dc33
commit 05ab46d
Showing
23 changed files
with
7,687 additions
and
7,458 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,20 @@ | ||
__version__ = "0.2.5" | ||
# flake8: noqa | ||
|
||
__version__ = "0.2.6" | ||
|
||
from fugue.collections.partition import PartitionCursor, PartitionSpec | ||
from fugue.dataframe.array_dataframe import ArrayDataFrame | ||
from fugue.dataframe.arrow_dataframe import ArrowDataFrame | ||
from fugue.dataframe.dataframe import DataFrame, LocalBoundedDataFrame, LocalDataFrame | ||
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 fugue.execution.execution_engine import ExecutionEngine, SQLEngine | ||
from fugue.execution.native_execution_engine import NativeExecutionEngine, SqliteEngine | ||
from fugue.extensions.creator import Creator, creator | ||
from fugue.extensions.outputter import Outputter, outputter | ||
from fugue.extensions.processor import Processor, processor | ||
from fugue.extensions.transformer import CoTransformer, Transformer, transformer | ||
from fugue.workflow.workflow import FugueWorkflow, WorkflowDataFrame | ||
from fugue.workflow.workflow_context import FugueWorkflowContext |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# flake8: noqa | ||
from fugue.collections.partition import PartitionSpec, PartitionCursor |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# flake8: noqa | ||
from fugue.extensions.transformer import Transformer, CoTransformer, transformer | ||
from fugue.extensions.creator import Creator, creator | ||
from fugue.extensions.processor import Processor, processor | ||
from fugue.extensions.outputter import Outputter, outputter |
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,3 +1,4 @@ | ||
# flake8: noqa | ||
|
||
from fugue.workflow.workflow import FugueWorkflow, WorkflowDataFrame | ||
from fugue.workflow.workflow_context import FugueWorkflowContext |
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,2 +1,3 @@ | ||
# flake8: noqa | ||
from fugue_dask.dataframe import DaskDataFrame | ||
from fugue_dask.execution_engine import DaskExecutionEngine |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# flake8: noqa | ||
from fugue_spark.dataframe import SparkDataFrame | ||
from fugue_spark.execution_engine import SparkExecutionEngine |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from typing import Dict, Any | ||
|
||
FUGUE_SPARK_DEFAULT_CONF: Dict[str, Any] = {"fugue.spark.use_pandas_udf": False} |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# flake8: noqa | ||
from fugue_sql.workflow import FugueSQLWorkflow |
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.