You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently support transparent memtable creation from pandas DataFrames and pyarrow Tables if they are provided as the RHS of a join expression.
We should extend that to include other data inputs that are supported by memtable, namely polars DataFrames and arrow RecordBatchReaders
The text was updated successfully, but these errors were encountered:
I'd vote to drop support for this instead. For backends that don't have efficient memtables, implicitly creating a memtable multiple times will result in lower performance than calling ibis.memtable once and reusing it. Forcing users to be explicit when coercing other inputs to ibis feels more-correct to me. It's also a bit weird to do this in join methods but not in other table-taking methods like ibis.union.
…s-project#9661)
## Description of changes
We have (had) limited support for passing in in-memory objects as the
RHS of a join, where we would create a memtable for the user and then
use that. For backends where memtable creation is expensive, or for
queries where there may be multiple calls to the same in-memory data, it
is better to be explicit and first register the in-memory data with the
backend using either `memtable` or `create_table`.
BREAKING CHANGE: Passing a `pyarrow.Table` or a `pandas.DataFrame` as
the right-hand-side of a join is no longer supported.
To join against in-memory data, you can pass the in-memory object to
`ibis.memtable` or `con.create_table` and use the resulting table object
instead.
## Issues closed
* Resolvesibis-project#9571
We currently support transparent
memtable
creation from pandas DataFrames and pyarrow Tables if they are provided as the RHS of a join expression.We should extend that to include other data inputs that are supported by
memtable
, namely polars DataFrames and arrow RecordBatchReadersThe text was updated successfully, but these errors were encountered: