Comments (5)
@dustinfarris this is not supported right now, but you can disable the compilation of the Polars by adding the option skip_compilation?: true
to the Explorer.PolarsBackend.Native
module, where Rustler is configured. Reference for these options can be found in Rustler's doc.
Just make sure that the file priv/native/libexplorer.*
exists. This file is generated when Polars is compiled with Rustler and the extension can changed based on your OS.
We are researching a way to use precompiled Polars. Stay tuned :)
from explorer.
Just to give an update: we are waiting for this PR to get merged (or we publish that work as a separated package): rusterlium/rustler#419
I can ping you here when we have the feature :)
from explorer.
@dustinfarris precompiled Polars will be available soon. I was closing as I thought @philss answer solved the specific issue -- if that's not right I'm happy to reopen.
ok got it thanks for clarifying — i'll keep watching the repo for an update on precompiled.
fyi for anyone else watching this, we went with a slightly different workaround:
config :explorer, Explorer.PolarsBackend.Native,
# By default, Polars compiles inside a build directry in deps/explorer.
# Fully compiling Polars can take well over 15 minutes. This config moves the
# location outside of deps, so that Polars does not have to fully re-compile
# whenever deps is cleaned or re-created. To force Polars to recompile, just
# remove _explorer from your project root.
target_dir: Path.expand("_explorer/build")
which has been working fairly well in CI (except when GitHub Actions randomly busts our cache for no reason)
from explorer.
@cigrainger was this resolved?
from explorer.
@dustinfarris precompiled Polars will be available soon. I was closing as I thought @philss answer solved the specific issue -- if that's not right I'm happy to reopen.
from explorer.
Related Issues (20)
- Config to make table view default like in Polars itself HOT 1
- Duckdb select statement only works on non first line in the cell HOT 4
- Explorer.DataFrame.from_query/4 with :snowflake adapter returns dtype error on any numeric field HOT 3
- Orders of names after CSV loading seems buggy since 9.0 HOT 5
- Join on columns of type `:list` HOT 2
- Discrepancy between typespec for Series.cast/2 (parameter dtype) and implementation HOT 1
- LazyFrame not being able to cast dtypes HOT 1
- DataFrame.load_csv!/2 seems to fail on certain options HOT 2
- Mathematical operations are newline dependent in `summarise` macro HOT 2
- Support dplyr-like `keep` argument for `mutate` functions HOT 1
- v0.9 names_from no longer included means loss of valuable information HOT 10
- `to_csv` function occasionally generates CSV files with binary encoding HOT 1
- Support expressions in `on` option for complex Joins HOT 3
- how to set infer_schema=false for IO HOT 2
- bug report: csv load option causing column reading out of order HOT 2
- Replace infer_schema_length by infer_schema HOT 4
- NIF doesn't seem to be available HOT 1
- Panic for list of lists with `nil` entries HOT 1
- DateTime panic when using ndjson
- Use case: Conditionally mutate data HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from explorer.