Skip to content

Vortex should support reading from the Hugging Face Datasets API #5379

Closed

Description

@danking

For example, the following should Just Work.

import vortex as vx
url = "hf://datasets/danking00/statpopgen-benchmark/10000/vortex-file-compressed/gnomad.genomes.v3.1.2.hgdp_tgp.chr21.vortex"

f = vx.open(url)
arrays = list(f.scan())

array = vx.io.read_url(url)

This works fine for Parquet files:

import pyarrow.dataset as ds
import pyarrow.parquet as pq

table = pq.read_table("hf://datasets/danking00/statpopgen-benchmark/10000/parquet/gnomad.genomes.v3.1.2.hgdp_tgp.chr21.parquet")

dataset = ds.dataset(
    "hf://datasets/danking00/statpopgen-benchmark/10000/parquet/gnomad.genomes.v3.1.2.hgdp_tgp.chr21.parquet",
    format="parquet",
)
scanned = dataset.to_table()

See also

huggingface/datasets#7863

Activity

  1. danking commented on Nov 18, 2025

    @danking
    ContributorAuthor

    Ideally this would also work with Polars, DataFusion & DuckDB.

  2. added theissue type on Jan 22, 2026
  3. removed theissue type on Jan 22, 2026
  4. added
    featureA feature request
    and removed on Jan 22, 2026
  5. added 6 commits that reference this issue on Aug 7, 2026
    c1ae775
    a0677fe
    c320fe2
    8043b00
    dfabcd8
    091f481
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions