Skip to content

Handles polars upgrade to 1.0.0 - #1001

Merged
elijahbenizzy merged 1 commit into
mainfrom
polars-upgrades
Jul 2, 2024
Merged

Handles polars upgrade to 1.0.0#1001
elijahbenizzy merged 1 commit into
mainfrom
polars-upgrades

Conversation

@elijahbenizzy

Copy link
Copy Markdown
Contributor

Decisions:

  1. Not backwards compatible -- we're effectively wrapping the library and we don't want to provide a bridge. This is polars versioning, not Hamilton versioning, however, so it's OK to keep this a patch bump (any polars code would have broken already).
  2. They deprecated the usage of a connection string (sqllite://) in the PolarsDatabase{reader/writer} -- we've deprecated/changed the type as well
  3. It switches based on polars version so people will only get the error for new polars upgrades

Otherwise, longer term, we're going to want to fix this -- moving away from these blind wrappers.

@elijahbenizzy
elijahbenizzy force-pushed the polars-upgrades branch 3 times, most recently from 210c01d to dd553cf Compare July 1, 2024 21:28
Comment thread hamilton/plugins/polars_post_1_0_0_extension.py Outdated
Decisions:
1. Not backwards compatible -- we're effectively wrapping the library
   and we don't want to provide a bridge. This is polars versioning, not
   Hamilton versioning, however, so it's OK to keep this a patch bump
   (any polars code would have broken already).
2. They deprecated the usage of a connection string (sqllite://) in the
   PolarsDatabase{reader/writer} -- we've deprecated/changed the type as
   well
3. It switches based on polars version so people will only get the error
   for new polars upgrades

Otherwise, longer term, we're going to want to fix this -- moving away
from these blind wrappers.
@elijahbenizzy
elijahbenizzy merged commit e3772dd into main Jul 2, 2024
@elijahbenizzy
elijahbenizzy deleted the polars-upgrades branch July 2, 2024 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants