-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Fix issue #285 : save hive partitioned dataset using NativeExecutionEngine and DaskExecutionEngine #306
Merged
goodwanghan
merged 18 commits into
fugue-project:master
from
LaurentErreca:fix/issue_285
Apr 3, 2022
Merged
Changes from 17 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
53d9e7d
Work in progress to fix issue 285 reported here https://github.com/fu…
LaurentErreca af81b59
Use option partition_on in Dask execution engine to write hive partit…
LaurentErreca 36c17b8
Add handling for spark array type (#307)
WangCHX 1b32865
adding ecosystem to README
kvnkho 9a12cb6
adding ecosystem to README
kvnkho 3e6cfda
downloads badge
kvnkho 42daae4
merge conflict
kvnkho 4419961
Merge pull request #309 from kvnkho/master
kvnkho f2676e0
Fugue plugin (#311)
goodwanghan d0c7d96
upgrading black version
kvnkho a53fc9c
fixing black version
kvnkho 73d551b
Merge pull request #314 from kvnkho/black_version
kvnkho 7678f31
Work in progress to fix issue 285 reported here https://github.com/fu…
LaurentErreca 3f1d7e4
Use option partition_on in Dask execution engine to write hive partit…
LaurentErreca 8af3bb0
Handle hive partitioning with Duckdb execution engine
LaurentErreca d4fa047
Merge commit
LaurentErreca a561717
Clean code with pylint
LaurentErreca b3e86b5
Use ArrowDataFrame(df.as_arrow()) instead of ArrowDataFrame(df.native…
LaurentErreca File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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,17 @@ | ||
try: | ||
from importlib.metadata import entry_points # type:ignore | ||
except ImportError: # pragma: no cover | ||
from importlib_metadata import entry_points # type:ignore | ||
|
||
|
||
def register_plugins(): | ||
for plugin in entry_points().get("fugue.plugins", []): | ||
try: | ||
register_func = plugin.load() | ||
assert callable(register_func), f"{plugin.name} is not a callable" | ||
register_func() | ||
except ImportError: # pragma: no cover | ||
pass | ||
|
||
|
||
register_plugins() |
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
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
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,4 +1,8 @@ | ||
# flake8: noqa | ||
from fugue_ibis.execution import pandas_backend | ||
from fugue_ibis.execution.ibis_engine import IbisEngine | ||
from fugue_ibis.extensions import run_ibis, as_ibis, as_fugue | ||
from fugue_ibis.execution.ibis_engine import IbisEngine, register_ibis_engine | ||
from fugue_ibis.execution.pandas_backend import _to_pandas_ibis_engine | ||
from fugue_ibis.extensions import as_fugue, as_ibis, run_ibis | ||
|
||
|
||
def register(): | ||
register_ibis_engine(1, _to_pandas_ibis_engine) |
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
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 @@ | ||
__version__ = "0.6.5" | ||
__version__ = "0.6.6" |
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ qpd[dask] | |
|
||
# test requirements | ||
pre-commit | ||
black | ||
black>=22.3.0 | ||
mypy | ||
flake8 | ||
autopep8 | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use
ArrowDataFrame(df.as_arrow())
insteadThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok