Re: [DISCUSS] REST: Way to query if metadata pointer is the latest

2024-11-17 Thread Shani Elharrar
You're totally right. Perhaps using a "Content-Location" header might be a better fit for that. Shani.On 18 Nov 2024, at 9:27, Taeyun Kim wrote:Hi,Here are my thoughts:- The value of ETag is (as far as I know) defined as an opaque string by the specification, meaning the client shouldn’t interpre

Re: [DISCUSS] REST: Way to query if metadata pointer is the latest

2024-11-17 Thread Taeyun Kim
Hi, Here are my thoughts: - The value of ETag is (as far as I know) defined as an opaque string by the specification, meaning the client shouldn’t interpret or assign any significance to it, regardless of what the server specifies. It’s best to avoid the client giving any particular meaning to

Re: [DISCUSS] REST: Way to query if metadata pointer is the latest

2024-11-17 Thread Shani Elharrar
Using the metadata file name as ETag is nice way to go. In that case, adding HEAD method support to the loadTable endpoint will return the latest metadata pointer, which can be used to support "isLatest" without returning the body. It can be also leveraged in order to return the latest metadata loc

Re: [VOTE][Go] Release Apache Iceberg Go v0.1.0 RC2

2024-11-17 Thread Amogh Jahagirdar
+1 (binding) Verified checksums, signatures, and tests. Thanks Matt! Thanks, Amogh Jahagirdar On Fri, Nov 15, 2024 at 9:42 AM Fokko Driesprong wrote: > +1 (binding) > > Verified checksums, signatures, and tests with the validation script using > the Apache dist (thanks Kevin!). Did some checks

Re: [DISCUSS] REST: Way to query if metadata pointer is the latest

2024-11-17 Thread Taeyun Kim
Hi, To Gabor: It doesn’t seem necessary to interpret HTTP caching literally in this context. Simply using the HTTP headers defined by HTTP caching to check the freshness of metadata should be sufficient. There’s no requirement for the client to duplicate or store cached HTTP responses. To Yufei