Skip to content

ENH: Add VOParquet support for TAP queries #753

Description

@stvoutsin

I am wondering if it would be worth adding support for VOParquet (https://www.ivoa.net/documents/Notes/VOParquet/20250116/NOTE-voparquet-1.0-20250116.html)?

This is supported as far as I can see in astropy, see:

job = AsyncTAPJob.create(
    service.baseurl, query,
    RESPONSEFORMAT="application/vnd.apache.parquet",
    session=session
)
job = job.run().wait()
response = session.get(job.result_uri, stream=True)
table = Table.read(io.BytesIO(response.content),
                   format="parquet.votable")

At Rubin we do currently support VOParquet output and are generally eager to start advertising that option more because of the noticeable performance improvements it gives us, so it would be nice if this was possible through PyVO.

If folks think this is worth adding I'm happy to work on this if no one else already was planning to do so.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions