-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'devel' into feat/improves-run-context
- Loading branch information
Showing
6 changed files
with
12,649 additions
and
6 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 |
---|---|---|
|
@@ -198,12 +198,15 @@ def _double_as_decimal_adapter(table: sa.Table) -> None: | |
sql_alchemy_source = sql_database( | ||
"mysql+pymysql://[email protected]:4497/Rfam?&binary_prefix=true", | ||
backend="pyarrow", | ||
backend_kwargs={"tz": "UTC"}, | ||
table_adapter_callback=_double_as_decimal_adapter | ||
).with_resources("family", "genome") | ||
|
||
info = pipeline.run(sql_alchemy_source) | ||
print(info) | ||
``` | ||
For more information on the `tz` parameter within `backend_kwargs` supported by PyArrow, please refer to the | ||
[official documentation.](https://arrow.apache.org/docs/python/generated/pyarrow.timestamp.html) | ||
|
||
### Pandas | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.