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

fix: release-plz rejects ignored but checked in files #1159

Merged
merged 2 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed docs/_static/example.vortex
Binary file not shown.
16 changes: 9 additions & 7 deletions docs/guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,20 @@ Query Engines

:class:`~vortex.dataset.VortexDataset` implements the :class:`pyarrow.dataset.Dataset` API which
enables many Python-based query engines to pushdown row filters and column projections on Vortex
files.
files. All the query engine examples use the same Vortex file:

>>> import vortex
>>> import pyarrow.parquet as pq
>>> vtx = vortex.array(pq.read_table("_static/example.parquet"))
>>> vortex.io.write_path(vtx, 'example.vortex')
>>> ds = vortex.dataset.from_path(
... 'example.vortex'
... )

Polars
^^^^^^

>>> import polars as pl
>>> ds = vortex.dataset.from_path(
... '_static/example.vortex'
... )
>>> lf = pl.scan_pyarrow_dataset(ds)
>>> lf = lf.select('tip_amount', 'fare_amount')
>>> lf = lf.head(3)
Expand All @@ -157,9 +162,6 @@ DuckDB
^^^^^^

>>> import duckdb
>>> ds = vortex.dataset.from_path(
... '_static/example.vortex'
... )
>>> duckdb.sql('select ds.tip_amount, ds.fare_amount from ds limit 3').show()
┌────────────┬─────────────┐
│ tip_amount │ fare_amount │
Expand Down
Loading