RE: Queries regarding fetching of old iceberg schema and how to use iceberg-arrow apis

2021-05-10 Thread Mayur Srivastava
, May 9, 2021 5:54 PM To: dev@iceberg.apache.org Subject: Re: Queries regarding fetching of old iceberg schema and how to use iceberg-arrow apis Ayush, we're currently adding the ability to track the schema that a snapshot was current when a snapshot was written. Until then, you'll get t

Re: Queries regarding fetching of old iceberg schema and how to use iceberg-arrow apis

2021-05-09 Thread Ryan Blue
Ayush, we're currently adding the ability to track the schema that a snapshot was current when a snapshot was written. Until then, you'll get the table's current schema instead. I think there's also a PR that adds some ability to use iceberg-arrow like Iceberg generics. I've not had a chance to re

Queries regarding fetching of old iceberg schema and how to use iceberg-arrow apis

2021-05-08 Thread Ayush
Hi,I was trying to use apache iceberg to evolve my table schema and correspondingly add the new data to a parquet file. Now when I tried to revert back to a previous snapshot, I got the old data from the listed parquet files in that snapshot, but I was not able to retrieve the old schema. I was abl