ratt-ru / dask-ms

Implementation of a dask/xarray dataset backed by a CASA MS
https://dask-ms.readthedocs.io
Other
19 stars 7 forks source link

Expose arrow schema somehow #137

Closed sjperkins closed 3 years ago

sjperkins commented 3 years ago

Description

It would be useful for the arrow schema to be exposed to the end user.

sjperkins commented 3 years ago

One option:

datasets, schema = xds_from_parquet(path, return_schema=True)

/cc @rubyvanrooyen

sjperkins commented 3 years ago

It is easy enough to extract this from the parquet file via the pyarrow interface