-
Notifications
You must be signed in to change notification settings - Fork 147
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
[FEAT]: write lance #2421
[FEAT]: write lance #2421
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2421 +/- ##
=======================================
Coverage ? 63.14%
=======================================
Files ? 939
Lines ? 105349
Branches ? 0
=======================================
Hits ? 66519
Misses ? 38830
Partials ? 0
|
@samster25 any idea why this is failing only for 3.8 ray |
It looks like it's failing for all 3.8 CI jobs that use pyarrow 8+ (where the lance tests actually get triggered)
|
is ray using an older version of lance or something? because https://lancedb.github.io/lance/api/python/lance.html#lance.fragment.write_fragments |
@universalmind303 I dug into the bug a bit and was able to repro on a linux machine under python 3.8. It looks like the version (pylance-0.10.15) installed under 3.8 just doesn't have storage options as an argument. Maybe they dropped support for 3.8? To fix this, we should require a minimum version of lance where they introduced storage options. cc: @wjones127 |
It looks like lance requires >=3.9 |
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.
Looks great! Let's also make sure this is visible in the api docs as well as the integrations like this: https://www.getdaft.io/projects/docs/en/latest/user_guide/integrations/delta_lake.html
Co-authored-by: Will Jones <[email protected]>
[tool.pyright] | ||
typeCheckingMode = "off" | ||
venv = ".venv" | ||
venvPath = "." |
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.
Note: zed uses pyright by default without the ability to disable it, so i needed to add this to not see 100+ irrelevant type errors.
No description provided.