Re: [VOTE] Finalize Variant and Shredding Spec

2026-04-27 Thread Andrew Lamb
There are examples of both variant[1] and shredded_variant[2] in
parquet-testing

I am not sure about if/when it changed.

Andrew

[1]: https://github.com/apache/parquet-testing/tree/master/variant
[2]: https://github.com/apache/parquet-testing/tree/master/shredded_variant

On Mon, Apr 27, 2026 at 12:44 PM Steve Loughran  wrote:

> Can I note on this that  multiple seem to have got the isSorted handling of
> objects wrong...did it change late in the spec?
>
>
>1. Test files for variants are needed. Has anyone started on that
>2. Everyone who does a binary search for object fields should only do it
>if the sorted flag is set (header bit 0x10), or they sort fields when
> they
>cache keys.
>
>
>
>
> On Sun, 24 Aug 2025 at 17:16, Aihua Xu  wrote:
>
> > Hi everyone,
> >
> > Thank you to all who participated in the vote to finalize the Variant and
> > Shredding specifications.
> >
> > Vote results:
> >
> >-
> >
> >+1: 6 (binding), 7 (non-binding)
> >-
> >
> >+0: 0 (binding), 0 (non-binding)
> >-
> >
> >-1: 0 (binding), 0 (non-binding)
> >
> > The vote has passed! We will proceed to merge PR #509
> >  to finalize the
> > specifications.
> >
> > Thanks again for your input and support.
> >
> > Aihua
> >
> > On Fri, Aug 22, 2025 at 10:03 AM Prashant Singh <
> [email protected]>
> > wrote:
> >
> > > +1 (non-binding)
> > >
> > > On Fri, Aug 22, 2025 at 9:52 AM Amogh Jahagirdar 
> > > wrote:
> > >
> > > > +1 (non-binding)
> > > >
> > > > On 2025/08/20 18:25:19 Aihua Xu wrote:
> > > > > Hi community,
> > > > >
> > > > > I’d like to follow up on our community sync to proceed with
> > finalizing
> > > > the
> > > > > variant spec.
> > > > >
> > > > > Per the Parquet specification requirements, two reference
> > > implementations
> > > > > are needed to finalize the Variant logical type. Both Java and Go
> > > > > implementations now support variant encoding and shredding.
> > > > >
> > > > > Java already has the encoding and shredding implementations in
> place:
> > > > > apache/parquet-java#3197 <
> > > > https://github.com/apache/parquet-java/pull/3197>
> > > > > apache/parquet-java#3202 <
> > > > https://github.com/apache/parquet-java/pull/3202>
> > > > > apache/parquet-java#3223
> > > > > 
> > > > > apache/parquet-java#3211
> > > > > 
> > > > >
> > > > > Go also includes encoding and shredding support:
> > > > > apache/arrow-go#344 
> > > > > apache/arrow-go#434 
> > > > >
> > > > > In addition, we have also completed cross-language validations
> > between
> > > > the
> > > > > Java and Go implementations (PR#3258
> > > > >  and PR#455
> > > > > ) to confirm
> > > compatibility
> > > > and
> > > > > make sure that the specs can be interpreted consistently. Rust has
> > also
> > > > > validated against the Variant test suites in PR#8104
> > > > > .
> > > > >
> > > > > Given this progress, I propose that we remove the "under
> development"
> > > > notes
> > > > > from the documentation and move forward with finalizing the
> > > > specifications (PR
> > > > > #509 ).
> > > > > This vote will be open for at least 72 hours.
> > > > >
> > > > > [ ] +1 Finalize Varint and Shredding Spec
> > > > > [ ] +0
> > > > > [ ] -1 Do not release this because...
> > > > >
> > > >
> > >
> >
>


Re: [VOTE] Finalize Variant and Shredding Spec

2026-04-27 Thread Steve Loughran
Can I note on this that  multiple seem to have got the isSorted handling of
objects wrong...did it change late in the spec?


   1. Test files for variants are needed. Has anyone started on that
   2. Everyone who does a binary search for object fields should only do it
   if the sorted flag is set (header bit 0x10), or they sort fields when they
   cache keys.




On Sun, 24 Aug 2025 at 17:16, Aihua Xu  wrote:

> Hi everyone,
>
> Thank you to all who participated in the vote to finalize the Variant and
> Shredding specifications.
>
> Vote results:
>
>-
>
>+1: 6 (binding), 7 (non-binding)
>-
>
>+0: 0 (binding), 0 (non-binding)
>-
>
>-1: 0 (binding), 0 (non-binding)
>
> The vote has passed! We will proceed to merge PR #509
>  to finalize the
> specifications.
>
> Thanks again for your input and support.
>
> Aihua
>
> On Fri, Aug 22, 2025 at 10:03 AM Prashant Singh 
> wrote:
>
> > +1 (non-binding)
> >
> > On Fri, Aug 22, 2025 at 9:52 AM Amogh Jahagirdar 
> > wrote:
> >
> > > +1 (non-binding)
> > >
> > > On 2025/08/20 18:25:19 Aihua Xu wrote:
> > > > Hi community,
> > > >
> > > > I’d like to follow up on our community sync to proceed with
> finalizing
> > > the
> > > > variant spec.
> > > >
> > > > Per the Parquet specification requirements, two reference
> > implementations
> > > > are needed to finalize the Variant logical type. Both Java and Go
> > > > implementations now support variant encoding and shredding.
> > > >
> > > > Java already has the encoding and shredding implementations in place:
> > > > apache/parquet-java#3197 <
> > > https://github.com/apache/parquet-java/pull/3197>
> > > > apache/parquet-java#3202 <
> > > https://github.com/apache/parquet-java/pull/3202>
> > > > apache/parquet-java#3223
> > > > 
> > > > apache/parquet-java#3211
> > > > 
> > > >
> > > > Go also includes encoding and shredding support:
> > > > apache/arrow-go#344 
> > > > apache/arrow-go#434 
> > > >
> > > > In addition, we have also completed cross-language validations
> between
> > > the
> > > > Java and Go implementations (PR#3258
> > > >  and PR#455
> > > > ) to confirm
> > compatibility
> > > and
> > > > make sure that the specs can be interpreted consistently. Rust has
> also
> > > > validated against the Variant test suites in PR#8104
> > > > .
> > > >
> > > > Given this progress, I propose that we remove the "under development"
> > > notes
> > > > from the documentation and move forward with finalizing the
> > > specifications (PR
> > > > #509 ).
> > > > This vote will be open for at least 72 hours.
> > > >
> > > > [ ] +1 Finalize Varint and Shredding Spec
> > > > [ ] +0
> > > > [ ] -1 Do not release this because...
> > > >
> > >
> >
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-08-24 Thread Aihua Xu
Hi everyone,

Thank you to all who participated in the vote to finalize the Variant and
Shredding specifications.

Vote results:

   -

   +1: 6 (binding), 7 (non-binding)
   -

   +0: 0 (binding), 0 (non-binding)
   -

   -1: 0 (binding), 0 (non-binding)

The vote has passed! We will proceed to merge PR #509
 to finalize the
specifications.

Thanks again for your input and support.

Aihua

On Fri, Aug 22, 2025 at 10:03 AM Prashant Singh 
wrote:

> +1 (non-binding)
>
> On Fri, Aug 22, 2025 at 9:52 AM Amogh Jahagirdar 
> wrote:
>
> > +1 (non-binding)
> >
> > On 2025/08/20 18:25:19 Aihua Xu wrote:
> > > Hi community,
> > >
> > > I’d like to follow up on our community sync to proceed with finalizing
> > the
> > > variant spec.
> > >
> > > Per the Parquet specification requirements, two reference
> implementations
> > > are needed to finalize the Variant logical type. Both Java and Go
> > > implementations now support variant encoding and shredding.
> > >
> > > Java already has the encoding and shredding implementations in place:
> > > apache/parquet-java#3197 <
> > https://github.com/apache/parquet-java/pull/3197>
> > > apache/parquet-java#3202 <
> > https://github.com/apache/parquet-java/pull/3202>
> > > apache/parquet-java#3223
> > > 
> > > apache/parquet-java#3211
> > > 
> > >
> > > Go also includes encoding and shredding support:
> > > apache/arrow-go#344 
> > > apache/arrow-go#434 
> > >
> > > In addition, we have also completed cross-language validations between
> > the
> > > Java and Go implementations (PR#3258
> > >  and PR#455
> > > ) to confirm
> compatibility
> > and
> > > make sure that the specs can be interpreted consistently. Rust has also
> > > validated against the Variant test suites in PR#8104
> > > .
> > >
> > > Given this progress, I propose that we remove the "under development"
> > notes
> > > from the documentation and move forward with finalizing the
> > specifications (PR
> > > #509 ).
> > > This vote will be open for at least 72 hours.
> > >
> > > [ ] +1 Finalize Varint and Shredding Spec
> > > [ ] +0
> > > [ ] -1 Do not release this because...
> > >
> >
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-08-22 Thread Prashant Singh
+1 (non-binding)

On Fri, Aug 22, 2025 at 9:52 AM Amogh Jahagirdar  wrote:

> +1 (non-binding)
>
> On 2025/08/20 18:25:19 Aihua Xu wrote:
> > Hi community,
> >
> > I’d like to follow up on our community sync to proceed with finalizing
> the
> > variant spec.
> >
> > Per the Parquet specification requirements, two reference implementations
> > are needed to finalize the Variant logical type. Both Java and Go
> > implementations now support variant encoding and shredding.
> >
> > Java already has the encoding and shredding implementations in place:
> > apache/parquet-java#3197 <
> https://github.com/apache/parquet-java/pull/3197>
> > apache/parquet-java#3202 <
> https://github.com/apache/parquet-java/pull/3202>
> > apache/parquet-java#3223
> > 
> > apache/parquet-java#3211
> > 
> >
> > Go also includes encoding and shredding support:
> > apache/arrow-go#344 
> > apache/arrow-go#434 
> >
> > In addition, we have also completed cross-language validations between
> the
> > Java and Go implementations (PR#3258
> >  and PR#455
> > ) to confirm compatibility
> and
> > make sure that the specs can be interpreted consistently. Rust has also
> > validated against the Variant test suites in PR#8104
> > .
> >
> > Given this progress, I propose that we remove the "under development"
> notes
> > from the documentation and move forward with finalizing the
> specifications (PR
> > #509 ).
> > This vote will be open for at least 72 hours.
> >
> > [ ] +1 Finalize Varint and Shredding Spec
> > [ ] +0
> > [ ] -1 Do not release this because...
> >
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-08-22 Thread Amogh Jahagirdar
+1 (non-binding)

On 2025/08/20 18:25:19 Aihua Xu wrote:
> Hi community,
> 
> I’d like to follow up on our community sync to proceed with finalizing the
> variant spec.
> 
> Per the Parquet specification requirements, two reference implementations
> are needed to finalize the Variant logical type. Both Java and Go
> implementations now support variant encoding and shredding.
> 
> Java already has the encoding and shredding implementations in place:
> apache/parquet-java#3197 
> apache/parquet-java#3202 
> apache/parquet-java#3223
> 
> apache/parquet-java#3211
> 
> 
> Go also includes encoding and shredding support:
> apache/arrow-go#344 
> apache/arrow-go#434 
> 
> In addition, we have also completed cross-language validations between the
> Java and Go implementations (PR#3258
>  and PR#455
> ) to confirm compatibility and
> make sure that the specs can be interpreted consistently. Rust has also
> validated against the Variant test suites in PR#8104
> .
> 
> Given this progress, I propose that we remove the "under development" notes
> from the documentation and move forward with finalizing the specifications (PR
> #509 ).
> This vote will be open for at least 72 hours.
> 
> [ ] +1 Finalize Varint and Shredding Spec
> [ ] +0
> [ ] -1 Do not release this because...
> 


Re: [VOTE] Finalize Variant and Shredding Spec

2025-08-21 Thread Gene Pang
+1 (non-binding)


On Thu, Aug 21, 2025, 2:14 AM Eduard Tudenhöfner 
wrote:

> +1 (non-binding)
>
> On Thu, Aug 21, 2025 at 10:38 AM Gang Wu  wrote:
>
> > +1 (binding)
> >
> > Thanks Aihua and everyone working on this!
> >
> > On Thu, Aug 21, 2025 at 3:17 PM Gábor Szádovszky 
> wrote:
> >
> > > +1 (binding)
> > >
> > > Daniel Weeks  ezt írta (időpont: 2025. aug. 20.,
> Sze,
> > > 23:52):
> > >
> > > > +1 (binding)
> > > >
> > > > On Wed, Aug 20, 2025 at 12:41 PM Ryan Blue  wrote:
> > > >
> > > > > +1 (binding)
> > > > >
> > > > > On Wed, Aug 20, 2025 at 12:34 PM Andrew Lamb <
> [email protected]
> > >
> > > > > wrote:
> > > > >
> > > > > > +1 (non binding)
> > > > > >
> > > > > > So exciting!
> > > > > >
> > > > > > On Wed, Aug 20, 2025 at 3:15 PM Micah Kornfield <
> > > [email protected]
> > > > >
> > > > > > wrote:
> > > > > >
> > > > > > > +1 (binding)
> > > > > > >
> > > > > > > Thanks Aihua for driving this and everyone else that
> contributed
> > to
> > > > it.
> > > > > > >
> > > > > > > On Wed, Aug 20, 2025 at 11:28 AM Fokko Driesprong <
> > > [email protected]>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > +1 (binding)
> > > > > > > >
> > > > > > > > Thanks for getting this in Aihua!
> > > > > > > >
> > > > > > > > Kind regards,
> > > > > > > > Fokko
> > > > > > > >
> > > > > > > > Op wo 20 aug 2025 om 20:26 schreef Aihua Xu <
> [email protected]
> > >:
> > > > > > > >
> > > > > > > > > Hi community,
> > > > > > > > >
> > > > > > > > > I’d like to follow up on our community sync to proceed with
> > > > > > finalizing
> > > > > > > > the
> > > > > > > > > variant spec.
> > > > > > > > >
> > > > > > > > > Per the Parquet specification requirements, two reference
> > > > > > > implementations
> > > > > > > > > are needed to finalize the Variant logical type. Both Java
> > and
> > > Go
> > > > > > > > > implementations now support variant encoding and shredding.
> > > > > > > > >
> > > > > > > > > Java already has the encoding and shredding implementations
> > in
> > > > > place:
> > > > > > > > > apache/parquet-java#3197 <
> > > > > > > > https://github.com/apache/parquet-java/pull/3197
> > > > > > > > > >
> > > > > > > > > apache/parquet-java#3202 <
> > > > > > > > https://github.com/apache/parquet-java/pull/3202
> > > > > > > > > >
> > > > > > > > > apache/parquet-java#3223
> > > > > > > > > 
> > > > > > > > > apache/parquet-java#3211
> > > > > > > > > 
> > > > > > > > >
> > > > > > > > > Go also includes encoding and shredding support:
> > > > > > > > > apache/arrow-go#344 <
> > > https://github.com/apache/arrow-go/pull/344
> > > > >
> > > > > > > > > apache/arrow-go#434 <
> > > https://github.com/apache/arrow-go/pull/434
> > > > >
> > > > > > > > >
> > > > > > > > > In addition, we have also completed cross-language
> > validations
> > > > > > between
> > > > > > > > the
> > > > > > > > > Java and Go implementations (PR#3258
> > > > > > > > >  and
> > PR#455
> > > > > > > > > ) to confirm
> > > > > > > compatibility
> > > > > > > > > and
> > > > > > > > > make sure that the specs can be interpreted consistently.
> > Rust
> > > > has
> > > > > > also
> > > > > > > > > validated against the Variant test suites in PR#8104
> > > > > > > > > .
> > > > > > > > >
> > > > > > > > > Given this progress, I propose that we remove the "under
> > > > > development"
> > > > > > > > notes
> > > > > > > > > from the documentation and move forward with finalizing the
> > > > > > > > specifications
> > > > > > > > > (PR
> > > > > > > > > #509 ).
> > > > > > > > > This vote will be open for at least 72 hours.
> > > > > > > > >
> > > > > > > > > [ ] +1 Finalize Varint and Shredding Spec
> > > > > > > > > [ ] +0
> > > > > > > > > [ ] -1 Do not release this because...
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-08-21 Thread Eduard Tudenhöfner
+1 (non-binding)

On Thu, Aug 21, 2025 at 10:38 AM Gang Wu  wrote:

> +1 (binding)
>
> Thanks Aihua and everyone working on this!
>
> On Thu, Aug 21, 2025 at 3:17 PM Gábor Szádovszky  wrote:
>
> > +1 (binding)
> >
> > Daniel Weeks  ezt írta (időpont: 2025. aug. 20., Sze,
> > 23:52):
> >
> > > +1 (binding)
> > >
> > > On Wed, Aug 20, 2025 at 12:41 PM Ryan Blue  wrote:
> > >
> > > > +1 (binding)
> > > >
> > > > On Wed, Aug 20, 2025 at 12:34 PM Andrew Lamb  >
> > > > wrote:
> > > >
> > > > > +1 (non binding)
> > > > >
> > > > > So exciting!
> > > > >
> > > > > On Wed, Aug 20, 2025 at 3:15 PM Micah Kornfield <
> > [email protected]
> > > >
> > > > > wrote:
> > > > >
> > > > > > +1 (binding)
> > > > > >
> > > > > > Thanks Aihua for driving this and everyone else that contributed
> to
> > > it.
> > > > > >
> > > > > > On Wed, Aug 20, 2025 at 11:28 AM Fokko Driesprong <
> > [email protected]>
> > > > > > wrote:
> > > > > >
> > > > > > > +1 (binding)
> > > > > > >
> > > > > > > Thanks for getting this in Aihua!
> > > > > > >
> > > > > > > Kind regards,
> > > > > > > Fokko
> > > > > > >
> > > > > > > Op wo 20 aug 2025 om 20:26 schreef Aihua Xu  >:
> > > > > > >
> > > > > > > > Hi community,
> > > > > > > >
> > > > > > > > I’d like to follow up on our community sync to proceed with
> > > > > finalizing
> > > > > > > the
> > > > > > > > variant spec.
> > > > > > > >
> > > > > > > > Per the Parquet specification requirements, two reference
> > > > > > implementations
> > > > > > > > are needed to finalize the Variant logical type. Both Java
> and
> > Go
> > > > > > > > implementations now support variant encoding and shredding.
> > > > > > > >
> > > > > > > > Java already has the encoding and shredding implementations
> in
> > > > place:
> > > > > > > > apache/parquet-java#3197 <
> > > > > > > https://github.com/apache/parquet-java/pull/3197
> > > > > > > > >
> > > > > > > > apache/parquet-java#3202 <
> > > > > > > https://github.com/apache/parquet-java/pull/3202
> > > > > > > > >
> > > > > > > > apache/parquet-java#3223
> > > > > > > > 
> > > > > > > > apache/parquet-java#3211
> > > > > > > > 
> > > > > > > >
> > > > > > > > Go also includes encoding and shredding support:
> > > > > > > > apache/arrow-go#344 <
> > https://github.com/apache/arrow-go/pull/344
> > > >
> > > > > > > > apache/arrow-go#434 <
> > https://github.com/apache/arrow-go/pull/434
> > > >
> > > > > > > >
> > > > > > > > In addition, we have also completed cross-language
> validations
> > > > > between
> > > > > > > the
> > > > > > > > Java and Go implementations (PR#3258
> > > > > > > >  and
> PR#455
> > > > > > > > ) to confirm
> > > > > > compatibility
> > > > > > > > and
> > > > > > > > make sure that the specs can be interpreted consistently.
> Rust
> > > has
> > > > > also
> > > > > > > > validated against the Variant test suites in PR#8104
> > > > > > > > .
> > > > > > > >
> > > > > > > > Given this progress, I propose that we remove the "under
> > > > development"
> > > > > > > notes
> > > > > > > > from the documentation and move forward with finalizing the
> > > > > > > specifications
> > > > > > > > (PR
> > > > > > > > #509 ).
> > > > > > > > This vote will be open for at least 72 hours.
> > > > > > > >
> > > > > > > > [ ] +1 Finalize Varint and Shredding Spec
> > > > > > > > [ ] +0
> > > > > > > > [ ] -1 Do not release this because...
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-08-21 Thread Gang Wu
+1 (binding)

Thanks Aihua and everyone working on this!

On Thu, Aug 21, 2025 at 3:17 PM Gábor Szádovszky  wrote:

> +1 (binding)
>
> Daniel Weeks  ezt írta (időpont: 2025. aug. 20., Sze,
> 23:52):
>
> > +1 (binding)
> >
> > On Wed, Aug 20, 2025 at 12:41 PM Ryan Blue  wrote:
> >
> > > +1 (binding)
> > >
> > > On Wed, Aug 20, 2025 at 12:34 PM Andrew Lamb 
> > > wrote:
> > >
> > > > +1 (non binding)
> > > >
> > > > So exciting!
> > > >
> > > > On Wed, Aug 20, 2025 at 3:15 PM Micah Kornfield <
> [email protected]
> > >
> > > > wrote:
> > > >
> > > > > +1 (binding)
> > > > >
> > > > > Thanks Aihua for driving this and everyone else that contributed to
> > it.
> > > > >
> > > > > On Wed, Aug 20, 2025 at 11:28 AM Fokko Driesprong <
> [email protected]>
> > > > > wrote:
> > > > >
> > > > > > +1 (binding)
> > > > > >
> > > > > > Thanks for getting this in Aihua!
> > > > > >
> > > > > > Kind regards,
> > > > > > Fokko
> > > > > >
> > > > > > Op wo 20 aug 2025 om 20:26 schreef Aihua Xu :
> > > > > >
> > > > > > > Hi community,
> > > > > > >
> > > > > > > I’d like to follow up on our community sync to proceed with
> > > > finalizing
> > > > > > the
> > > > > > > variant spec.
> > > > > > >
> > > > > > > Per the Parquet specification requirements, two reference
> > > > > implementations
> > > > > > > are needed to finalize the Variant logical type. Both Java and
> Go
> > > > > > > implementations now support variant encoding and shredding.
> > > > > > >
> > > > > > > Java already has the encoding and shredding implementations in
> > > place:
> > > > > > > apache/parquet-java#3197 <
> > > > > > https://github.com/apache/parquet-java/pull/3197
> > > > > > > >
> > > > > > > apache/parquet-java#3202 <
> > > > > > https://github.com/apache/parquet-java/pull/3202
> > > > > > > >
> > > > > > > apache/parquet-java#3223
> > > > > > > 
> > > > > > > apache/parquet-java#3211
> > > > > > > 
> > > > > > >
> > > > > > > Go also includes encoding and shredding support:
> > > > > > > apache/arrow-go#344 <
> https://github.com/apache/arrow-go/pull/344
> > >
> > > > > > > apache/arrow-go#434 <
> https://github.com/apache/arrow-go/pull/434
> > >
> > > > > > >
> > > > > > > In addition, we have also completed cross-language validations
> > > > between
> > > > > > the
> > > > > > > Java and Go implementations (PR#3258
> > > > > > >  and PR#455
> > > > > > > ) to confirm
> > > > > compatibility
> > > > > > > and
> > > > > > > make sure that the specs can be interpreted consistently. Rust
> > has
> > > > also
> > > > > > > validated against the Variant test suites in PR#8104
> > > > > > > .
> > > > > > >
> > > > > > > Given this progress, I propose that we remove the "under
> > > development"
> > > > > > notes
> > > > > > > from the documentation and move forward with finalizing the
> > > > > > specifications
> > > > > > > (PR
> > > > > > > #509 ).
> > > > > > > This vote will be open for at least 72 hours.
> > > > > > >
> > > > > > > [ ] +1 Finalize Varint and Shredding Spec
> > > > > > > [ ] +0
> > > > > > > [ ] -1 Do not release this because...
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-08-21 Thread Gábor Szádovszky
+1 (binding)

Daniel Weeks  ezt írta (időpont: 2025. aug. 20., Sze,
23:52):

> +1 (binding)
>
> On Wed, Aug 20, 2025 at 12:41 PM Ryan Blue  wrote:
>
> > +1 (binding)
> >
> > On Wed, Aug 20, 2025 at 12:34 PM Andrew Lamb 
> > wrote:
> >
> > > +1 (non binding)
> > >
> > > So exciting!
> > >
> > > On Wed, Aug 20, 2025 at 3:15 PM Micah Kornfield  >
> > > wrote:
> > >
> > > > +1 (binding)
> > > >
> > > > Thanks Aihua for driving this and everyone else that contributed to
> it.
> > > >
> > > > On Wed, Aug 20, 2025 at 11:28 AM Fokko Driesprong 
> > > > wrote:
> > > >
> > > > > +1 (binding)
> > > > >
> > > > > Thanks for getting this in Aihua!
> > > > >
> > > > > Kind regards,
> > > > > Fokko
> > > > >
> > > > > Op wo 20 aug 2025 om 20:26 schreef Aihua Xu :
> > > > >
> > > > > > Hi community,
> > > > > >
> > > > > > I’d like to follow up on our community sync to proceed with
> > > finalizing
> > > > > the
> > > > > > variant spec.
> > > > > >
> > > > > > Per the Parquet specification requirements, two reference
> > > > implementations
> > > > > > are needed to finalize the Variant logical type. Both Java and Go
> > > > > > implementations now support variant encoding and shredding.
> > > > > >
> > > > > > Java already has the encoding and shredding implementations in
> > place:
> > > > > > apache/parquet-java#3197 <
> > > > > https://github.com/apache/parquet-java/pull/3197
> > > > > > >
> > > > > > apache/parquet-java#3202 <
> > > > > https://github.com/apache/parquet-java/pull/3202
> > > > > > >
> > > > > > apache/parquet-java#3223
> > > > > > 
> > > > > > apache/parquet-java#3211
> > > > > > 
> > > > > >
> > > > > > Go also includes encoding and shredding support:
> > > > > > apache/arrow-go#344  >
> > > > > > apache/arrow-go#434  >
> > > > > >
> > > > > > In addition, we have also completed cross-language validations
> > > between
> > > > > the
> > > > > > Java and Go implementations (PR#3258
> > > > > >  and PR#455
> > > > > > ) to confirm
> > > > compatibility
> > > > > > and
> > > > > > make sure that the specs can be interpreted consistently. Rust
> has
> > > also
> > > > > > validated against the Variant test suites in PR#8104
> > > > > > .
> > > > > >
> > > > > > Given this progress, I propose that we remove the "under
> > development"
> > > > > notes
> > > > > > from the documentation and move forward with finalizing the
> > > > > specifications
> > > > > > (PR
> > > > > > #509 ).
> > > > > > This vote will be open for at least 72 hours.
> > > > > >
> > > > > > [ ] +1 Finalize Varint and Shredding Spec
> > > > > > [ ] +0
> > > > > > [ ] -1 Do not release this because...
> > > > > >
> > > > >
> > > >
> > >
> >
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-08-20 Thread Daniel Weeks
+1 (binding)

On Wed, Aug 20, 2025 at 12:41 PM Ryan Blue  wrote:

> +1 (binding)
>
> On Wed, Aug 20, 2025 at 12:34 PM Andrew Lamb 
> wrote:
>
> > +1 (non binding)
> >
> > So exciting!
> >
> > On Wed, Aug 20, 2025 at 3:15 PM Micah Kornfield 
> > wrote:
> >
> > > +1 (binding)
> > >
> > > Thanks Aihua for driving this and everyone else that contributed to it.
> > >
> > > On Wed, Aug 20, 2025 at 11:28 AM Fokko Driesprong 
> > > wrote:
> > >
> > > > +1 (binding)
> > > >
> > > > Thanks for getting this in Aihua!
> > > >
> > > > Kind regards,
> > > > Fokko
> > > >
> > > > Op wo 20 aug 2025 om 20:26 schreef Aihua Xu :
> > > >
> > > > > Hi community,
> > > > >
> > > > > I’d like to follow up on our community sync to proceed with
> > finalizing
> > > > the
> > > > > variant spec.
> > > > >
> > > > > Per the Parquet specification requirements, two reference
> > > implementations
> > > > > are needed to finalize the Variant logical type. Both Java and Go
> > > > > implementations now support variant encoding and shredding.
> > > > >
> > > > > Java already has the encoding and shredding implementations in
> place:
> > > > > apache/parquet-java#3197 <
> > > > https://github.com/apache/parquet-java/pull/3197
> > > > > >
> > > > > apache/parquet-java#3202 <
> > > > https://github.com/apache/parquet-java/pull/3202
> > > > > >
> > > > > apache/parquet-java#3223
> > > > > 
> > > > > apache/parquet-java#3211
> > > > > 
> > > > >
> > > > > Go also includes encoding and shredding support:
> > > > > apache/arrow-go#344 
> > > > > apache/arrow-go#434 
> > > > >
> > > > > In addition, we have also completed cross-language validations
> > between
> > > > the
> > > > > Java and Go implementations (PR#3258
> > > > >  and PR#455
> > > > > ) to confirm
> > > compatibility
> > > > > and
> > > > > make sure that the specs can be interpreted consistently. Rust has
> > also
> > > > > validated against the Variant test suites in PR#8104
> > > > > .
> > > > >
> > > > > Given this progress, I propose that we remove the "under
> development"
> > > > notes
> > > > > from the documentation and move forward with finalizing the
> > > > specifications
> > > > > (PR
> > > > > #509 ).
> > > > > This vote will be open for at least 72 hours.
> > > > >
> > > > > [ ] +1 Finalize Varint and Shredding Spec
> > > > > [ ] +0
> > > > > [ ] -1 Do not release this because...
> > > > >
> > > >
> > >
> >
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-08-20 Thread David Cashman
+1 (non-binding)

Thanks Aihua!

On Wed, Aug 20, 2025 at 3:34 PM Andrew Lamb  wrote:
>
> +1 (non binding)
>
> So exciting!
>
> On Wed, Aug 20, 2025 at 3:15 PM Micah Kornfield 
> wrote:
>
> > +1 (binding)
> >
> > Thanks Aihua for driving this and everyone else that contributed to it.
> >
> > On Wed, Aug 20, 2025 at 11:28 AM Fokko Driesprong 
> > wrote:
> >
> > > +1 (binding)
> > >
> > > Thanks for getting this in Aihua!
> > >
> > > Kind regards,
> > > Fokko
> > >
> > > Op wo 20 aug 2025 om 20:26 schreef Aihua Xu :
> > >
> > > > Hi community,
> > > >
> > > > I’d like to follow up on our community sync to proceed with finalizing
> > > the
> > > > variant spec.
> > > >
> > > > Per the Parquet specification requirements, two reference
> > implementations
> > > > are needed to finalize the Variant logical type. Both Java and Go
> > > > implementations now support variant encoding and shredding.
> > > >
> > > > Java already has the encoding and shredding implementations in place:
> > > > apache/parquet-java#3197 <
> > > https://github.com/apache/parquet-java/pull/3197
> > > > >
> > > > apache/parquet-java#3202 <
> > > https://github.com/apache/parquet-java/pull/3202
> > > > >
> > > > apache/parquet-java#3223
> > > > 
> > > > apache/parquet-java#3211
> > > > 
> > > >
> > > > Go also includes encoding and shredding support:
> > > > apache/arrow-go#344 
> > > > apache/arrow-go#434 
> > > >
> > > > In addition, we have also completed cross-language validations between
> > > the
> > > > Java and Go implementations (PR#3258
> > > >  and PR#455
> > > > ) to confirm
> > compatibility
> > > > and
> > > > make sure that the specs can be interpreted consistently. Rust has also
> > > > validated against the Variant test suites in PR#8104
> > > > .
> > > >
> > > > Given this progress, I propose that we remove the "under development"
> > > notes
> > > > from the documentation and move forward with finalizing the
> > > specifications
> > > > (PR
> > > > #509 ).
> > > > This vote will be open for at least 72 hours.
> > > >
> > > > [ ] +1 Finalize Varint and Shredding Spec
> > > > [ ] +0
> > > > [ ] -1 Do not release this because...
> > > >
> > >
> >


Re: [VOTE] Finalize Variant and Shredding Spec

2025-08-20 Thread Ryan Blue
+1 (binding)

On Wed, Aug 20, 2025 at 12:34 PM Andrew Lamb  wrote:

> +1 (non binding)
>
> So exciting!
>
> On Wed, Aug 20, 2025 at 3:15 PM Micah Kornfield 
> wrote:
>
> > +1 (binding)
> >
> > Thanks Aihua for driving this and everyone else that contributed to it.
> >
> > On Wed, Aug 20, 2025 at 11:28 AM Fokko Driesprong 
> > wrote:
> >
> > > +1 (binding)
> > >
> > > Thanks for getting this in Aihua!
> > >
> > > Kind regards,
> > > Fokko
> > >
> > > Op wo 20 aug 2025 om 20:26 schreef Aihua Xu :
> > >
> > > > Hi community,
> > > >
> > > > I’d like to follow up on our community sync to proceed with
> finalizing
> > > the
> > > > variant spec.
> > > >
> > > > Per the Parquet specification requirements, two reference
> > implementations
> > > > are needed to finalize the Variant logical type. Both Java and Go
> > > > implementations now support variant encoding and shredding.
> > > >
> > > > Java already has the encoding and shredding implementations in place:
> > > > apache/parquet-java#3197 <
> > > https://github.com/apache/parquet-java/pull/3197
> > > > >
> > > > apache/parquet-java#3202 <
> > > https://github.com/apache/parquet-java/pull/3202
> > > > >
> > > > apache/parquet-java#3223
> > > > 
> > > > apache/parquet-java#3211
> > > > 
> > > >
> > > > Go also includes encoding and shredding support:
> > > > apache/arrow-go#344 
> > > > apache/arrow-go#434 
> > > >
> > > > In addition, we have also completed cross-language validations
> between
> > > the
> > > > Java and Go implementations (PR#3258
> > > >  and PR#455
> > > > ) to confirm
> > compatibility
> > > > and
> > > > make sure that the specs can be interpreted consistently. Rust has
> also
> > > > validated against the Variant test suites in PR#8104
> > > > .
> > > >
> > > > Given this progress, I propose that we remove the "under development"
> > > notes
> > > > from the documentation and move forward with finalizing the
> > > specifications
> > > > (PR
> > > > #509 ).
> > > > This vote will be open for at least 72 hours.
> > > >
> > > > [ ] +1 Finalize Varint and Shredding Spec
> > > > [ ] +0
> > > > [ ] -1 Do not release this because...
> > > >
> > >
> >
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-08-20 Thread Andrew Lamb
+1 (non binding)

So exciting!

On Wed, Aug 20, 2025 at 3:15 PM Micah Kornfield 
wrote:

> +1 (binding)
>
> Thanks Aihua for driving this and everyone else that contributed to it.
>
> On Wed, Aug 20, 2025 at 11:28 AM Fokko Driesprong 
> wrote:
>
> > +1 (binding)
> >
> > Thanks for getting this in Aihua!
> >
> > Kind regards,
> > Fokko
> >
> > Op wo 20 aug 2025 om 20:26 schreef Aihua Xu :
> >
> > > Hi community,
> > >
> > > I’d like to follow up on our community sync to proceed with finalizing
> > the
> > > variant spec.
> > >
> > > Per the Parquet specification requirements, two reference
> implementations
> > > are needed to finalize the Variant logical type. Both Java and Go
> > > implementations now support variant encoding and shredding.
> > >
> > > Java already has the encoding and shredding implementations in place:
> > > apache/parquet-java#3197 <
> > https://github.com/apache/parquet-java/pull/3197
> > > >
> > > apache/parquet-java#3202 <
> > https://github.com/apache/parquet-java/pull/3202
> > > >
> > > apache/parquet-java#3223
> > > 
> > > apache/parquet-java#3211
> > > 
> > >
> > > Go also includes encoding and shredding support:
> > > apache/arrow-go#344 
> > > apache/arrow-go#434 
> > >
> > > In addition, we have also completed cross-language validations between
> > the
> > > Java and Go implementations (PR#3258
> > >  and PR#455
> > > ) to confirm
> compatibility
> > > and
> > > make sure that the specs can be interpreted consistently. Rust has also
> > > validated against the Variant test suites in PR#8104
> > > .
> > >
> > > Given this progress, I propose that we remove the "under development"
> > notes
> > > from the documentation and move forward with finalizing the
> > specifications
> > > (PR
> > > #509 ).
> > > This vote will be open for at least 72 hours.
> > >
> > > [ ] +1 Finalize Varint and Shredding Spec
> > > [ ] +0
> > > [ ] -1 Do not release this because...
> > >
> >
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-08-20 Thread Micah Kornfield
+1 (binding)

Thanks Aihua for driving this and everyone else that contributed to it.

On Wed, Aug 20, 2025 at 11:28 AM Fokko Driesprong  wrote:

> +1 (binding)
>
> Thanks for getting this in Aihua!
>
> Kind regards,
> Fokko
>
> Op wo 20 aug 2025 om 20:26 schreef Aihua Xu :
>
> > Hi community,
> >
> > I’d like to follow up on our community sync to proceed with finalizing
> the
> > variant spec.
> >
> > Per the Parquet specification requirements, two reference implementations
> > are needed to finalize the Variant logical type. Both Java and Go
> > implementations now support variant encoding and shredding.
> >
> > Java already has the encoding and shredding implementations in place:
> > apache/parquet-java#3197 <
> https://github.com/apache/parquet-java/pull/3197
> > >
> > apache/parquet-java#3202 <
> https://github.com/apache/parquet-java/pull/3202
> > >
> > apache/parquet-java#3223
> > 
> > apache/parquet-java#3211
> > 
> >
> > Go also includes encoding and shredding support:
> > apache/arrow-go#344 
> > apache/arrow-go#434 
> >
> > In addition, we have also completed cross-language validations between
> the
> > Java and Go implementations (PR#3258
> >  and PR#455
> > ) to confirm compatibility
> > and
> > make sure that the specs can be interpreted consistently. Rust has also
> > validated against the Variant test suites in PR#8104
> > .
> >
> > Given this progress, I propose that we remove the "under development"
> notes
> > from the documentation and move forward with finalizing the
> specifications
> > (PR
> > #509 ).
> > This vote will be open for at least 72 hours.
> >
> > [ ] +1 Finalize Varint and Shredding Spec
> > [ ] +0
> > [ ] -1 Do not release this because...
> >
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-08-20 Thread Russell Spitzer
+1 (non-binding)

On Wed, Aug 20, 2025 at 1:26 PM Aihua Xu  wrote:

> Hi community,
>
> I’d like to follow up on our community sync to proceed with finalizing the
> variant spec.
>
> Per the Parquet specification requirements, two reference implementations
> are needed to finalize the Variant logical type. Both Java and Go
> implementations now support variant encoding and shredding.
>
> Java already has the encoding and shredding implementations in place:
> apache/parquet-java#3197  >
> apache/parquet-java#3202  >
> apache/parquet-java#3223
> 
> apache/parquet-java#3211
> 
>
> Go also includes encoding and shredding support:
> apache/arrow-go#344 
> apache/arrow-go#434 
>
> In addition, we have also completed cross-language validations between the
> Java and Go implementations (PR#3258
>  and PR#455
> ) to confirm compatibility
> and
> make sure that the specs can be interpreted consistently. Rust has also
> validated against the Variant test suites in PR#8104
> .
>
> Given this progress, I propose that we remove the "under development" notes
> from the documentation and move forward with finalizing the specifications
> (PR
> #509 ).
> This vote will be open for at least 72 hours.
>
> [ ] +1 Finalize Varint and Shredding Spec
> [ ] +0
> [ ] -1 Do not release this because...
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-08-20 Thread Fokko Driesprong
+1 (binding)

Thanks for getting this in Aihua!

Kind regards,
Fokko

Op wo 20 aug 2025 om 20:26 schreef Aihua Xu :

> Hi community,
>
> I’d like to follow up on our community sync to proceed with finalizing the
> variant spec.
>
> Per the Parquet specification requirements, two reference implementations
> are needed to finalize the Variant logical type. Both Java and Go
> implementations now support variant encoding and shredding.
>
> Java already has the encoding and shredding implementations in place:
> apache/parquet-java#3197  >
> apache/parquet-java#3202  >
> apache/parquet-java#3223
> 
> apache/parquet-java#3211
> 
>
> Go also includes encoding and shredding support:
> apache/arrow-go#344 
> apache/arrow-go#434 
>
> In addition, we have also completed cross-language validations between the
> Java and Go implementations (PR#3258
>  and PR#455
> ) to confirm compatibility
> and
> make sure that the specs can be interpreted consistently. Rust has also
> validated against the Variant test suites in PR#8104
> .
>
> Given this progress, I propose that we remove the "under development" notes
> from the documentation and move forward with finalizing the specifications
> (PR
> #509 ).
> This vote will be open for at least 72 hours.
>
> [ ] +1 Finalize Varint and Shredding Spec
> [ ] +0
> [ ] -1 Do not release this because...
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-07-30 Thread Aihua Xu
Sounds good.

Anyone who is interested, please take a look at
https://github.com/apache/arrow-go/pull/455 and we can discuss it there.

On Wed, Jul 30, 2025 at 2:15 PM Matt Topol  wrote:

> Thanks Aihua,
>
> I'm away for the rest of the week but I'll retest on Tuesday when I
> return.
>
> Given the discussion we're having on the PR it seems that we should
> propose some clarifying updates to the spec wording to clear up some
> ambiguities. Can you and anyone else take a look at that this week?
>
> --Matt
>
> On Wed, Jul 30, 2025, 5:07 PM Aihua Xu  wrote:
>
>> Hi Matt and community,
>>
>> I have created the Parquet file test cases
>>  with the
>> variant logical type on top of what Ryan created. I have verified the
>> variant implementation in Parquet-Java (see
>> https://github.com/apache/parquet-java/pull/3258/files). Matt, can you
>> test out against the new data set in GO?
>>
>> Thanks,
>> Aihua
>>
>> On Mon, Jul 28, 2025 at 2:05 PM Ryan Blue  wrote:
>>
>>> Yes, as Aihua mentioned we know that the annotation is missing. Iceberg
>>> uses released versions of Parquet so we won't be able to produce files
>>> with
>>> the annotation until there's a parquet-java release. This is one reason
>>> why
>>> I've been pushing to get the annotation released regardless of the status
>>> of the spec.
>>>
>>> On Mon, Jul 28, 2025 at 1:29 PM Aihua Xu  wrote:
>>>
>>> > Hi Matt,
>>> >
>>> > Yeah. That's expected. I mentioned in the description of
>>> > https://github.com/apache/parquet-java/pull/3258. Because we haven't
>>> > released Parquet-Java including the variant logical type (we can't
>>> have a
>>> > release until we have done the validation and finalized the spec),
>>> Iceberg
>>> > cannot upgrade and write the Parquet file with that.
>>> >
>>> > I have a workaround in the test using something below to get them
>>> recognize
>>> > them as a variant type.
>>> >
>>> > (if (type.getName().equals("var") || type.getLogicalTypeAnnotation()
>>> > instanceof LogicalTypeAnnotation.VariantLogicalTypeAnnotation)
>>> >
>>> > I'm wondering if you can do the same in the GO test?
>>> >
>>> > Thanks,
>>> > Aihua
>>> >
>>> > On Mon, Jul 28, 2025 at 11:25 AM Matt Topol 
>>> > wrote:
>>> >
>>> > > @Aihua Xu  @RyanBlue it appears that the parquet
>>> > files
>>> > > in the indicated PR (
>>> > > https://github.com/apache/parquet-testing/pull/90/files) do not
>>> seem to
>>> > > currently have the `Variant` logical type specified in their schema.
>>> Is
>>> > > this intentional? The Go implementation won't (and shouldn't)
>>> recognize
>>> > the
>>> > > files as containing variant values without the logical type being
>>> used,
>>> > > instead they are simply read as structs. Should this be updated?
>>> > >
>>> > > Should I write something to have Go generate the files locally to
>>> test
>>> > > against?
>>> > >
>>> > > --Matt
>>> > >
>>> > > On Sun, Jul 27, 2025 at 5:45 PM Aihua Xu  wrote:
>>> > >
>>> > >> Thanks Matt.
>>> > >>
>>> > >>
>>> > >> > On Jul 27, 2025, at 2:31 PM, Matt Topol 
>>> > wrote:
>>> > >> >
>>> > >> > I'll work this week on getting the Go implementation to use the
>>> same
>>> > >> > testing files and ensure compatibility.
>>> > >> >
>>> > >> >> On Sun, Jul 27, 2025, 5:28 PM Aihua Xu 
>>> wrote:
>>> > >> >>
>>> > >> >> Hi all,
>>> > >> >>
>>> > >> >> Following up on the test effort to validate the compatibility of
>>> the
>>> > >> >> Variant implementation:
>>> > >> >>
>>> > >> >> Ryan has contributed test cases
>>> > >> >>  from
>>> > Iceberg
>>> > >> >> (see PR
>>> > >> >> #13654 ), which I
>>> used
>>> > >> to
>>> > >> >> verify  the
>>> > Variant
>>> > >> >> implementation in Parquet-Java. The validation surfaced a few
>>> minor
>>> > >> issues,
>>> > >> >> but overall the results confirm compatibility between the two
>>> > >> >> implementations.
>>> > >> >>
>>> > >> >> Let me know if you have any questions or additional follow-up
>>> > requests.
>>> > >> >>
>>> > >> >> Thanks,
>>> > >> >>
>>> > >> >> Aihua
>>> > >> >>
>>> > >> >>
>>> > >> >>
>>> > >> >> On Wed, Jul 23, 2025 at 2:24 AM Andrew Lamb <
>>> [email protected]>
>>> > >> >> wrote:
>>> > >> >>
>>> > >> >>> I agree the parquet-testing repo should have example Parquet
>>> files
>>> > >> >> storing
>>> > >> >>> variants.
>>> > >> >>>
>>> > >> >>> It was brought to my attention recently that the duckdb folks
>>> made
>>> > >> some
>>> > >> >>> testing files[1] based on the Iceberg test suite.
>>> > >> >>>
>>> > >> >>> Perhaps we can add those files to parquet-testing as part of
>>> [2].
>>> > >> >>>
>>> > >> >>> I expect we'll get to testing the Rust shredding implementation
>>> in
>>> > 2-3
>>> > >> >>> weeks at which time I will likely help try and push this
>>> forward. It
>>> > >> >> would
>>> > >> >>> be great if someone else wanted 

Re: [VOTE] Finalize Variant and Shredding Spec

2025-07-30 Thread Matt Topol
Thanks Aihua,

I'm away for the rest of the week but I'll retest on Tuesday when I return.

Given the discussion we're having on the PR it seems that we should propose
some clarifying updates to the spec wording to clear up some ambiguities.
Can you and anyone else take a look at that this week?

--Matt

On Wed, Jul 30, 2025, 5:07 PM Aihua Xu  wrote:

> Hi Matt and community,
>
> I have created the Parquet file test cases
>  with the
> variant logical type on top of what Ryan created. I have verified the
> variant implementation in Parquet-Java (see
> https://github.com/apache/parquet-java/pull/3258/files). Matt, can you
> test out against the new data set in GO?
>
> Thanks,
> Aihua
>
> On Mon, Jul 28, 2025 at 2:05 PM Ryan Blue  wrote:
>
>> Yes, as Aihua mentioned we know that the annotation is missing. Iceberg
>> uses released versions of Parquet so we won't be able to produce files
>> with
>> the annotation until there's a parquet-java release. This is one reason
>> why
>> I've been pushing to get the annotation released regardless of the status
>> of the spec.
>>
>> On Mon, Jul 28, 2025 at 1:29 PM Aihua Xu  wrote:
>>
>> > Hi Matt,
>> >
>> > Yeah. That's expected. I mentioned in the description of
>> > https://github.com/apache/parquet-java/pull/3258. Because we haven't
>> > released Parquet-Java including the variant logical type (we can't have
>> a
>> > release until we have done the validation and finalized the spec),
>> Iceberg
>> > cannot upgrade and write the Parquet file with that.
>> >
>> > I have a workaround in the test using something below to get them
>> recognize
>> > them as a variant type.
>> >
>> > (if (type.getName().equals("var") || type.getLogicalTypeAnnotation()
>> > instanceof LogicalTypeAnnotation.VariantLogicalTypeAnnotation)
>> >
>> > I'm wondering if you can do the same in the GO test?
>> >
>> > Thanks,
>> > Aihua
>> >
>> > On Mon, Jul 28, 2025 at 11:25 AM Matt Topol 
>> > wrote:
>> >
>> > > @Aihua Xu  @RyanBlue it appears that the parquet
>> > files
>> > > in the indicated PR (
>> > > https://github.com/apache/parquet-testing/pull/90/files) do not seem
>> to
>> > > currently have the `Variant` logical type specified in their schema.
>> Is
>> > > this intentional? The Go implementation won't (and shouldn't)
>> recognize
>> > the
>> > > files as containing variant values without the logical type being
>> used,
>> > > instead they are simply read as structs. Should this be updated?
>> > >
>> > > Should I write something to have Go generate the files locally to test
>> > > against?
>> > >
>> > > --Matt
>> > >
>> > > On Sun, Jul 27, 2025 at 5:45 PM Aihua Xu  wrote:
>> > >
>> > >> Thanks Matt.
>> > >>
>> > >>
>> > >> > On Jul 27, 2025, at 2:31 PM, Matt Topol 
>> > wrote:
>> > >> >
>> > >> > I'll work this week on getting the Go implementation to use the
>> same
>> > >> > testing files and ensure compatibility.
>> > >> >
>> > >> >> On Sun, Jul 27, 2025, 5:28 PM Aihua Xu  wrote:
>> > >> >>
>> > >> >> Hi all,
>> > >> >>
>> > >> >> Following up on the test effort to validate the compatibility of
>> the
>> > >> >> Variant implementation:
>> > >> >>
>> > >> >> Ryan has contributed test cases
>> > >> >>  from
>> > Iceberg
>> > >> >> (see PR
>> > >> >> #13654 ), which I
>> used
>> > >> to
>> > >> >> verify  the
>> > Variant
>> > >> >> implementation in Parquet-Java. The validation surfaced a few
>> minor
>> > >> issues,
>> > >> >> but overall the results confirm compatibility between the two
>> > >> >> implementations.
>> > >> >>
>> > >> >> Let me know if you have any questions or additional follow-up
>> > requests.
>> > >> >>
>> > >> >> Thanks,
>> > >> >>
>> > >> >> Aihua
>> > >> >>
>> > >> >>
>> > >> >>
>> > >> >> On Wed, Jul 23, 2025 at 2:24 AM Andrew Lamb <
>> [email protected]>
>> > >> >> wrote:
>> > >> >>
>> > >> >>> I agree the parquet-testing repo should have example Parquet
>> files
>> > >> >> storing
>> > >> >>> variants.
>> > >> >>>
>> > >> >>> It was brought to my attention recently that the duckdb folks
>> made
>> > >> some
>> > >> >>> testing files[1] based on the Iceberg test suite.
>> > >> >>>
>> > >> >>> Perhaps we can add those files to parquet-testing as part of [2].
>> > >> >>>
>> > >> >>> I expect we'll get to testing the Rust shredding implementation
>> in
>> > 2-3
>> > >> >>> weeks at which time I will likely help try and push this
>> forward. It
>> > >> >> would
>> > >> >>> be great if someone else wanted to help do it beforehand.
>> > >> >>>
>> > >> >>> Andrew
>> > >> >>>
>> > >> >>> [1]: https://github.com/duckdb/duckdb/pull/18224
>> > >> >>> [2]: https://github.com/apache/parquet-testing/issues/75
>> > >> >>>
>> > >>  On Wed, Jul 23, 2025 at 1:14 AM Gang Wu 
>> wrote:
>> > >> >>>
>> > >>  I was under the impression that parquet-testing does not 

Re: [VOTE] Finalize Variant and Shredding Spec

2025-07-30 Thread Aihua Xu
Hi Matt and community,

I have created the Parquet file test cases
 with the variant
logical type on top of what Ryan created. I have verified the variant
implementation in Parquet-Java (see
https://github.com/apache/parquet-java/pull/3258/files). Matt, can you test
out against the new data set in GO?

Thanks,
Aihua

On Mon, Jul 28, 2025 at 2:05 PM Ryan Blue  wrote:

> Yes, as Aihua mentioned we know that the annotation is missing. Iceberg
> uses released versions of Parquet so we won't be able to produce files with
> the annotation until there's a parquet-java release. This is one reason why
> I've been pushing to get the annotation released regardless of the status
> of the spec.
>
> On Mon, Jul 28, 2025 at 1:29 PM Aihua Xu  wrote:
>
> > Hi Matt,
> >
> > Yeah. That's expected. I mentioned in the description of
> > https://github.com/apache/parquet-java/pull/3258. Because we haven't
> > released Parquet-Java including the variant logical type (we can't have a
> > release until we have done the validation and finalized the spec),
> Iceberg
> > cannot upgrade and write the Parquet file with that.
> >
> > I have a workaround in the test using something below to get them
> recognize
> > them as a variant type.
> >
> > (if (type.getName().equals("var") || type.getLogicalTypeAnnotation()
> > instanceof LogicalTypeAnnotation.VariantLogicalTypeAnnotation)
> >
> > I'm wondering if you can do the same in the GO test?
> >
> > Thanks,
> > Aihua
> >
> > On Mon, Jul 28, 2025 at 11:25 AM Matt Topol 
> > wrote:
> >
> > > @Aihua Xu  @RyanBlue it appears that the parquet
> > files
> > > in the indicated PR (
> > > https://github.com/apache/parquet-testing/pull/90/files) do not seem
> to
> > > currently have the `Variant` logical type specified in their schema. Is
> > > this intentional? The Go implementation won't (and shouldn't) recognize
> > the
> > > files as containing variant values without the logical type being used,
> > > instead they are simply read as structs. Should this be updated?
> > >
> > > Should I write something to have Go generate the files locally to test
> > > against?
> > >
> > > --Matt
> > >
> > > On Sun, Jul 27, 2025 at 5:45 PM Aihua Xu  wrote:
> > >
> > >> Thanks Matt.
> > >>
> > >>
> > >> > On Jul 27, 2025, at 2:31 PM, Matt Topol 
> > wrote:
> > >> >
> > >> > I'll work this week on getting the Go implementation to use the
> same
> > >> > testing files and ensure compatibility.
> > >> >
> > >> >> On Sun, Jul 27, 2025, 5:28 PM Aihua Xu  wrote:
> > >> >>
> > >> >> Hi all,
> > >> >>
> > >> >> Following up on the test effort to validate the compatibility of
> the
> > >> >> Variant implementation:
> > >> >>
> > >> >> Ryan has contributed test cases
> > >> >>  from
> > Iceberg
> > >> >> (see PR
> > >> >> #13654 ), which I
> used
> > >> to
> > >> >> verify  the
> > Variant
> > >> >> implementation in Parquet-Java. The validation surfaced a few minor
> > >> issues,
> > >> >> but overall the results confirm compatibility between the two
> > >> >> implementations.
> > >> >>
> > >> >> Let me know if you have any questions or additional follow-up
> > requests.
> > >> >>
> > >> >> Thanks,
> > >> >>
> > >> >> Aihua
> > >> >>
> > >> >>
> > >> >>
> > >> >> On Wed, Jul 23, 2025 at 2:24 AM Andrew Lamb <
> [email protected]>
> > >> >> wrote:
> > >> >>
> > >> >>> I agree the parquet-testing repo should have example Parquet files
> > >> >> storing
> > >> >>> variants.
> > >> >>>
> > >> >>> It was brought to my attention recently that the duckdb folks made
> > >> some
> > >> >>> testing files[1] based on the Iceberg test suite.
> > >> >>>
> > >> >>> Perhaps we can add those files to parquet-testing as part of [2].
> > >> >>>
> > >> >>> I expect we'll get to testing the Rust shredding implementation in
> > 2-3
> > >> >>> weeks at which time I will likely help try and push this forward.
> It
> > >> >> would
> > >> >>> be great if someone else wanted to help do it beforehand.
> > >> >>>
> > >> >>> Andrew
> > >> >>>
> > >> >>> [1]: https://github.com/duckdb/duckdb/pull/18224
> > >> >>> [2]: https://github.com/apache/parquet-testing/issues/75
> > >> >>>
> > >>  On Wed, Jul 23, 2025 at 1:14 AM Gang Wu 
> wrote:
> > >> >>>
> > >>  I was under the impression that parquet-testing does not yet have
> > >> >> Parquet
> > >>  files with variant type annotations.
> > >> 
> > >>  Is this still the case? If not, should we add some (shredded and
> > >>  unshredded) files produced by Java and Go implementations?
> > >> 
> > >>  On Wed, Jul 23, 2025 at 3:18 AM Aihua Xu 
> > wrote:
> > >> 
> > >> > Thanks Matt for the comment and working on the GO variant.
> > >> >
> > >> > Micah, that’s a good point. Let me check out the coverage
> > >> >> completeness
> > >>  for
> > >> 

Re: [VOTE] Finalize Variant and Shredding Spec

2025-07-28 Thread Ryan Blue
Yes, as Aihua mentioned we know that the annotation is missing. Iceberg
uses released versions of Parquet so we won't be able to produce files with
the annotation until there's a parquet-java release. This is one reason why
I've been pushing to get the annotation released regardless of the status
of the spec.

On Mon, Jul 28, 2025 at 1:29 PM Aihua Xu  wrote:

> Hi Matt,
>
> Yeah. That's expected. I mentioned in the description of
> https://github.com/apache/parquet-java/pull/3258. Because we haven't
> released Parquet-Java including the variant logical type (we can't have a
> release until we have done the validation and finalized the spec), Iceberg
> cannot upgrade and write the Parquet file with that.
>
> I have a workaround in the test using something below to get them recognize
> them as a variant type.
>
> (if (type.getName().equals("var") || type.getLogicalTypeAnnotation()
> instanceof LogicalTypeAnnotation.VariantLogicalTypeAnnotation)
>
> I'm wondering if you can do the same in the GO test?
>
> Thanks,
> Aihua
>
> On Mon, Jul 28, 2025 at 11:25 AM Matt Topol 
> wrote:
>
> > @Aihua Xu  @RyanBlue it appears that the parquet
> files
> > in the indicated PR (
> > https://github.com/apache/parquet-testing/pull/90/files) do not seem to
> > currently have the `Variant` logical type specified in their schema. Is
> > this intentional? The Go implementation won't (and shouldn't) recognize
> the
> > files as containing variant values without the logical type being used,
> > instead they are simply read as structs. Should this be updated?
> >
> > Should I write something to have Go generate the files locally to test
> > against?
> >
> > --Matt
> >
> > On Sun, Jul 27, 2025 at 5:45 PM Aihua Xu  wrote:
> >
> >> Thanks Matt.
> >>
> >>
> >> > On Jul 27, 2025, at 2:31 PM, Matt Topol 
> wrote:
> >> >
> >> > I'll work this week on getting the Go implementation to use the same
> >> > testing files and ensure compatibility.
> >> >
> >> >> On Sun, Jul 27, 2025, 5:28 PM Aihua Xu  wrote:
> >> >>
> >> >> Hi all,
> >> >>
> >> >> Following up on the test effort to validate the compatibility of the
> >> >> Variant implementation:
> >> >>
> >> >> Ryan has contributed test cases
> >> >>  from
> Iceberg
> >> >> (see PR
> >> >> #13654 ), which I used
> >> to
> >> >> verify  the
> Variant
> >> >> implementation in Parquet-Java. The validation surfaced a few minor
> >> issues,
> >> >> but overall the results confirm compatibility between the two
> >> >> implementations.
> >> >>
> >> >> Let me know if you have any questions or additional follow-up
> requests.
> >> >>
> >> >> Thanks,
> >> >>
> >> >> Aihua
> >> >>
> >> >>
> >> >>
> >> >> On Wed, Jul 23, 2025 at 2:24 AM Andrew Lamb 
> >> >> wrote:
> >> >>
> >> >>> I agree the parquet-testing repo should have example Parquet files
> >> >> storing
> >> >>> variants.
> >> >>>
> >> >>> It was brought to my attention recently that the duckdb folks made
> >> some
> >> >>> testing files[1] based on the Iceberg test suite.
> >> >>>
> >> >>> Perhaps we can add those files to parquet-testing as part of [2].
> >> >>>
> >> >>> I expect we'll get to testing the Rust shredding implementation in
> 2-3
> >> >>> weeks at which time I will likely help try and push this forward. It
> >> >> would
> >> >>> be great if someone else wanted to help do it beforehand.
> >> >>>
> >> >>> Andrew
> >> >>>
> >> >>> [1]: https://github.com/duckdb/duckdb/pull/18224
> >> >>> [2]: https://github.com/apache/parquet-testing/issues/75
> >> >>>
> >>  On Wed, Jul 23, 2025 at 1:14 AM Gang Wu  wrote:
> >> >>>
> >>  I was under the impression that parquet-testing does not yet have
> >> >> Parquet
> >>  files with variant type annotations.
> >> 
> >>  Is this still the case? If not, should we add some (shredded and
> >>  unshredded) files produced by Java and Go implementations?
> >> 
> >>  On Wed, Jul 23, 2025 at 3:18 AM Aihua Xu 
> wrote:
> >> 
> >> > Thanks Matt for the comment and working on the GO variant.
> >> >
> >> > Micah, that’s a good point. Let me check out the coverage
> >> >> completeness
> >>  for
> >> > these two implementations.
> >> >
> >> >
> >> >
> >> >> On Jul 22, 2025, at 10:01 AM, Matt Topol  >
> >>  wrote:
> >> >>
> >> >> Assuming that the files with variants in
> >> >> https://github.com/apache/parquet-testing are generated by
> >>  parquet-java,
> >> >> then we at least have confirmed that the Go implementation is
> able
> >> >> to
> >> > read
> >> >> variant files that are written by the Java implementation. So
> >> >> there's
> >>  at
> >> >> least some testing of the two implementations against each other.
> >> >>
> >> >> --Matt
> >> >>
> >> >>> On Tue, Jul 22, 2025 at 12:29 AM Micah Kornfield <
> >>  

Re: [VOTE] Finalize Variant and Shredding Spec

2025-07-28 Thread Aihua Xu
Hi Matt,

Yeah. That's expected. I mentioned in the description of
https://github.com/apache/parquet-java/pull/3258. Because we haven't
released Parquet-Java including the variant logical type (we can't have a
release until we have done the validation and finalized the spec), Iceberg
cannot upgrade and write the Parquet file with that.

I have a workaround in the test using something below to get them recognize
them as a variant type.

(if (type.getName().equals("var") || type.getLogicalTypeAnnotation()
instanceof LogicalTypeAnnotation.VariantLogicalTypeAnnotation)

I'm wondering if you can do the same in the GO test?

Thanks,
Aihua

On Mon, Jul 28, 2025 at 11:25 AM Matt Topol  wrote:

> @Aihua Xu  @RyanBlue it appears that the parquet files
> in the indicated PR (
> https://github.com/apache/parquet-testing/pull/90/files) do not seem to
> currently have the `Variant` logical type specified in their schema. Is
> this intentional? The Go implementation won't (and shouldn't) recognize the
> files as containing variant values without the logical type being used,
> instead they are simply read as structs. Should this be updated?
>
> Should I write something to have Go generate the files locally to test
> against?
>
> --Matt
>
> On Sun, Jul 27, 2025 at 5:45 PM Aihua Xu  wrote:
>
>> Thanks Matt.
>>
>>
>> > On Jul 27, 2025, at 2:31 PM, Matt Topol  wrote:
>> >
>> > I'll work this week on getting the Go implementation to use the same
>> > testing files and ensure compatibility.
>> >
>> >> On Sun, Jul 27, 2025, 5:28 PM Aihua Xu  wrote:
>> >>
>> >> Hi all,
>> >>
>> >> Following up on the test effort to validate the compatibility of the
>> >> Variant implementation:
>> >>
>> >> Ryan has contributed test cases
>> >>  from Iceberg
>> >> (see PR
>> >> #13654 ), which I used
>> to
>> >> verify  the Variant
>> >> implementation in Parquet-Java. The validation surfaced a few minor
>> issues,
>> >> but overall the results confirm compatibility between the two
>> >> implementations.
>> >>
>> >> Let me know if you have any questions or additional follow-up requests.
>> >>
>> >> Thanks,
>> >>
>> >> Aihua
>> >>
>> >>
>> >>
>> >> On Wed, Jul 23, 2025 at 2:24 AM Andrew Lamb 
>> >> wrote:
>> >>
>> >>> I agree the parquet-testing repo should have example Parquet files
>> >> storing
>> >>> variants.
>> >>>
>> >>> It was brought to my attention recently that the duckdb folks made
>> some
>> >>> testing files[1] based on the Iceberg test suite.
>> >>>
>> >>> Perhaps we can add those files to parquet-testing as part of [2].
>> >>>
>> >>> I expect we'll get to testing the Rust shredding implementation in 2-3
>> >>> weeks at which time I will likely help try and push this forward. It
>> >> would
>> >>> be great if someone else wanted to help do it beforehand.
>> >>>
>> >>> Andrew
>> >>>
>> >>> [1]: https://github.com/duckdb/duckdb/pull/18224
>> >>> [2]: https://github.com/apache/parquet-testing/issues/75
>> >>>
>>  On Wed, Jul 23, 2025 at 1:14 AM Gang Wu  wrote:
>> >>>
>>  I was under the impression that parquet-testing does not yet have
>> >> Parquet
>>  files with variant type annotations.
>> 
>>  Is this still the case? If not, should we add some (shredded and
>>  unshredded) files produced by Java and Go implementations?
>> 
>>  On Wed, Jul 23, 2025 at 3:18 AM Aihua Xu  wrote:
>> 
>> > Thanks Matt for the comment and working on the GO variant.
>> >
>> > Micah, that’s a good point. Let me check out the coverage
>> >> completeness
>>  for
>> > these two implementations.
>> >
>> >
>> >
>> >> On Jul 22, 2025, at 10:01 AM, Matt Topol 
>>  wrote:
>> >>
>> >> Assuming that the files with variants in
>> >> https://github.com/apache/parquet-testing are generated by
>>  parquet-java,
>> >> then we at least have confirmed that the Go implementation is able
>> >> to
>> > read
>> >> variant files that are written by the Java implementation. So
>> >> there's
>>  at
>> >> least some testing of the two implementations against each other.
>> >>
>> >> --Matt
>> >>
>> >>> On Tue, Jul 22, 2025 at 12:29 AM Micah Kornfield <
>>  [email protected]
>> >>
>> >>> wrote:
>> >>>
>> >>> Have we tested the two implementations against one another?
>> >>>
>>  On Mon, Jul 21, 2025 at 9:14 PM Aihua Xu 
>> >>> wrote:
>> 
>>  Hi community,
>> 
>>  Per the Parquet specification requirements, two reference
>> > implementations
>>  are needed to finalize the Variant logical type. Both Java and Go
>>  implementations now support variant encoding and shredding.
>> 
>>  Java already has the encoding and shredding implementations in
>> >>> place:
>>  apache/parquet-java#3197 <
>> >>> 

Re: [VOTE] Finalize Variant and Shredding Spec

2025-07-28 Thread Matt Topol
@Aihua Xu  @RyanBlue it appears that the parquet files
in the indicated PR (https://github.com/apache/parquet-testing/pull/90/files)
do not seem to currently have the `Variant` logical type specified in their
schema. Is this intentional? The Go implementation won't (and shouldn't)
recognize the files as containing variant values without the logical type
being used, instead they are simply read as structs. Should this be updated?

Should I write something to have Go generate the files locally to test
against?

--Matt

On Sun, Jul 27, 2025 at 5:45 PM Aihua Xu  wrote:

> Thanks Matt.
>
>
> > On Jul 27, 2025, at 2:31 PM, Matt Topol  wrote:
> >
> > I'll work this week on getting the Go implementation to use the same
> > testing files and ensure compatibility.
> >
> >> On Sun, Jul 27, 2025, 5:28 PM Aihua Xu  wrote:
> >>
> >> Hi all,
> >>
> >> Following up on the test effort to validate the compatibility of the
> >> Variant implementation:
> >>
> >> Ryan has contributed test cases
> >>  from Iceberg
> >> (see PR
> >> #13654 ), which I used to
> >> verify  the Variant
> >> implementation in Parquet-Java. The validation surfaced a few minor
> issues,
> >> but overall the results confirm compatibility between the two
> >> implementations.
> >>
> >> Let me know if you have any questions or additional follow-up requests.
> >>
> >> Thanks,
> >>
> >> Aihua
> >>
> >>
> >>
> >> On Wed, Jul 23, 2025 at 2:24 AM Andrew Lamb 
> >> wrote:
> >>
> >>> I agree the parquet-testing repo should have example Parquet files
> >> storing
> >>> variants.
> >>>
> >>> It was brought to my attention recently that the duckdb folks made some
> >>> testing files[1] based on the Iceberg test suite.
> >>>
> >>> Perhaps we can add those files to parquet-testing as part of [2].
> >>>
> >>> I expect we'll get to testing the Rust shredding implementation in 2-3
> >>> weeks at which time I will likely help try and push this forward. It
> >> would
> >>> be great if someone else wanted to help do it beforehand.
> >>>
> >>> Andrew
> >>>
> >>> [1]: https://github.com/duckdb/duckdb/pull/18224
> >>> [2]: https://github.com/apache/parquet-testing/issues/75
> >>>
>  On Wed, Jul 23, 2025 at 1:14 AM Gang Wu  wrote:
> >>>
>  I was under the impression that parquet-testing does not yet have
> >> Parquet
>  files with variant type annotations.
> 
>  Is this still the case? If not, should we add some (shredded and
>  unshredded) files produced by Java and Go implementations?
> 
>  On Wed, Jul 23, 2025 at 3:18 AM Aihua Xu  wrote:
> 
> > Thanks Matt for the comment and working on the GO variant.
> >
> > Micah, that’s a good point. Let me check out the coverage
> >> completeness
>  for
> > these two implementations.
> >
> >
> >
> >> On Jul 22, 2025, at 10:01 AM, Matt Topol 
>  wrote:
> >>
> >> Assuming that the files with variants in
> >> https://github.com/apache/parquet-testing are generated by
>  parquet-java,
> >> then we at least have confirmed that the Go implementation is able
> >> to
> > read
> >> variant files that are written by the Java implementation. So
> >> there's
>  at
> >> least some testing of the two implementations against each other.
> >>
> >> --Matt
> >>
> >>> On Tue, Jul 22, 2025 at 12:29 AM Micah Kornfield <
>  [email protected]
> >>
> >>> wrote:
> >>>
> >>> Have we tested the two implementations against one another?
> >>>
>  On Mon, Jul 21, 2025 at 9:14 PM Aihua Xu 
> >>> wrote:
> 
>  Hi community,
> 
>  Per the Parquet specification requirements, two reference
> > implementations
>  are needed to finalize the Variant logical type. Both Java and Go
>  implementations now support variant encoding and shredding.
> 
>  Java already has the encoding and shredding implementations in
> >>> place:
>  apache/parquet-java#3197 <
> >>> https://github.com/apache/parquet-java/pull/3197
> >
>  apache/parquet-java#3202 <
> >>> https://github.com/apache/parquet-java/pull/3202
> >
>  apache/parquet-java#3223
>  
>  apache/parquet-java#3211
>  
> 
>  Go also includes encoding and shredding support:
>  apache/arrow-go#344  >>>
>  apache/arrow-go#434  >>>
> 
>  I propose that we remove the "under development" notes from the
>  documentation and move forward with finalizing the specification
> >>> (PR
> > #509
>  

Re: [VOTE] Finalize Variant and Shredding Spec

2025-07-27 Thread Aihua Xu
Thanks Matt. 


> On Jul 27, 2025, at 2:31 PM, Matt Topol  wrote:
> 
> I'll work this week on getting the Go implementation to use the same
> testing files and ensure compatibility.
> 
>> On Sun, Jul 27, 2025, 5:28 PM Aihua Xu  wrote:
>> 
>> Hi all,
>> 
>> Following up on the test effort to validate the compatibility of the
>> Variant implementation:
>> 
>> Ryan has contributed test cases
>>  from Iceberg
>> (see PR
>> #13654 ), which I used to
>> verify  the Variant
>> implementation in Parquet-Java. The validation surfaced a few minor issues,
>> but overall the results confirm compatibility between the two
>> implementations.
>> 
>> Let me know if you have any questions or additional follow-up requests.
>> 
>> Thanks,
>> 
>> Aihua
>> 
>> 
>> 
>> On Wed, Jul 23, 2025 at 2:24 AM Andrew Lamb 
>> wrote:
>> 
>>> I agree the parquet-testing repo should have example Parquet files
>> storing
>>> variants.
>>> 
>>> It was brought to my attention recently that the duckdb folks made some
>>> testing files[1] based on the Iceberg test suite.
>>> 
>>> Perhaps we can add those files to parquet-testing as part of [2].
>>> 
>>> I expect we'll get to testing the Rust shredding implementation in 2-3
>>> weeks at which time I will likely help try and push this forward. It
>> would
>>> be great if someone else wanted to help do it beforehand.
>>> 
>>> Andrew
>>> 
>>> [1]: https://github.com/duckdb/duckdb/pull/18224
>>> [2]: https://github.com/apache/parquet-testing/issues/75
>>> 
 On Wed, Jul 23, 2025 at 1:14 AM Gang Wu  wrote:
>>> 
 I was under the impression that parquet-testing does not yet have
>> Parquet
 files with variant type annotations.
 
 Is this still the case? If not, should we add some (shredded and
 unshredded) files produced by Java and Go implementations?
 
 On Wed, Jul 23, 2025 at 3:18 AM Aihua Xu  wrote:
 
> Thanks Matt for the comment and working on the GO variant.
> 
> Micah, that’s a good point. Let me check out the coverage
>> completeness
 for
> these two implementations.
> 
> 
> 
>> On Jul 22, 2025, at 10:01 AM, Matt Topol 
 wrote:
>> 
>> Assuming that the files with variants in
>> https://github.com/apache/parquet-testing are generated by
 parquet-java,
>> then we at least have confirmed that the Go implementation is able
>> to
> read
>> variant files that are written by the Java implementation. So
>> there's
 at
>> least some testing of the two implementations against each other.
>> 
>> --Matt
>> 
>>> On Tue, Jul 22, 2025 at 12:29 AM Micah Kornfield <
 [email protected]
>> 
>>> wrote:
>>> 
>>> Have we tested the two implementations against one another?
>>> 
 On Mon, Jul 21, 2025 at 9:14 PM Aihua Xu 
>>> wrote:
 
 Hi community,
 
 Per the Parquet specification requirements, two reference
> implementations
 are needed to finalize the Variant logical type. Both Java and Go
 implementations now support variant encoding and shredding.
 
 Java already has the encoding and shredding implementations in
>>> place:
 apache/parquet-java#3197 <
>>> https://github.com/apache/parquet-java/pull/3197
> 
 apache/parquet-java#3202 <
>>> https://github.com/apache/parquet-java/pull/3202
> 
 apache/parquet-java#3223
 
 apache/parquet-java#3211
 
 
 Go also includes encoding and shredding support:
 apache/arrow-go#344 >> 
 apache/arrow-go#434 >> 
 
 I propose that we remove the "under development" notes from the
 documentation and move forward with finalizing the specification
>>> (PR
> #509
 ).
 This vote will be open for at least 72 hours.
 
 [ ] +1 Finalize Varint and Shredding Spec
 [ ] +0
 [ ] -1 Do not release this because...
 
>>> 
> 
 
>>> 
>> 


Re: [VOTE] Finalize Variant and Shredding Spec

2025-07-27 Thread Matt Topol
I'll work this week on getting the Go implementation to use the same
testing files and ensure compatibility.

On Sun, Jul 27, 2025, 5:28 PM Aihua Xu  wrote:

> Hi all,
>
> Following up on the test effort to validate the compatibility of the
> Variant implementation:
>
> Ryan has contributed test cases
>  from Iceberg
> (see PR
> #13654 ), which I used to
> verify  the Variant
> implementation in Parquet-Java. The validation surfaced a few minor issues,
> but overall the results confirm compatibility between the two
> implementations.
>
> Let me know if you have any questions or additional follow-up requests.
>
> Thanks,
>
> Aihua
>
>
>
> On Wed, Jul 23, 2025 at 2:24 AM Andrew Lamb 
> wrote:
>
> > I agree the parquet-testing repo should have example Parquet files
> storing
> > variants.
> >
> > It was brought to my attention recently that the duckdb folks made some
> > testing files[1] based on the Iceberg test suite.
> >
> > Perhaps we can add those files to parquet-testing as part of [2].
> >
> > I expect we'll get to testing the Rust shredding implementation in 2-3
> > weeks at which time I will likely help try and push this forward. It
> would
> > be great if someone else wanted to help do it beforehand.
> >
> > Andrew
> >
> > [1]: https://github.com/duckdb/duckdb/pull/18224
> > [2]: https://github.com/apache/parquet-testing/issues/75
> >
> > On Wed, Jul 23, 2025 at 1:14 AM Gang Wu  wrote:
> >
> > > I was under the impression that parquet-testing does not yet have
> Parquet
> > > files with variant type annotations.
> > >
> > > Is this still the case? If not, should we add some (shredded and
> > > unshredded) files produced by Java and Go implementations?
> > >
> > > On Wed, Jul 23, 2025 at 3:18 AM Aihua Xu  wrote:
> > >
> > > > Thanks Matt for the comment and working on the GO variant.
> > > >
> > > > Micah, that’s a good point. Let me check out the coverage
> completeness
> > > for
> > > > these two implementations.
> > > >
> > > >
> > > >
> > > > > On Jul 22, 2025, at 10:01 AM, Matt Topol 
> > > wrote:
> > > > >
> > > > > Assuming that the files with variants in
> > > > > https://github.com/apache/parquet-testing are generated by
> > > parquet-java,
> > > > > then we at least have confirmed that the Go implementation is able
> to
> > > > read
> > > > > variant files that are written by the Java implementation. So
> there's
> > > at
> > > > > least some testing of the two implementations against each other.
> > > > >
> > > > > --Matt
> > > > >
> > > > >> On Tue, Jul 22, 2025 at 12:29 AM Micah Kornfield <
> > > [email protected]
> > > > >
> > > > >> wrote:
> > > > >>
> > > > >> Have we tested the two implementations against one another?
> > > > >>
> > > > >>> On Mon, Jul 21, 2025 at 9:14 PM Aihua Xu 
> > wrote:
> > > > >>>
> > > > >>> Hi community,
> > > > >>>
> > > > >>> Per the Parquet specification requirements, two reference
> > > > implementations
> > > > >>> are needed to finalize the Variant logical type. Both Java and Go
> > > > >>> implementations now support variant encoding and shredding.
> > > > >>>
> > > > >>> Java already has the encoding and shredding implementations in
> > place:
> > > > >>> apache/parquet-java#3197 <
> > > > >> https://github.com/apache/parquet-java/pull/3197
> > > > 
> > > > >>> apache/parquet-java#3202 <
> > > > >> https://github.com/apache/parquet-java/pull/3202
> > > > 
> > > > >>> apache/parquet-java#3223
> > > > >>> 
> > > > >>> apache/parquet-java#3211
> > > > >>> 
> > > > >>>
> > > > >>> Go also includes encoding and shredding support:
> > > > >>> apache/arrow-go#344  >
> > > > >>> apache/arrow-go#434  >
> > > > >>>
> > > > >>> I propose that we remove the "under development" notes from the
> > > > >>> documentation and move forward with finalizing the specification
> > (PR
> > > > #509
> > > > >>> ).
> > > > >>> This vote will be open for at least 72 hours.
> > > > >>>
> > > > >>> [ ] +1 Finalize Varint and Shredding Spec
> > > > >>> [ ] +0
> > > > >>> [ ] -1 Do not release this because...
> > > > >>>
> > > > >>
> > > >
> > >
> >
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-07-27 Thread Aihua Xu
Hi all,

Following up on the test effort to validate the compatibility of the
Variant implementation:

Ryan has contributed test cases
 from Iceberg (see PR
#13654 ), which I used to
verify  the Variant
implementation in Parquet-Java. The validation surfaced a few minor issues,
but overall the results confirm compatibility between the two
implementations.

Let me know if you have any questions or additional follow-up requests.

Thanks,

Aihua



On Wed, Jul 23, 2025 at 2:24 AM Andrew Lamb  wrote:

> I agree the parquet-testing repo should have example Parquet files storing
> variants.
>
> It was brought to my attention recently that the duckdb folks made some
> testing files[1] based on the Iceberg test suite.
>
> Perhaps we can add those files to parquet-testing as part of [2].
>
> I expect we'll get to testing the Rust shredding implementation in 2-3
> weeks at which time I will likely help try and push this forward. It would
> be great if someone else wanted to help do it beforehand.
>
> Andrew
>
> [1]: https://github.com/duckdb/duckdb/pull/18224
> [2]: https://github.com/apache/parquet-testing/issues/75
>
> On Wed, Jul 23, 2025 at 1:14 AM Gang Wu  wrote:
>
> > I was under the impression that parquet-testing does not yet have Parquet
> > files with variant type annotations.
> >
> > Is this still the case? If not, should we add some (shredded and
> > unshredded) files produced by Java and Go implementations?
> >
> > On Wed, Jul 23, 2025 at 3:18 AM Aihua Xu  wrote:
> >
> > > Thanks Matt for the comment and working on the GO variant.
> > >
> > > Micah, that’s a good point. Let me check out the coverage completeness
> > for
> > > these two implementations.
> > >
> > >
> > >
> > > > On Jul 22, 2025, at 10:01 AM, Matt Topol 
> > wrote:
> > > >
> > > > Assuming that the files with variants in
> > > > https://github.com/apache/parquet-testing are generated by
> > parquet-java,
> > > > then we at least have confirmed that the Go implementation is able to
> > > read
> > > > variant files that are written by the Java implementation. So there's
> > at
> > > > least some testing of the two implementations against each other.
> > > >
> > > > --Matt
> > > >
> > > >> On Tue, Jul 22, 2025 at 12:29 AM Micah Kornfield <
> > [email protected]
> > > >
> > > >> wrote:
> > > >>
> > > >> Have we tested the two implementations against one another?
> > > >>
> > > >>> On Mon, Jul 21, 2025 at 9:14 PM Aihua Xu 
> wrote:
> > > >>>
> > > >>> Hi community,
> > > >>>
> > > >>> Per the Parquet specification requirements, two reference
> > > implementations
> > > >>> are needed to finalize the Variant logical type. Both Java and Go
> > > >>> implementations now support variant encoding and shredding.
> > > >>>
> > > >>> Java already has the encoding and shredding implementations in
> place:
> > > >>> apache/parquet-java#3197 <
> > > >> https://github.com/apache/parquet-java/pull/3197
> > > 
> > > >>> apache/parquet-java#3202 <
> > > >> https://github.com/apache/parquet-java/pull/3202
> > > 
> > > >>> apache/parquet-java#3223
> > > >>> 
> > > >>> apache/parquet-java#3211
> > > >>> 
> > > >>>
> > > >>> Go also includes encoding and shredding support:
> > > >>> apache/arrow-go#344 
> > > >>> apache/arrow-go#434 
> > > >>>
> > > >>> I propose that we remove the "under development" notes from the
> > > >>> documentation and move forward with finalizing the specification
> (PR
> > > #509
> > > >>> ).
> > > >>> This vote will be open for at least 72 hours.
> > > >>>
> > > >>> [ ] +1 Finalize Varint and Shredding Spec
> > > >>> [ ] +0
> > > >>> [ ] -1 Do not release this because...
> > > >>>
> > > >>
> > >
> >
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-07-23 Thread Andrew Lamb
I agree the parquet-testing repo should have example Parquet files storing
variants.

It was brought to my attention recently that the duckdb folks made some
testing files[1] based on the Iceberg test suite.

Perhaps we can add those files to parquet-testing as part of [2].

I expect we'll get to testing the Rust shredding implementation in 2-3
weeks at which time I will likely help try and push this forward. It would
be great if someone else wanted to help do it beforehand.

Andrew

[1]: https://github.com/duckdb/duckdb/pull/18224
[2]: https://github.com/apache/parquet-testing/issues/75

On Wed, Jul 23, 2025 at 1:14 AM Gang Wu  wrote:

> I was under the impression that parquet-testing does not yet have Parquet
> files with variant type annotations.
>
> Is this still the case? If not, should we add some (shredded and
> unshredded) files produced by Java and Go implementations?
>
> On Wed, Jul 23, 2025 at 3:18 AM Aihua Xu  wrote:
>
> > Thanks Matt for the comment and working on the GO variant.
> >
> > Micah, that’s a good point. Let me check out the coverage completeness
> for
> > these two implementations.
> >
> >
> >
> > > On Jul 22, 2025, at 10:01 AM, Matt Topol 
> wrote:
> > >
> > > Assuming that the files with variants in
> > > https://github.com/apache/parquet-testing are generated by
> parquet-java,
> > > then we at least have confirmed that the Go implementation is able to
> > read
> > > variant files that are written by the Java implementation. So there's
> at
> > > least some testing of the two implementations against each other.
> > >
> > > --Matt
> > >
> > >> On Tue, Jul 22, 2025 at 12:29 AM Micah Kornfield <
> [email protected]
> > >
> > >> wrote:
> > >>
> > >> Have we tested the two implementations against one another?
> > >>
> > >>> On Mon, Jul 21, 2025 at 9:14 PM Aihua Xu  wrote:
> > >>>
> > >>> Hi community,
> > >>>
> > >>> Per the Parquet specification requirements, two reference
> > implementations
> > >>> are needed to finalize the Variant logical type. Both Java and Go
> > >>> implementations now support variant encoding and shredding.
> > >>>
> > >>> Java already has the encoding and shredding implementations in place:
> > >>> apache/parquet-java#3197 <
> > >> https://github.com/apache/parquet-java/pull/3197
> > 
> > >>> apache/parquet-java#3202 <
> > >> https://github.com/apache/parquet-java/pull/3202
> > 
> > >>> apache/parquet-java#3223
> > >>> 
> > >>> apache/parquet-java#3211
> > >>> 
> > >>>
> > >>> Go also includes encoding and shredding support:
> > >>> apache/arrow-go#344 
> > >>> apache/arrow-go#434 
> > >>>
> > >>> I propose that we remove the "under development" notes from the
> > >>> documentation and move forward with finalizing the specification (PR
> > #509
> > >>> ).
> > >>> This vote will be open for at least 72 hours.
> > >>>
> > >>> [ ] +1 Finalize Varint and Shredding Spec
> > >>> [ ] +0
> > >>> [ ] -1 Do not release this because...
> > >>>
> > >>
> >
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-07-22 Thread Aihua Xu
I will check out more testing and restart the vote. Thanks for the feedback. 

> On Jul 22, 2025, at 10:14 PM, Gang Wu  wrote:
> 
> I was under the impression that parquet-testing does not yet have Parquet
> files with variant type annotations.
> 
> Is this still the case? If not, should we add some (shredded and
> unshredded) files produced by Java and Go implementations?
> 
>> On Wed, Jul 23, 2025 at 3:18 AM Aihua Xu  wrote:
>> 
>> Thanks Matt for the comment and working on the GO variant.
>> 
>> Micah, that’s a good point. Let me check out the coverage completeness for
>> these two implementations.
>> 
>> 
>> 
 On Jul 22, 2025, at 10:01 AM, Matt Topol  wrote:
>>> 
>>> Assuming that the files with variants in
>>> https://github.com/apache/parquet-testing are generated by parquet-java,
>>> then we at least have confirmed that the Go implementation is able to
>> read
>>> variant files that are written by the Java implementation. So there's at
>>> least some testing of the two implementations against each other.
>>> 
>>> --Matt
>>> 
 On Tue, Jul 22, 2025 at 12:29 AM Micah Kornfield >> 
 wrote:
 
 Have we tested the two implementations against one another?
 
> On Mon, Jul 21, 2025 at 9:14 PM Aihua Xu  wrote:
> 
> Hi community,
> 
> Per the Parquet specification requirements, two reference
>> implementations
> are needed to finalize the Variant logical type. Both Java and Go
> implementations now support variant encoding and shredding.
> 
> Java already has the encoding and shredding implementations in place:
> apache/parquet-java#3197 <
 https://github.com/apache/parquet-java/pull/3197
>> 
> apache/parquet-java#3202 <
 https://github.com/apache/parquet-java/pull/3202
>> 
> apache/parquet-java#3223
> 
> apache/parquet-java#3211
> 
> 
> Go also includes encoding and shredding support:
> apache/arrow-go#344 
> apache/arrow-go#434 
> 
> I propose that we remove the "under development" notes from the
> documentation and move forward with finalizing the specification (PR
>> #509
> ).
> This vote will be open for at least 72 hours.
> 
> [ ] +1 Finalize Varint and Shredding Spec
> [ ] +0
> [ ] -1 Do not release this because...
> 
 
>> 


Re: [VOTE] Finalize Variant and Shredding Spec

2025-07-22 Thread Gang Wu
I was under the impression that parquet-testing does not yet have Parquet
files with variant type annotations.

Is this still the case? If not, should we add some (shredded and
unshredded) files produced by Java and Go implementations?

On Wed, Jul 23, 2025 at 3:18 AM Aihua Xu  wrote:

> Thanks Matt for the comment and working on the GO variant.
>
> Micah, that’s a good point. Let me check out the coverage completeness for
> these two implementations.
>
>
>
> > On Jul 22, 2025, at 10:01 AM, Matt Topol  wrote:
> >
> > Assuming that the files with variants in
> > https://github.com/apache/parquet-testing are generated by parquet-java,
> > then we at least have confirmed that the Go implementation is able to
> read
> > variant files that are written by the Java implementation. So there's at
> > least some testing of the two implementations against each other.
> >
> > --Matt
> >
> >> On Tue, Jul 22, 2025 at 12:29 AM Micah Kornfield  >
> >> wrote:
> >>
> >> Have we tested the two implementations against one another?
> >>
> >>> On Mon, Jul 21, 2025 at 9:14 PM Aihua Xu  wrote:
> >>>
> >>> Hi community,
> >>>
> >>> Per the Parquet specification requirements, two reference
> implementations
> >>> are needed to finalize the Variant logical type. Both Java and Go
> >>> implementations now support variant encoding and shredding.
> >>>
> >>> Java already has the encoding and shredding implementations in place:
> >>> apache/parquet-java#3197 <
> >> https://github.com/apache/parquet-java/pull/3197
> 
> >>> apache/parquet-java#3202 <
> >> https://github.com/apache/parquet-java/pull/3202
> 
> >>> apache/parquet-java#3223
> >>> 
> >>> apache/parquet-java#3211
> >>> 
> >>>
> >>> Go also includes encoding and shredding support:
> >>> apache/arrow-go#344 
> >>> apache/arrow-go#434 
> >>>
> >>> I propose that we remove the "under development" notes from the
> >>> documentation and move forward with finalizing the specification (PR
> #509
> >>> ).
> >>> This vote will be open for at least 72 hours.
> >>>
> >>> [ ] +1 Finalize Varint and Shredding Spec
> >>> [ ] +0
> >>> [ ] -1 Do not release this because...
> >>>
> >>
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-07-22 Thread Aihua Xu
Thanks Matt for the comment and working on the GO variant.

Micah, that’s a good point. Let me check out the coverage completeness for 
these two implementations. 



> On Jul 22, 2025, at 10:01 AM, Matt Topol  wrote:
> 
> Assuming that the files with variants in
> https://github.com/apache/parquet-testing are generated by parquet-java,
> then we at least have confirmed that the Go implementation is able to read
> variant files that are written by the Java implementation. So there's at
> least some testing of the two implementations against each other.
> 
> --Matt
> 
>> On Tue, Jul 22, 2025 at 12:29 AM Micah Kornfield 
>> wrote:
>> 
>> Have we tested the two implementations against one another?
>> 
>>> On Mon, Jul 21, 2025 at 9:14 PM Aihua Xu  wrote:
>>> 
>>> Hi community,
>>> 
>>> Per the Parquet specification requirements, two reference implementations
>>> are needed to finalize the Variant logical type. Both Java and Go
>>> implementations now support variant encoding and shredding.
>>> 
>>> Java already has the encoding and shredding implementations in place:
>>> apache/parquet-java#3197 <
>> https://github.com/apache/parquet-java/pull/3197
 
>>> apache/parquet-java#3202 <
>> https://github.com/apache/parquet-java/pull/3202
 
>>> apache/parquet-java#3223
>>> 
>>> apache/parquet-java#3211
>>> 
>>> 
>>> Go also includes encoding and shredding support:
>>> apache/arrow-go#344 
>>> apache/arrow-go#434 
>>> 
>>> I propose that we remove the "under development" notes from the
>>> documentation and move forward with finalizing the specification (PR #509
>>> ).
>>> This vote will be open for at least 72 hours.
>>> 
>>> [ ] +1 Finalize Varint and Shredding Spec
>>> [ ] +0
>>> [ ] -1 Do not release this because...
>>> 
>> 


Re: [VOTE] Finalize Variant and Shredding Spec

2025-07-22 Thread Micah Kornfield
Can we confirm java can read parquet go written files before continuing the
vote?

On Tuesday, July 22, 2025, Matt Topol  wrote:

> Assuming that the files with variants in
> https://github.com/apache/parquet-testing are generated by parquet-java,
> then we at least have confirmed that the Go implementation is able to read
> variant files that are written by the Java implementation. So there's at
> least some testing of the two implementations against each other.
>
> --Matt
>
> On Tue, Jul 22, 2025 at 12:29 AM Micah Kornfield 
> wrote:
>
> > Have we tested the two implementations against one another?
> >
> > On Mon, Jul 21, 2025 at 9:14 PM Aihua Xu  wrote:
> >
> > > Hi community,
> > >
> > > Per the Parquet specification requirements, two reference
> implementations
> > > are needed to finalize the Variant logical type. Both Java and Go
> > > implementations now support variant encoding and shredding.
> > >
> > > Java already has the encoding and shredding implementations in place:
> > > apache/parquet-java#3197 <
> > https://github.com/apache/parquet-java/pull/3197
> > > >
> > > apache/parquet-java#3202 <
> > https://github.com/apache/parquet-java/pull/3202
> > > >
> > > apache/parquet-java#3223
> > > 
> > > apache/parquet-java#3211
> > > 
> > >
> > > Go also includes encoding and shredding support:
> > > apache/arrow-go#344 
> > > apache/arrow-go#434 
> > >
> > > I propose that we remove the "under development" notes from the
> > > documentation and move forward with finalizing the specification (PR
> #509
> > > ).
> > > This vote will be open for at least 72 hours.
> > >
> > > [ ] +1 Finalize Varint and Shredding Spec
> > > [ ] +0
> > > [ ] -1 Do not release this because...
> > >
> >
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-07-22 Thread Matt Topol
Assuming that the files with variants in
https://github.com/apache/parquet-testing are generated by parquet-java,
then we at least have confirmed that the Go implementation is able to read
variant files that are written by the Java implementation. So there's at
least some testing of the two implementations against each other.

--Matt

On Tue, Jul 22, 2025 at 12:29 AM Micah Kornfield 
wrote:

> Have we tested the two implementations against one another?
>
> On Mon, Jul 21, 2025 at 9:14 PM Aihua Xu  wrote:
>
> > Hi community,
> >
> > Per the Parquet specification requirements, two reference implementations
> > are needed to finalize the Variant logical type. Both Java and Go
> > implementations now support variant encoding and shredding.
> >
> > Java already has the encoding and shredding implementations in place:
> > apache/parquet-java#3197 <
> https://github.com/apache/parquet-java/pull/3197
> > >
> > apache/parquet-java#3202 <
> https://github.com/apache/parquet-java/pull/3202
> > >
> > apache/parquet-java#3223
> > 
> > apache/parquet-java#3211
> > 
> >
> > Go also includes encoding and shredding support:
> > apache/arrow-go#344 
> > apache/arrow-go#434 
> >
> > I propose that we remove the "under development" notes from the
> > documentation and move forward with finalizing the specification (PR #509
> > ).
> > This vote will be open for at least 72 hours.
> >
> > [ ] +1 Finalize Varint and Shredding Spec
> > [ ] +0
> > [ ] -1 Do not release this because...
> >
>


Re: [VOTE] Finalize Variant and Shredding Spec

2025-07-21 Thread Micah Kornfield
Have we tested the two implementations against one another?

On Mon, Jul 21, 2025 at 9:14 PM Aihua Xu  wrote:

> Hi community,
>
> Per the Parquet specification requirements, two reference implementations
> are needed to finalize the Variant logical type. Both Java and Go
> implementations now support variant encoding and shredding.
>
> Java already has the encoding and shredding implementations in place:
> apache/parquet-java#3197  >
> apache/parquet-java#3202  >
> apache/parquet-java#3223
> 
> apache/parquet-java#3211
> 
>
> Go also includes encoding and shredding support:
> apache/arrow-go#344 
> apache/arrow-go#434 
>
> I propose that we remove the "under development" notes from the
> documentation and move forward with finalizing the specification (PR #509
> ).
> This vote will be open for at least 72 hours.
>
> [ ] +1 Finalize Varint and Shredding Spec
> [ ] +0
> [ ] -1 Do not release this because...
>