Skip to content
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

Handles polars upgrade to 1.0.0 #1001

Merged
merged 1 commit into from
Jul 2, 2024
Merged

Handles polars upgrade to 1.0.0 #1001

merged 1 commit into from
Jul 2, 2024

Conversation

elijahbenizzy
Copy link
Collaborator

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
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
18 of 19 checks passed
@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.

None yet

2 participants