-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(datasets): support configuring the "database" (#909)
* Added table_args, combined save_args and table_args for save method to avoid breaking changes Signed-off-by: Mark Druffel <mark.druffel@gmail.com> * Added docstring and release note Signed-off-by: Mark Druffel <mark.druffel@gmail.com> * Updated release notes as feature, not bug Signed-off-by: Mark Druffel <mark.druffel@gmail.com> * Changes to fix bug with table_args & save_args Signed-off-by: Mark Druffel <mark.druffel@gmail.com> * Linting on table_dataset.py Signed-off-by: Mark Druffel <mark.druffel@gmail.com> * Ran table_dataset through black Signed-off-by: Mark Druffel <mark.druffel@gmail.com> * Removed table_args, added database arg, lots of changes made by black only file I touched was table_dataset Signed-off-by: Mark Druffel <mark.druffel@gmail.com> * Update to release note Signed-off-by: Mark Druffel <mark.druffel@gmail.com> * Created a v1 of testing, does not test catalog at all Signed-off-by: Mark Druffel <mark.druffel@gmail.com> * Fixed duplcated def in testing Signed-off-by: Mark Druffel <mark.druffel@gmail.com> * Fix typo in load Signed-off-by: Mark Druffel <mark.druffel@gmail.com> * revert(datasets): undo changes made by newer Black Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu> * revert(datasets): undo remaining newline additions Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu> * test(datasets): fix `ibis.TableDataset` unit tests Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu> * chore(datasets): simplify save logic, fix describe Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu> * ci(datasets): unbound Polars for test requirements Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu> * test(datasets): use a more version-agnostic assert Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu> * revert(datasets): undo `assert_frame_equal` change Refs: 10af4db Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu> * chore(datasets): use the Polars 1.0 equality check Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu> * chore(datasets): use calamine engine in Polars 1.0 Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu> * revert(datasets): undo swap to the calamine engine Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu> * fix(datasets): raise error manually for Polars 1.0 Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu> --------- Signed-off-by: Mark Druffel <mark.druffel@gmail.com> Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu> Co-authored-by: Deepyaman Datta <deepyaman.datta@utexas.edu>
- Loading branch information
1 parent
7baa826
commit 50fa3c0
Showing
4 changed files
with
92 additions
and
5 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,5 +1,4 @@ | ||
"""``SQLDataset`` to load and save data to a SQL backend.""" | ||
|
||
from __future__ import annotations | ||
|
||
import copy | ||
|
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