最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to validate the schema of a .parquet against AVRO (.avsc) schema using Python - Stack Overflow

programmeradmin3浏览0评论

I want to validate the schema of a .parquet file against a defined AVRO schema file. I am able to fetch the schema of .parquet file using pyarrow.parquet.ParquetFile but I am not sure what's the best way to validate this schema against the defined schema in .avsc file.

from pyarrow.parquet import ParquetFile ParquetFile(source).schema_arrow

I am able to fetch the schema of .parquet file using pyarrow.parquet.ParquetFile but I am not sure what's the best way to validate this schema against the defined schema in .avsc file.

发布评论

评论列表(0)

  1. 暂无评论