You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iceberg.apache.org by Gabor Kaszab <ga...@apache.org> on 2024/08/29 12:46:41 UTC
[DISCUSS] Additional language implementations for Iceberg Puffin reader/writer
Hi Iceberg Community,
With the V3 position delete proposal
<https://docs.google.com/document/d/18Bqhr-vnzFfQk1S4AgRISkA_5_m5m32Nnc2Cw0zn2XM>
it came up that non-Java engines might have to implement a Puffin reader
and writer themselves so that they can support the newly proposed position
deletes. Impala would most probably require a C++ implementation and first
of all I'm wondering whether there are other engines that
require additional language implementation.
My additional thought is that once we have an implementation in another
language where should that live? I can do the C++ and that could live
within Impala, but I think it could be useful for other engines too but I
have no idea where such an implementation could live TBH.
Would be nice to hear opinions on this!
Thanks,
Gabor
Re: [DISCUSS] Additional language implementations for Iceberg Puffin reader/writer
Posted by Renjie Liu <li...@gmail.com>.
Hi:
I think it is reasonable to start a new C++ sub-project even if it will
> only contain Puffin writers/readers initially. Are there any alternatives?
> We could add a separate repo for Puffin but we previously concluded it is
> not a good idea to support multiple languages in one repo.
I'm not sure this is a good approach since a cpp repo with sole Puffin
readers/writers would be confusing to users. I agree with Xuanwo that we
can implement it in rust and provide c/cpp bindings.
On Fri, Aug 30, 2024 at 4:44 AM Anton Okolnychyi <ao...@gmail.com>
wrote:
> I definitely support the idea of having Puffin readers/writers for
> different languages managed by the community. It would be really
> unfortunate for engines to re-implement this logic. Like Piotr said, it is
> not only for V3 position deletes but also for table stats supported today.
>
> I think it is reasonable to start a new C++ sub-project even if it will
> only contain Puffin writers/readers initially. Are there any alternatives?
> We could add a separate repo for Puffin but we previously concluded it is
> not a good idea to support multiple languages in one repo.
>
> - Anton
>
> чт, 29 серп. 2024 р. о 09:04 Gang Wu <us...@gmail.com> пише:
>
>> Hi,
>>
>> It won't be an issue if there is already an iceberg-cpp implementation.
>> However, it is unfortunate to see duplicate efforts from different query
>> engines to implement their own C++ Iceberg reader and writers. Is it a good
>> chance to add official C++ implementation by providing a puffin
>> reader/writer? It can be a good starting point, IMHO.
>>
>> Best,
>> Gang
>>
>> On Thu, Aug 29, 2024 at 11:09 PM Piotr Findeisen <
>> piotr.findeisen@gmail.com> wrote:
>>
>>> Hi Gabor,
>>>
>>> thanks for starting this topic. it would be awesome to have Puffin
>>> readers/writers available to all languages supported by the Iceberg
>>> community!
>>> The topic is important for v3, but also if we want to support stats
>>> updates when writing to tables that already have some stats collected.
>>>
>>> i agree with Xuanwo that iceberg-rust will likely want a first-class
>>> rust implementation and that it would go into iceberg-rust project.
>>>
>>> Best
>>> Piotr
>>>
>>>
>>>
>>> On Thu, 29 Aug 2024 at 15:41, Xuanwo <xu...@apache.org> wrote:
>>>
>>>> I believe iceberg-rust should be the natural place for Puffin's rust
>>>> implementation, and pyiceberg can reuse iceberg-rust's implementation.
>>>>
>>>> On Thu, Aug 29, 2024, at 20:46, Gabor Kaszab wrote:
>>>>
>>>> Hi Iceberg Community,
>>>>
>>>> With the V3 position delete proposal
>>>> <https://docs.google.com/document/d/18Bqhr-vnzFfQk1S4AgRISkA_5_m5m32Nnc2Cw0zn2XM>
>>>> it came up that non-Java engines might have to implement a Puffin reader
>>>> and writer themselves so that they can support the newly proposed position
>>>> deletes. Impala would most probably require a C++ implementation and first
>>>> of all I'm wondering whether there are other engines that
>>>> require additional language implementation.
>>>>
>>>> My additional thought is that once we have an implementation in another
>>>> language where should that live? I can do the C++ and that could live
>>>> within Impala, but I think it could be useful for other engines too but I
>>>> have no idea where such an implementation could live TBH.
>>>>
>>>> Would be nice to hear opinions on this!
>>>> Thanks,
>>>> Gabor
>>>>
>>>> Xuanwo
>>>>
>>>> https://xuanwo.io/
>>>>
>>>>
Re: [DISCUSS] Additional language implementations for Iceberg Puffin reader/writer
Posted by Anton Okolnychyi <ao...@gmail.com>.
I definitely support the idea of having Puffin readers/writers for
different languages managed by the community. It would be really
unfortunate for engines to re-implement this logic. Like Piotr said, it is
not only for V3 position deletes but also for table stats supported today.
I think it is reasonable to start a new C++ sub-project even if it will
only contain Puffin writers/readers initially. Are there any alternatives?
We could add a separate repo for Puffin but we previously concluded it is
not a good idea to support multiple languages in one repo.
- Anton
чт, 29 серп. 2024 р. о 09:04 Gang Wu <us...@gmail.com> пише:
> Hi,
>
> It won't be an issue if there is already an iceberg-cpp implementation.
> However, it is unfortunate to see duplicate efforts from different query
> engines to implement their own C++ Iceberg reader and writers. Is it a good
> chance to add official C++ implementation by providing a puffin
> reader/writer? It can be a good starting point, IMHO.
>
> Best,
> Gang
>
> On Thu, Aug 29, 2024 at 11:09 PM Piotr Findeisen <
> piotr.findeisen@gmail.com> wrote:
>
>> Hi Gabor,
>>
>> thanks for starting this topic. it would be awesome to have Puffin
>> readers/writers available to all languages supported by the Iceberg
>> community!
>> The topic is important for v3, but also if we want to support stats
>> updates when writing to tables that already have some stats collected.
>>
>> i agree with Xuanwo that iceberg-rust will likely want a first-class rust
>> implementation and that it would go into iceberg-rust project.
>>
>> Best
>> Piotr
>>
>>
>>
>> On Thu, 29 Aug 2024 at 15:41, Xuanwo <xu...@apache.org> wrote:
>>
>>> I believe iceberg-rust should be the natural place for Puffin's rust
>>> implementation, and pyiceberg can reuse iceberg-rust's implementation.
>>>
>>> On Thu, Aug 29, 2024, at 20:46, Gabor Kaszab wrote:
>>>
>>> Hi Iceberg Community,
>>>
>>> With the V3 position delete proposal
>>> <https://docs.google.com/document/d/18Bqhr-vnzFfQk1S4AgRISkA_5_m5m32Nnc2Cw0zn2XM>
>>> it came up that non-Java engines might have to implement a Puffin reader
>>> and writer themselves so that they can support the newly proposed position
>>> deletes. Impala would most probably require a C++ implementation and first
>>> of all I'm wondering whether there are other engines that
>>> require additional language implementation.
>>>
>>> My additional thought is that once we have an implementation in another
>>> language where should that live? I can do the C++ and that could live
>>> within Impala, but I think it could be useful for other engines too but I
>>> have no idea where such an implementation could live TBH.
>>>
>>> Would be nice to hear opinions on this!
>>> Thanks,
>>> Gabor
>>>
>>> Xuanwo
>>>
>>> https://xuanwo.io/
>>>
>>>
Re: [DISCUSS] Additional language implementations for Iceberg Puffin reader/writer
Posted by Gang Wu <us...@gmail.com>.
Hi,
It won't be an issue if there is already an iceberg-cpp implementation.
However, it is unfortunate to see duplicate efforts from different query
engines to implement their own C++ Iceberg reader and writers. Is it a good
chance to add official C++ implementation by providing a puffin
reader/writer? It can be a good starting point, IMHO.
Best,
Gang
On Thu, Aug 29, 2024 at 11:09 PM Piotr Findeisen <pi...@gmail.com>
wrote:
> Hi Gabor,
>
> thanks for starting this topic. it would be awesome to have Puffin
> readers/writers available to all languages supported by the Iceberg
> community!
> The topic is important for v3, but also if we want to support stats
> updates when writing to tables that already have some stats collected.
>
> i agree with Xuanwo that iceberg-rust will likely want a first-class rust
> implementation and that it would go into iceberg-rust project.
>
> Best
> Piotr
>
>
>
> On Thu, 29 Aug 2024 at 15:41, Xuanwo <xu...@apache.org> wrote:
>
>> I believe iceberg-rust should be the natural place for Puffin's rust
>> implementation, and pyiceberg can reuse iceberg-rust's implementation.
>>
>> On Thu, Aug 29, 2024, at 20:46, Gabor Kaszab wrote:
>>
>> Hi Iceberg Community,
>>
>> With the V3 position delete proposal
>> <https://docs.google.com/document/d/18Bqhr-vnzFfQk1S4AgRISkA_5_m5m32Nnc2Cw0zn2XM>
>> it came up that non-Java engines might have to implement a Puffin reader
>> and writer themselves so that they can support the newly proposed position
>> deletes. Impala would most probably require a C++ implementation and first
>> of all I'm wondering whether there are other engines that
>> require additional language implementation.
>>
>> My additional thought is that once we have an implementation in another
>> language where should that live? I can do the C++ and that could live
>> within Impala, but I think it could be useful for other engines too but I
>> have no idea where such an implementation could live TBH.
>>
>> Would be nice to hear opinions on this!
>> Thanks,
>> Gabor
>>
>> Xuanwo
>>
>> https://xuanwo.io/
>>
>>
Re: [DISCUSS] Additional language implementations for Iceberg Puffin reader/writer
Posted by Piotr Findeisen <pi...@gmail.com>.
Hi Gabor,
thanks for starting this topic. it would be awesome to have Puffin
readers/writers available to all languages supported by the Iceberg
community!
The topic is important for v3, but also if we want to support stats updates
when writing to tables that already have some stats collected.
i agree with Xuanwo that iceberg-rust will likely want a first-class rust
implementation and that it would go into iceberg-rust project.
Best
Piotr
On Thu, 29 Aug 2024 at 15:41, Xuanwo <xu...@apache.org> wrote:
> I believe iceberg-rust should be the natural place for Puffin's rust
> implementation, and pyiceberg can reuse iceberg-rust's implementation.
>
> On Thu, Aug 29, 2024, at 20:46, Gabor Kaszab wrote:
>
> Hi Iceberg Community,
>
> With the V3 position delete proposal
> <https://docs.google.com/document/d/18Bqhr-vnzFfQk1S4AgRISkA_5_m5m32Nnc2Cw0zn2XM>
> it came up that non-Java engines might have to implement a Puffin reader
> and writer themselves so that they can support the newly proposed position
> deletes. Impala would most probably require a C++ implementation and first
> of all I'm wondering whether there are other engines that
> require additional language implementation.
>
> My additional thought is that once we have an implementation in another
> language where should that live? I can do the C++ and that could live
> within Impala, but I think it could be useful for other engines too but I
> have no idea where such an implementation could live TBH.
>
> Would be nice to hear opinions on this!
> Thanks,
> Gabor
>
> Xuanwo
>
> https://xuanwo.io/
>
>
Re: [DISCUSS] Additional language implementations for Iceberg Puffin reader/writer
Posted by Xuanwo <xu...@apache.org>.
I believe iceberg-rust should be the natural place for Puffin's rust implementation, and pyiceberg can reuse iceberg-rust's implementation.
On Thu, Aug 29, 2024, at 20:46, Gabor Kaszab wrote:
> Hi Iceberg Community,
>
> With the V3 position delete proposal <https://docs.google.com/document/d/18Bqhr-vnzFfQk1S4AgRISkA_5_m5m32Nnc2Cw0zn2XM> it came up that non-Java engines might have to implement a Puffin reader and writer themselves so that they can support the newly proposed position deletes. Impala would most probably require a C++ implementation and first of all I'm wondering whether there are other engines that require additional language implementation.
>
> My additional thought is that once we have an implementation in another language where should that live? I can do the C++ and that could live within Impala, but I think it could be useful for other engines too but I have no idea where such an implementation could live TBH.
>
> Would be nice to hear opinions on this!
> Thanks,
> Gabor
Xuanwo
https://xuanwo.io/
Re: [DISCUSS] Additional language implementations for Iceberg Puffin reader/writer
Posted by Fokko Driesprong <fo...@apache.org>.
Hey Gabor,
Sorry for not replying in this thread earlier. I fully missed this thread
since it was right in the middle of my prenatal leave.
As already mentioned there is the Iceberg-Rust effort, and the Iceberg-Go
effort is progressing nicely (I would expect to have bindings to cpp at
some point). However, I think there is room for having a dedicated cpp
implementation to not push developers in a certain direction.
Looking at the interest here, I went ahead and created the iceberg-cpp
<https://github.com/apache/iceberg-cpp> repository. I'll requested a cpp
slack channel as well, where we can sync up and make this happen. Looking
forward to this!
Kind regards,
Fokko
Op vr 22 nov 2024 om 09:36 schreef Gang Wu <us...@gmail.com>:
> Thanks Gabor for the update!
>
> Yes, I think the iceberg-rust and iceberg-go are going on pretty well. I
> have an interest in working on a brand new iceberg-cpp project.
>
> I have done some research and found that this is a long-awaited project
> but has made no progress so far. I'd like to hear the voice from the
> community to see if it is something that is worth doing.
>
> Best,
> Gang
>
> On Fri, Nov 22, 2024 at 4:26 PM Gabor Kaszab <ga...@apache.org>
> wrote:
>
>> Hi Iceberg Community,
>>
>> It's been a while since we started this discussion. I'd like to revive
>> the conversion for two reasons:
>> 1) I think I'll have some capacity starting from early next year to take
>> care of the C++ Puffin stuff we already talked about above, and also from
>> the Impala community we could add some additional auxiliary functionality
>> for the V3 positional deletes later on.
>> 2) I learned that a part of the community is interested in having a C++
>> implementation of the Iceberg lib in general for their C++ engine. cc @Gang
>> Wu
>>
>> There seemed to be general support from the community to start up such a
>> sub-project, so I'm reaching out now to ask for some guidance so that we
>> can get going. @Fokko Driesprong <fo...@apache.org> You have much
>> experience in this area, do you think you have the bandwidth to handhold us
>> with the process and the steps? Meanwhile, I'll take a look at the Python
>> repo to get a feel for myself.
>>
>> Regards,
>> Gabor
>>
>> On Wed, Sep 11, 2024 at 5:32 PM Anton Okolnychyi <ao...@gmail.com>
>> wrote:
>>
>>> If C++ engines prefer not to depend on Iceberg Rust, I actually don't
>>> see a problem with having a separate C++ project even if it only contains
>>> Puffin readers/writers. The important part is to avoid multiple C++
>>> writer/reader implementations in different engines.
>>>
>>> There were concerns with having one repo for multiple languages when we
>>> discussed how to maintain the main project. We should re-evaluate if they
>>> still apply here.
>>>
>>> - Anton
>>>
>>> вт, 10 вер. 2024 р. о 06:08 Gabor Kaszab <ga...@apache.org> пише:
>>>
>>>> Hey All,
>>>>
>>>> Thanks for all the answers!
>>>>
>>>> My initial thought here was to have an iceberg-cpp repo for the Puffin
>>>> reader/writer implementation in C++. But then I thought that there might be
>>>> only one thing within this cpp repo, that is the Puffin stuff, and once
>>>> implemented the repo won't have any more PRs coming in so it might be an
>>>> overkill to introduce a separate repo for this purpose. Unless there is a
>>>> need from other stakeholders to have a C++ implementation of the Iceberg
>>>> lib (similarly to Python and Rust) but this would lead to a different
>>>> conversation.
>>>>
>>>> Pulling in the Rust implementation into the C++ part of Impala: I don't
>>>> know, I have to do some research on this. For performance reasons I know
>>>> Impala prefers to have its own implementation of things (like Parquet
>>>> reader/writer), so I have to double-check if it's acceptable
>>>> performance-wise to pull in a Rust implementation of anything. I don't have
>>>> any experience of doing so, hence the hesitation.
>>>>
>>>> JB, you mean that we can create a sub-repo like iceberg-puffin, that
>>>> would hold separate implementations for different languages? For me this
>>>> could also work. Wondering what others think.
>>>>
>>>> Regards,
>>>> Gabor
>>>>
>>>>
>>>> On Fri, Aug 30, 2024 at 2:08 PM Jean-Baptiste Onofré <jb...@nanthrax.net>
>>>> wrote:
>>>>
>>>>> Hi Gabor
>>>>>
>>>>> I like the idea, it sounds good to me.
>>>>>
>>>>> Imho, for "clarity", the best option would be to have a dedicated
>>>>> puffin repo with different language binding (at bit like it's done in
>>>>> Arrow).
>>>>> I think that adding to iceberg-rust could be an option, but not sure
>>>>> it would be obvious for developers.
>>>>>
>>>>> Regards
>>>>> JB
>>>>>
>>>>> On Thu, Aug 29, 2024 at 2:46 PM Gabor Kaszab <ga...@apache.org>
>>>>> wrote:
>>>>> >
>>>>> > Hi Iceberg Community,
>>>>> >
>>>>> > With the V3 position delete proposal it came up that non-Java
>>>>> engines might have to implement a Puffin reader and writer themselves so
>>>>> that they can support the newly proposed position deletes. Impala would
>>>>> most probably require a C++ implementation and first of all I'm wondering
>>>>> whether there are other engines that require additional language
>>>>> implementation.
>>>>> >
>>>>> > My additional thought is that once we have an implementation in
>>>>> another language where should that live? I can do the C++ and that could
>>>>> live within Impala, but I think it could be useful for other engines too
>>>>> but I have no idea where such an implementation could live TBH.
>>>>> >
>>>>> > Would be nice to hear opinions on this!
>>>>> > Thanks,
>>>>> > Gabor
>>>>>
>>>>
Re: [DISCUSS] Additional language implementations for Iceberg Puffin reader/writer
Posted by Gang Wu <us...@gmail.com>.
Thanks Gabor for the update!
Yes, I think the iceberg-rust and iceberg-go are going on pretty well. I
have an interest in working on a brand new iceberg-cpp project.
I have done some research and found that this is a long-awaited project but
has made no progress so far. I'd like to hear the voice from the community
to see if it is something that is worth doing.
Best,
Gang
On Fri, Nov 22, 2024 at 4:26 PM Gabor Kaszab <ga...@apache.org> wrote:
> Hi Iceberg Community,
>
> It's been a while since we started this discussion. I'd like to revive the
> conversion for two reasons:
> 1) I think I'll have some capacity starting from early next year to take
> care of the C++ Puffin stuff we already talked about above, and also from
> the Impala community we could add some additional auxiliary functionality
> for the V3 positional deletes later on.
> 2) I learned that a part of the community is interested in having a C++
> implementation of the Iceberg lib in general for their C++ engine. cc @Gang
> Wu
>
> There seemed to be general support from the community to start up such a
> sub-project, so I'm reaching out now to ask for some guidance so that we
> can get going. @Fokko Driesprong <fo...@apache.org> You have much
> experience in this area, do you think you have the bandwidth to handhold us
> with the process and the steps? Meanwhile, I'll take a look at the Python
> repo to get a feel for myself.
>
> Regards,
> Gabor
>
> On Wed, Sep 11, 2024 at 5:32 PM Anton Okolnychyi <ao...@gmail.com>
> wrote:
>
>> If C++ engines prefer not to depend on Iceberg Rust, I actually don't see
>> a problem with having a separate C++ project even if it only contains
>> Puffin readers/writers. The important part is to avoid multiple C++
>> writer/reader implementations in different engines.
>>
>> There were concerns with having one repo for multiple languages when we
>> discussed how to maintain the main project. We should re-evaluate if they
>> still apply here.
>>
>> - Anton
>>
>> вт, 10 вер. 2024 р. о 06:08 Gabor Kaszab <ga...@apache.org> пише:
>>
>>> Hey All,
>>>
>>> Thanks for all the answers!
>>>
>>> My initial thought here was to have an iceberg-cpp repo for the Puffin
>>> reader/writer implementation in C++. But then I thought that there might be
>>> only one thing within this cpp repo, that is the Puffin stuff, and once
>>> implemented the repo won't have any more PRs coming in so it might be an
>>> overkill to introduce a separate repo for this purpose. Unless there is a
>>> need from other stakeholders to have a C++ implementation of the Iceberg
>>> lib (similarly to Python and Rust) but this would lead to a different
>>> conversation.
>>>
>>> Pulling in the Rust implementation into the C++ part of Impala: I don't
>>> know, I have to do some research on this. For performance reasons I know
>>> Impala prefers to have its own implementation of things (like Parquet
>>> reader/writer), so I have to double-check if it's acceptable
>>> performance-wise to pull in a Rust implementation of anything. I don't have
>>> any experience of doing so, hence the hesitation.
>>>
>>> JB, you mean that we can create a sub-repo like iceberg-puffin, that
>>> would hold separate implementations for different languages? For me this
>>> could also work. Wondering what others think.
>>>
>>> Regards,
>>> Gabor
>>>
>>>
>>> On Fri, Aug 30, 2024 at 2:08 PM Jean-Baptiste Onofré <jb...@nanthrax.net>
>>> wrote:
>>>
>>>> Hi Gabor
>>>>
>>>> I like the idea, it sounds good to me.
>>>>
>>>> Imho, for "clarity", the best option would be to have a dedicated
>>>> puffin repo with different language binding (at bit like it's done in
>>>> Arrow).
>>>> I think that adding to iceberg-rust could be an option, but not sure
>>>> it would be obvious for developers.
>>>>
>>>> Regards
>>>> JB
>>>>
>>>> On Thu, Aug 29, 2024 at 2:46 PM Gabor Kaszab <ga...@apache.org>
>>>> wrote:
>>>> >
>>>> > Hi Iceberg Community,
>>>> >
>>>> > With the V3 position delete proposal it came up that non-Java engines
>>>> might have to implement a Puffin reader and writer themselves so that they
>>>> can support the newly proposed position deletes. Impala would most probably
>>>> require a C++ implementation and first of all I'm wondering whether there
>>>> are other engines that require additional language implementation.
>>>> >
>>>> > My additional thought is that once we have an implementation in
>>>> another language where should that live? I can do the C++ and that could
>>>> live within Impala, but I think it could be useful for other engines too
>>>> but I have no idea where such an implementation could live TBH.
>>>> >
>>>> > Would be nice to hear opinions on this!
>>>> > Thanks,
>>>> > Gabor
>>>>
>>>
Re: [DISCUSS] Additional language implementations for Iceberg Puffin reader/writer
Posted by Zoltán Borók-Nagy <bo...@apache.org>.
Awesome! In Impala we created our own implementations so far, but it
will be nice to join forces and have a common library.
Looking forward to the Slack channel.
Cheers,
Zoltan
On Fri, Nov 22, 2024 at 5:01 PM Gang Wu <us...@gmail.com> wrote:
>
> I have created an issue [1] to collect initial ideas for the iceberg-cpp project.
>
> Any feedback is appreciated.
>
> [1] https://github.com/apache/iceberg-cpp/issues/2
>
> Best,
> Gang
>
> On Fri, Nov 22, 2024 at 10:11 PM Matt Topol <zo...@gmail.com> wrote:
>>
>> I will also help out with the iceberg-cpp effort, please include me on the channel. While my focus will still be on iceberg-go, I'll happily review and contribute to the C++ implementation.
>>
>> I do also plan on eventually implementing puffin in the iceberg-go repo lol
>>
>> --Matt
>>
>> On Fri, Nov 22, 2024 at 8:55 AM Raúl Cumplido <ra...@apache.org> wrote:
>>>
>>> This sounds awesome. I am looking forward to the slack channel being
>>> available so I can also help!
>>>
>>> El vie, 22 nov 2024 a las 10:03, Gang Wu (<us...@gmail.com>) escribió:
>>> >
>>> > Thanks for the support, Fokko and JB!
>>> >
>>> > Please include me in the cpp slack channel for future cooperation.
>>> >
>>> > Best,
>>> > Gang
>>> >
>>> > On Fri, Nov 22, 2024 at 4:58 PM Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>>> >>
>>> >> Hi Gabor,
>>> >>
>>> >> I think it makes sense to create iceberg-cpp resources (repository,
>>> >> slack channel, ...): this can gather the efforts in the Iceberg lib
>>> >> and Puffin implementation.
>>> >>
>>> >> Fokko can help there, he can ping me if needed (from ASF standpoint) :)
>>> >>
>>> >> Regards
>>> >> JB
>>> >>
>>> >> On Fri, Nov 22, 2024 at 9:25 AM Gabor Kaszab <ga...@apache.org> wrote:
>>> >> >
>>> >> > Hi Iceberg Community,
>>> >> >
>>> >> > It's been a while since we started this discussion. I'd like to revive the conversion for two reasons:
>>> >> > 1) I think I'll have some capacity starting from early next year to take care of the C++ Puffin stuff we already talked about above, and also from the Impala community we could add some additional auxiliary functionality for the V3 positional deletes later on.
>>> >> > 2) I learned that a part of the community is interested in having a C++ implementation of the Iceberg lib in general for their C++ engine. cc @Gang Wu
>>> >> >
>>> >> > There seemed to be general support from the community to start up such a sub-project, so I'm reaching out now to ask for some guidance so that we can get going. @Fokko Driesprong You have much experience in this area, do you think you have the bandwidth to handhold us with the process and the steps? Meanwhile, I'll take a look at the Python repo to get a feel for myself.
>>> >> >
>>> >> > Regards,
>>> >> > Gabor
>>> >> >
>>> >> > On Wed, Sep 11, 2024 at 5:32 PM Anton Okolnychyi <ao...@gmail.com> wrote:
>>> >> >>
>>> >> >> If C++ engines prefer not to depend on Iceberg Rust, I actually don't see a problem with having a separate C++ project even if it only contains Puffin readers/writers. The important part is to avoid multiple C++ writer/reader implementations in different engines.
>>> >> >>
>>> >> >> There were concerns with having one repo for multiple languages when we discussed how to maintain the main project. We should re-evaluate if they still apply here.
>>> >> >>
>>> >> >> - Anton
>>> >> >>
>>> >> >> вт, 10 вер. 2024 р. о 06:08 Gabor Kaszab <ga...@apache.org> пише:
>>> >> >>>
>>> >> >>> Hey All,
>>> >> >>>
>>> >> >>> Thanks for all the answers!
>>> >> >>>
>>> >> >>> My initial thought here was to have an iceberg-cpp repo for the Puffin reader/writer implementation in C++. But then I thought that there might be only one thing within this cpp repo, that is the Puffin stuff, and once implemented the repo won't have any more PRs coming in so it might be an overkill to introduce a separate repo for this purpose. Unless there is a need from other stakeholders to have a C++ implementation of the Iceberg lib (similarly to Python and Rust) but this would lead to a different conversation.
>>> >> >>>
>>> >> >>> Pulling in the Rust implementation into the C++ part of Impala: I don't know, I have to do some research on this. For performance reasons I know Impala prefers to have its own implementation of things (like Parquet reader/writer), so I have to double-check if it's acceptable performance-wise to pull in a Rust implementation of anything. I don't have any experience of doing so, hence the hesitation.
>>> >> >>>
>>> >> >>> JB, you mean that we can create a sub-repo like iceberg-puffin, that would hold separate implementations for different languages? For me this could also work. Wondering what others think.
>>> >> >>>
>>> >> >>> Regards,
>>> >> >>> Gabor
>>> >> >>>
>>> >> >>>
>>> >> >>> On Fri, Aug 30, 2024 at 2:08 PM Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>>> >> >>>>
>>> >> >>>> Hi Gabor
>>> >> >>>>
>>> >> >>>> I like the idea, it sounds good to me.
>>> >> >>>>
>>> >> >>>> Imho, for "clarity", the best option would be to have a dedicated
>>> >> >>>> puffin repo with different language binding (at bit like it's done in
>>> >> >>>> Arrow).
>>> >> >>>> I think that adding to iceberg-rust could be an option, but not sure
>>> >> >>>> it would be obvious for developers.
>>> >> >>>>
>>> >> >>>> Regards
>>> >> >>>> JB
>>> >> >>>>
>>> >> >>>> On Thu, Aug 29, 2024 at 2:46 PM Gabor Kaszab <ga...@apache.org> wrote:
>>> >> >>>> >
>>> >> >>>> > Hi Iceberg Community,
>>> >> >>>> >
>>> >> >>>> > With the V3 position delete proposal it came up that non-Java engines might have to implement a Puffin reader and writer themselves so that they can support the newly proposed position deletes. Impala would most probably require a C++ implementation and first of all I'm wondering whether there are other engines that require additional language implementation.
>>> >> >>>> >
>>> >> >>>> > My additional thought is that once we have an implementation in another language where should that live? I can do the C++ and that could live within Impala, but I think it could be useful for other engines too but I have no idea where such an implementation could live TBH.
>>> >> >>>> >
>>> >> >>>> > Would be nice to hear opinions on this!
>>> >> >>>> > Thanks,
>>> >> >>>> > Gabor
Re: [DISCUSS] Additional language implementations for Iceberg Puffin reader/writer
Posted by Gang Wu <us...@gmail.com>.
I have created an issue [1] to collect initial ideas for the iceberg-cpp
project.
Any feedback is appreciated.
[1] https://github.com/apache/iceberg-cpp/issues/2
Best,
Gang
On Fri, Nov 22, 2024 at 10:11 PM Matt Topol <zo...@gmail.com> wrote:
> I will also help out with the iceberg-cpp effort, please include me on the
> channel. While my focus will still be on iceberg-go, I'll happily review
> and contribute to the C++ implementation.
>
> I do also plan on eventually implementing puffin in the iceberg-go repo lol
>
> --Matt
>
> On Fri, Nov 22, 2024 at 8:55 AM Raúl Cumplido <ra...@apache.org> wrote:
>
>> This sounds awesome. I am looking forward to the slack channel being
>> available so I can also help!
>>
>> El vie, 22 nov 2024 a las 10:03, Gang Wu (<us...@gmail.com>) escribió:
>> >
>> > Thanks for the support, Fokko and JB!
>> >
>> > Please include me in the cpp slack channel for future cooperation.
>> >
>> > Best,
>> > Gang
>> >
>> > On Fri, Nov 22, 2024 at 4:58 PM Jean-Baptiste Onofré <jb...@nanthrax.net>
>> wrote:
>> >>
>> >> Hi Gabor,
>> >>
>> >> I think it makes sense to create iceberg-cpp resources (repository,
>> >> slack channel, ...): this can gather the efforts in the Iceberg lib
>> >> and Puffin implementation.
>> >>
>> >> Fokko can help there, he can ping me if needed (from ASF standpoint) :)
>> >>
>> >> Regards
>> >> JB
>> >>
>> >> On Fri, Nov 22, 2024 at 9:25 AM Gabor Kaszab <ga...@apache.org>
>> wrote:
>> >> >
>> >> > Hi Iceberg Community,
>> >> >
>> >> > It's been a while since we started this discussion. I'd like to
>> revive the conversion for two reasons:
>> >> > 1) I think I'll have some capacity starting from early next year to
>> take care of the C++ Puffin stuff we already talked about above, and also
>> from the Impala community we could add some additional auxiliary
>> functionality for the V3 positional deletes later on.
>> >> > 2) I learned that a part of the community is interested in having a
>> C++ implementation of the Iceberg lib in general for their C++ engine. cc
>> @Gang Wu
>> >> >
>> >> > There seemed to be general support from the community to start up
>> such a sub-project, so I'm reaching out now to ask for some guidance so
>> that we can get going. @Fokko Driesprong You have much experience in this
>> area, do you think you have the bandwidth to handhold us with the process
>> and the steps? Meanwhile, I'll take a look at the Python repo to get a feel
>> for myself.
>> >> >
>> >> > Regards,
>> >> > Gabor
>> >> >
>> >> > On Wed, Sep 11, 2024 at 5:32 PM Anton Okolnychyi <
>> aokolnychyi@gmail.com> wrote:
>> >> >>
>> >> >> If C++ engines prefer not to depend on Iceberg Rust, I actually
>> don't see a problem with having a separate C++ project even if it only
>> contains Puffin readers/writers. The important part is to avoid multiple
>> C++ writer/reader implementations in different engines.
>> >> >>
>> >> >> There were concerns with having one repo for multiple languages
>> when we discussed how to maintain the main project. We should re-evaluate
>> if they still apply here.
>> >> >>
>> >> >> - Anton
>> >> >>
>> >> >> вт, 10 вер. 2024 р. о 06:08 Gabor Kaszab <ga...@apache.org>
>> пише:
>> >> >>>
>> >> >>> Hey All,
>> >> >>>
>> >> >>> Thanks for all the answers!
>> >> >>>
>> >> >>> My initial thought here was to have an iceberg-cpp repo for the
>> Puffin reader/writer implementation in C++. But then I thought that there
>> might be only one thing within this cpp repo, that is the Puffin stuff, and
>> once implemented the repo won't have any more PRs coming in so it might be
>> an overkill to introduce a separate repo for this purpose. Unless there is
>> a need from other stakeholders to have a C++ implementation of the Iceberg
>> lib (similarly to Python and Rust) but this would lead to a different
>> conversation.
>> >> >>>
>> >> >>> Pulling in the Rust implementation into the C++ part of Impala: I
>> don't know, I have to do some research on this. For performance reasons I
>> know Impala prefers to have its own implementation of things (like Parquet
>> reader/writer), so I have to double-check if it's acceptable
>> performance-wise to pull in a Rust implementation of anything. I don't have
>> any experience of doing so, hence the hesitation.
>> >> >>>
>> >> >>> JB, you mean that we can create a sub-repo like iceberg-puffin,
>> that would hold separate implementations for different languages? For me
>> this could also work. Wondering what others think.
>> >> >>>
>> >> >>> Regards,
>> >> >>> Gabor
>> >> >>>
>> >> >>>
>> >> >>> On Fri, Aug 30, 2024 at 2:08 PM Jean-Baptiste Onofré <
>> jb@nanthrax.net> wrote:
>> >> >>>>
>> >> >>>> Hi Gabor
>> >> >>>>
>> >> >>>> I like the idea, it sounds good to me.
>> >> >>>>
>> >> >>>> Imho, for "clarity", the best option would be to have a dedicated
>> >> >>>> puffin repo with different language binding (at bit like it's
>> done in
>> >> >>>> Arrow).
>> >> >>>> I think that adding to iceberg-rust could be an option, but not
>> sure
>> >> >>>> it would be obvious for developers.
>> >> >>>>
>> >> >>>> Regards
>> >> >>>> JB
>> >> >>>>
>> >> >>>> On Thu, Aug 29, 2024 at 2:46 PM Gabor Kaszab <
>> gaborkaszab@apache.org> wrote:
>> >> >>>> >
>> >> >>>> > Hi Iceberg Community,
>> >> >>>> >
>> >> >>>> > With the V3 position delete proposal it came up that non-Java
>> engines might have to implement a Puffin reader and writer themselves so
>> that they can support the newly proposed position deletes. Impala would
>> most probably require a C++ implementation and first of all I'm wondering
>> whether there are other engines that require additional language
>> implementation.
>> >> >>>> >
>> >> >>>> > My additional thought is that once we have an implementation in
>> another language where should that live? I can do the C++ and that could
>> live within Impala, but I think it could be useful for other engines too
>> but I have no idea where such an implementation could live TBH.
>> >> >>>> >
>> >> >>>> > Would be nice to hear opinions on this!
>> >> >>>> > Thanks,
>> >> >>>> > Gabor
>>
>
Re: [DISCUSS] Additional language implementations for Iceberg Puffin reader/writer
Posted by Matt Topol <zo...@gmail.com>.
I will also help out with the iceberg-cpp effort, please include me on the
channel. While my focus will still be on iceberg-go, I'll happily review
and contribute to the C++ implementation.
I do also plan on eventually implementing puffin in the iceberg-go repo lol
--Matt
On Fri, Nov 22, 2024 at 8:55 AM Raúl Cumplido <ra...@apache.org> wrote:
> This sounds awesome. I am looking forward to the slack channel being
> available so I can also help!
>
> El vie, 22 nov 2024 a las 10:03, Gang Wu (<us...@gmail.com>) escribió:
> >
> > Thanks for the support, Fokko and JB!
> >
> > Please include me in the cpp slack channel for future cooperation.
> >
> > Best,
> > Gang
> >
> > On Fri, Nov 22, 2024 at 4:58 PM Jean-Baptiste Onofré <jb...@nanthrax.net>
> wrote:
> >>
> >> Hi Gabor,
> >>
> >> I think it makes sense to create iceberg-cpp resources (repository,
> >> slack channel, ...): this can gather the efforts in the Iceberg lib
> >> and Puffin implementation.
> >>
> >> Fokko can help there, he can ping me if needed (from ASF standpoint) :)
> >>
> >> Regards
> >> JB
> >>
> >> On Fri, Nov 22, 2024 at 9:25 AM Gabor Kaszab <ga...@apache.org>
> wrote:
> >> >
> >> > Hi Iceberg Community,
> >> >
> >> > It's been a while since we started this discussion. I'd like to
> revive the conversion for two reasons:
> >> > 1) I think I'll have some capacity starting from early next year to
> take care of the C++ Puffin stuff we already talked about above, and also
> from the Impala community we could add some additional auxiliary
> functionality for the V3 positional deletes later on.
> >> > 2) I learned that a part of the community is interested in having a
> C++ implementation of the Iceberg lib in general for their C++ engine. cc
> @Gang Wu
> >> >
> >> > There seemed to be general support from the community to start up
> such a sub-project, so I'm reaching out now to ask for some guidance so
> that we can get going. @Fokko Driesprong You have much experience in this
> area, do you think you have the bandwidth to handhold us with the process
> and the steps? Meanwhile, I'll take a look at the Python repo to get a feel
> for myself.
> >> >
> >> > Regards,
> >> > Gabor
> >> >
> >> > On Wed, Sep 11, 2024 at 5:32 PM Anton Okolnychyi <
> aokolnychyi@gmail.com> wrote:
> >> >>
> >> >> If C++ engines prefer not to depend on Iceberg Rust, I actually
> don't see a problem with having a separate C++ project even if it only
> contains Puffin readers/writers. The important part is to avoid multiple
> C++ writer/reader implementations in different engines.
> >> >>
> >> >> There were concerns with having one repo for multiple languages when
> we discussed how to maintain the main project. We should re-evaluate if
> they still apply here.
> >> >>
> >> >> - Anton
> >> >>
> >> >> вт, 10 вер. 2024 р. о 06:08 Gabor Kaszab <ga...@apache.org>
> пише:
> >> >>>
> >> >>> Hey All,
> >> >>>
> >> >>> Thanks for all the answers!
> >> >>>
> >> >>> My initial thought here was to have an iceberg-cpp repo for the
> Puffin reader/writer implementation in C++. But then I thought that there
> might be only one thing within this cpp repo, that is the Puffin stuff, and
> once implemented the repo won't have any more PRs coming in so it might be
> an overkill to introduce a separate repo for this purpose. Unless there is
> a need from other stakeholders to have a C++ implementation of the Iceberg
> lib (similarly to Python and Rust) but this would lead to a different
> conversation.
> >> >>>
> >> >>> Pulling in the Rust implementation into the C++ part of Impala: I
> don't know, I have to do some research on this. For performance reasons I
> know Impala prefers to have its own implementation of things (like Parquet
> reader/writer), so I have to double-check if it's acceptable
> performance-wise to pull in a Rust implementation of anything. I don't have
> any experience of doing so, hence the hesitation.
> >> >>>
> >> >>> JB, you mean that we can create a sub-repo like iceberg-puffin,
> that would hold separate implementations for different languages? For me
> this could also work. Wondering what others think.
> >> >>>
> >> >>> Regards,
> >> >>> Gabor
> >> >>>
> >> >>>
> >> >>> On Fri, Aug 30, 2024 at 2:08 PM Jean-Baptiste Onofré <
> jb@nanthrax.net> wrote:
> >> >>>>
> >> >>>> Hi Gabor
> >> >>>>
> >> >>>> I like the idea, it sounds good to me.
> >> >>>>
> >> >>>> Imho, for "clarity", the best option would be to have a dedicated
> >> >>>> puffin repo with different language binding (at bit like it's done
> in
> >> >>>> Arrow).
> >> >>>> I think that adding to iceberg-rust could be an option, but not
> sure
> >> >>>> it would be obvious for developers.
> >> >>>>
> >> >>>> Regards
> >> >>>> JB
> >> >>>>
> >> >>>> On Thu, Aug 29, 2024 at 2:46 PM Gabor Kaszab <
> gaborkaszab@apache.org> wrote:
> >> >>>> >
> >> >>>> > Hi Iceberg Community,
> >> >>>> >
> >> >>>> > With the V3 position delete proposal it came up that non-Java
> engines might have to implement a Puffin reader and writer themselves so
> that they can support the newly proposed position deletes. Impala would
> most probably require a C++ implementation and first of all I'm wondering
> whether there are other engines that require additional language
> implementation.
> >> >>>> >
> >> >>>> > My additional thought is that once we have an implementation in
> another language where should that live? I can do the C++ and that could
> live within Impala, but I think it could be useful for other engines too
> but I have no idea where such an implementation could live TBH.
> >> >>>> >
> >> >>>> > Would be nice to hear opinions on this!
> >> >>>> > Thanks,
> >> >>>> > Gabor
>
Re: [DISCUSS] Additional language implementations for Iceberg Puffin reader/writer
Posted by Raúl Cumplido <ra...@apache.org>.
This sounds awesome. I am looking forward to the slack channel being
available so I can also help!
El vie, 22 nov 2024 a las 10:03, Gang Wu (<us...@gmail.com>) escribió:
>
> Thanks for the support, Fokko and JB!
>
> Please include me in the cpp slack channel for future cooperation.
>
> Best,
> Gang
>
> On Fri, Nov 22, 2024 at 4:58 PM Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>>
>> Hi Gabor,
>>
>> I think it makes sense to create iceberg-cpp resources (repository,
>> slack channel, ...): this can gather the efforts in the Iceberg lib
>> and Puffin implementation.
>>
>> Fokko can help there, he can ping me if needed (from ASF standpoint) :)
>>
>> Regards
>> JB
>>
>> On Fri, Nov 22, 2024 at 9:25 AM Gabor Kaszab <ga...@apache.org> wrote:
>> >
>> > Hi Iceberg Community,
>> >
>> > It's been a while since we started this discussion. I'd like to revive the conversion for two reasons:
>> > 1) I think I'll have some capacity starting from early next year to take care of the C++ Puffin stuff we already talked about above, and also from the Impala community we could add some additional auxiliary functionality for the V3 positional deletes later on.
>> > 2) I learned that a part of the community is interested in having a C++ implementation of the Iceberg lib in general for their C++ engine. cc @Gang Wu
>> >
>> > There seemed to be general support from the community to start up such a sub-project, so I'm reaching out now to ask for some guidance so that we can get going. @Fokko Driesprong You have much experience in this area, do you think you have the bandwidth to handhold us with the process and the steps? Meanwhile, I'll take a look at the Python repo to get a feel for myself.
>> >
>> > Regards,
>> > Gabor
>> >
>> > On Wed, Sep 11, 2024 at 5:32 PM Anton Okolnychyi <ao...@gmail.com> wrote:
>> >>
>> >> If C++ engines prefer not to depend on Iceberg Rust, I actually don't see a problem with having a separate C++ project even if it only contains Puffin readers/writers. The important part is to avoid multiple C++ writer/reader implementations in different engines.
>> >>
>> >> There were concerns with having one repo for multiple languages when we discussed how to maintain the main project. We should re-evaluate if they still apply here.
>> >>
>> >> - Anton
>> >>
>> >> вт, 10 вер. 2024 р. о 06:08 Gabor Kaszab <ga...@apache.org> пише:
>> >>>
>> >>> Hey All,
>> >>>
>> >>> Thanks for all the answers!
>> >>>
>> >>> My initial thought here was to have an iceberg-cpp repo for the Puffin reader/writer implementation in C++. But then I thought that there might be only one thing within this cpp repo, that is the Puffin stuff, and once implemented the repo won't have any more PRs coming in so it might be an overkill to introduce a separate repo for this purpose. Unless there is a need from other stakeholders to have a C++ implementation of the Iceberg lib (similarly to Python and Rust) but this would lead to a different conversation.
>> >>>
>> >>> Pulling in the Rust implementation into the C++ part of Impala: I don't know, I have to do some research on this. For performance reasons I know Impala prefers to have its own implementation of things (like Parquet reader/writer), so I have to double-check if it's acceptable performance-wise to pull in a Rust implementation of anything. I don't have any experience of doing so, hence the hesitation.
>> >>>
>> >>> JB, you mean that we can create a sub-repo like iceberg-puffin, that would hold separate implementations for different languages? For me this could also work. Wondering what others think.
>> >>>
>> >>> Regards,
>> >>> Gabor
>> >>>
>> >>>
>> >>> On Fri, Aug 30, 2024 at 2:08 PM Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>> >>>>
>> >>>> Hi Gabor
>> >>>>
>> >>>> I like the idea, it sounds good to me.
>> >>>>
>> >>>> Imho, for "clarity", the best option would be to have a dedicated
>> >>>> puffin repo with different language binding (at bit like it's done in
>> >>>> Arrow).
>> >>>> I think that adding to iceberg-rust could be an option, but not sure
>> >>>> it would be obvious for developers.
>> >>>>
>> >>>> Regards
>> >>>> JB
>> >>>>
>> >>>> On Thu, Aug 29, 2024 at 2:46 PM Gabor Kaszab <ga...@apache.org> wrote:
>> >>>> >
>> >>>> > Hi Iceberg Community,
>> >>>> >
>> >>>> > With the V3 position delete proposal it came up that non-Java engines might have to implement a Puffin reader and writer themselves so that they can support the newly proposed position deletes. Impala would most probably require a C++ implementation and first of all I'm wondering whether there are other engines that require additional language implementation.
>> >>>> >
>> >>>> > My additional thought is that once we have an implementation in another language where should that live? I can do the C++ and that could live within Impala, but I think it could be useful for other engines too but I have no idea where such an implementation could live TBH.
>> >>>> >
>> >>>> > Would be nice to hear opinions on this!
>> >>>> > Thanks,
>> >>>> > Gabor
Re: [DISCUSS] Additional language implementations for Iceberg Puffin reader/writer
Posted by Gang Wu <us...@gmail.com>.
Thanks for the support, Fokko and JB!
Please include me in the cpp slack channel for future cooperation.
Best,
Gang
On Fri, Nov 22, 2024 at 4:58 PM Jean-Baptiste Onofré <jb...@nanthrax.net>
wrote:
> Hi Gabor,
>
> I think it makes sense to create iceberg-cpp resources (repository,
> slack channel, ...): this can gather the efforts in the Iceberg lib
> and Puffin implementation.
>
> Fokko can help there, he can ping me if needed (from ASF standpoint) :)
>
> Regards
> JB
>
> On Fri, Nov 22, 2024 at 9:25 AM Gabor Kaszab <ga...@apache.org>
> wrote:
> >
> > Hi Iceberg Community,
> >
> > It's been a while since we started this discussion. I'd like to revive
> the conversion for two reasons:
> > 1) I think I'll have some capacity starting from early next year to take
> care of the C++ Puffin stuff we already talked about above, and also from
> the Impala community we could add some additional auxiliary functionality
> for the V3 positional deletes later on.
> > 2) I learned that a part of the community is interested in having a C++
> implementation of the Iceberg lib in general for their C++ engine. cc @Gang
> Wu
> >
> > There seemed to be general support from the community to start up such a
> sub-project, so I'm reaching out now to ask for some guidance so that we
> can get going. @Fokko Driesprong You have much experience in this area, do
> you think you have the bandwidth to handhold us with the process and the
> steps? Meanwhile, I'll take a look at the Python repo to get a feel for
> myself.
> >
> > Regards,
> > Gabor
> >
> > On Wed, Sep 11, 2024 at 5:32 PM Anton Okolnychyi <ao...@gmail.com>
> wrote:
> >>
> >> If C++ engines prefer not to depend on Iceberg Rust, I actually don't
> see a problem with having a separate C++ project even if it only contains
> Puffin readers/writers. The important part is to avoid multiple C++
> writer/reader implementations in different engines.
> >>
> >> There were concerns with having one repo for multiple languages when we
> discussed how to maintain the main project. We should re-evaluate if they
> still apply here.
> >>
> >> - Anton
> >>
> >> вт, 10 вер. 2024 р. о 06:08 Gabor Kaszab <ga...@apache.org> пише:
> >>>
> >>> Hey All,
> >>>
> >>> Thanks for all the answers!
> >>>
> >>> My initial thought here was to have an iceberg-cpp repo for the Puffin
> reader/writer implementation in C++. But then I thought that there might be
> only one thing within this cpp repo, that is the Puffin stuff, and once
> implemented the repo won't have any more PRs coming in so it might be an
> overkill to introduce a separate repo for this purpose. Unless there is a
> need from other stakeholders to have a C++ implementation of the Iceberg
> lib (similarly to Python and Rust) but this would lead to a different
> conversation.
> >>>
> >>> Pulling in the Rust implementation into the C++ part of Impala: I
> don't know, I have to do some research on this. For performance reasons I
> know Impala prefers to have its own implementation of things (like Parquet
> reader/writer), so I have to double-check if it's acceptable
> performance-wise to pull in a Rust implementation of anything. I don't have
> any experience of doing so, hence the hesitation.
> >>>
> >>> JB, you mean that we can create a sub-repo like iceberg-puffin, that
> would hold separate implementations for different languages? For me this
> could also work. Wondering what others think.
> >>>
> >>> Regards,
> >>> Gabor
> >>>
> >>>
> >>> On Fri, Aug 30, 2024 at 2:08 PM Jean-Baptiste Onofré <jb...@nanthrax.net>
> wrote:
> >>>>
> >>>> Hi Gabor
> >>>>
> >>>> I like the idea, it sounds good to me.
> >>>>
> >>>> Imho, for "clarity", the best option would be to have a dedicated
> >>>> puffin repo with different language binding (at bit like it's done in
> >>>> Arrow).
> >>>> I think that adding to iceberg-rust could be an option, but not sure
> >>>> it would be obvious for developers.
> >>>>
> >>>> Regards
> >>>> JB
> >>>>
> >>>> On Thu, Aug 29, 2024 at 2:46 PM Gabor Kaszab <ga...@apache.org>
> wrote:
> >>>> >
> >>>> > Hi Iceberg Community,
> >>>> >
> >>>> > With the V3 position delete proposal it came up that non-Java
> engines might have to implement a Puffin reader and writer themselves so
> that they can support the newly proposed position deletes. Impala would
> most probably require a C++ implementation and first of all I'm wondering
> whether there are other engines that require additional language
> implementation.
> >>>> >
> >>>> > My additional thought is that once we have an implementation in
> another language where should that live? I can do the C++ and that could
> live within Impala, but I think it could be useful for other engines too
> but I have no idea where such an implementation could live TBH.
> >>>> >
> >>>> > Would be nice to hear opinions on this!
> >>>> > Thanks,
> >>>> > Gabor
>
Re: [DISCUSS] Additional language implementations for Iceberg Puffin reader/writer
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Gabor,
I think it makes sense to create iceberg-cpp resources (repository,
slack channel, ...): this can gather the efforts in the Iceberg lib
and Puffin implementation.
Fokko can help there, he can ping me if needed (from ASF standpoint) :)
Regards
JB
On Fri, Nov 22, 2024 at 9:25 AM Gabor Kaszab <ga...@apache.org> wrote:
>
> Hi Iceberg Community,
>
> It's been a while since we started this discussion. I'd like to revive the conversion for two reasons:
> 1) I think I'll have some capacity starting from early next year to take care of the C++ Puffin stuff we already talked about above, and also from the Impala community we could add some additional auxiliary functionality for the V3 positional deletes later on.
> 2) I learned that a part of the community is interested in having a C++ implementation of the Iceberg lib in general for their C++ engine. cc @Gang Wu
>
> There seemed to be general support from the community to start up such a sub-project, so I'm reaching out now to ask for some guidance so that we can get going. @Fokko Driesprong You have much experience in this area, do you think you have the bandwidth to handhold us with the process and the steps? Meanwhile, I'll take a look at the Python repo to get a feel for myself.
>
> Regards,
> Gabor
>
> On Wed, Sep 11, 2024 at 5:32 PM Anton Okolnychyi <ao...@gmail.com> wrote:
>>
>> If C++ engines prefer not to depend on Iceberg Rust, I actually don't see a problem with having a separate C++ project even if it only contains Puffin readers/writers. The important part is to avoid multiple C++ writer/reader implementations in different engines.
>>
>> There were concerns with having one repo for multiple languages when we discussed how to maintain the main project. We should re-evaluate if they still apply here.
>>
>> - Anton
>>
>> вт, 10 вер. 2024 р. о 06:08 Gabor Kaszab <ga...@apache.org> пише:
>>>
>>> Hey All,
>>>
>>> Thanks for all the answers!
>>>
>>> My initial thought here was to have an iceberg-cpp repo for the Puffin reader/writer implementation in C++. But then I thought that there might be only one thing within this cpp repo, that is the Puffin stuff, and once implemented the repo won't have any more PRs coming in so it might be an overkill to introduce a separate repo for this purpose. Unless there is a need from other stakeholders to have a C++ implementation of the Iceberg lib (similarly to Python and Rust) but this would lead to a different conversation.
>>>
>>> Pulling in the Rust implementation into the C++ part of Impala: I don't know, I have to do some research on this. For performance reasons I know Impala prefers to have its own implementation of things (like Parquet reader/writer), so I have to double-check if it's acceptable performance-wise to pull in a Rust implementation of anything. I don't have any experience of doing so, hence the hesitation.
>>>
>>> JB, you mean that we can create a sub-repo like iceberg-puffin, that would hold separate implementations for different languages? For me this could also work. Wondering what others think.
>>>
>>> Regards,
>>> Gabor
>>>
>>>
>>> On Fri, Aug 30, 2024 at 2:08 PM Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>>>>
>>>> Hi Gabor
>>>>
>>>> I like the idea, it sounds good to me.
>>>>
>>>> Imho, for "clarity", the best option would be to have a dedicated
>>>> puffin repo with different language binding (at bit like it's done in
>>>> Arrow).
>>>> I think that adding to iceberg-rust could be an option, but not sure
>>>> it would be obvious for developers.
>>>>
>>>> Regards
>>>> JB
>>>>
>>>> On Thu, Aug 29, 2024 at 2:46 PM Gabor Kaszab <ga...@apache.org> wrote:
>>>> >
>>>> > Hi Iceberg Community,
>>>> >
>>>> > With the V3 position delete proposal it came up that non-Java engines might have to implement a Puffin reader and writer themselves so that they can support the newly proposed position deletes. Impala would most probably require a C++ implementation and first of all I'm wondering whether there are other engines that require additional language implementation.
>>>> >
>>>> > My additional thought is that once we have an implementation in another language where should that live? I can do the C++ and that could live within Impala, but I think it could be useful for other engines too but I have no idea where such an implementation could live TBH.
>>>> >
>>>> > Would be nice to hear opinions on this!
>>>> > Thanks,
>>>> > Gabor
Re: [DISCUSS] Additional language implementations for Iceberg Puffin reader/writer
Posted by Gabor Kaszab <ga...@apache.org>.
Hi Iceberg Community,
It's been a while since we started this discussion. I'd like to revive the
conversion for two reasons:
1) I think I'll have some capacity starting from early next year to take
care of the C++ Puffin stuff we already talked about above, and also from
the Impala community we could add some additional auxiliary functionality
for the V3 positional deletes later on.
2) I learned that a part of the community is interested in having a C++
implementation of the Iceberg lib in general for their C++ engine. cc @Gang
Wu
There seemed to be general support from the community to start up such a
sub-project, so I'm reaching out now to ask for some guidance so that we
can get going. @Fokko Driesprong <fo...@apache.org> You have much
experience in this area, do you think you have the bandwidth to handhold us
with the process and the steps? Meanwhile, I'll take a look at the Python
repo to get a feel for myself.
Regards,
Gabor
On Wed, Sep 11, 2024 at 5:32 PM Anton Okolnychyi <ao...@gmail.com>
wrote:
> If C++ engines prefer not to depend on Iceberg Rust, I actually don't see
> a problem with having a separate C++ project even if it only contains
> Puffin readers/writers. The important part is to avoid multiple C++
> writer/reader implementations in different engines.
>
> There were concerns with having one repo for multiple languages when we
> discussed how to maintain the main project. We should re-evaluate if they
> still apply here.
>
> - Anton
>
> вт, 10 вер. 2024 р. о 06:08 Gabor Kaszab <ga...@apache.org> пише:
>
>> Hey All,
>>
>> Thanks for all the answers!
>>
>> My initial thought here was to have an iceberg-cpp repo for the Puffin
>> reader/writer implementation in C++. But then I thought that there might be
>> only one thing within this cpp repo, that is the Puffin stuff, and once
>> implemented the repo won't have any more PRs coming in so it might be an
>> overkill to introduce a separate repo for this purpose. Unless there is a
>> need from other stakeholders to have a C++ implementation of the Iceberg
>> lib (similarly to Python and Rust) but this would lead to a different
>> conversation.
>>
>> Pulling in the Rust implementation into the C++ part of Impala: I don't
>> know, I have to do some research on this. For performance reasons I know
>> Impala prefers to have its own implementation of things (like Parquet
>> reader/writer), so I have to double-check if it's acceptable
>> performance-wise to pull in a Rust implementation of anything. I don't have
>> any experience of doing so, hence the hesitation.
>>
>> JB, you mean that we can create a sub-repo like iceberg-puffin, that
>> would hold separate implementations for different languages? For me this
>> could also work. Wondering what others think.
>>
>> Regards,
>> Gabor
>>
>>
>> On Fri, Aug 30, 2024 at 2:08 PM Jean-Baptiste Onofré <jb...@nanthrax.net>
>> wrote:
>>
>>> Hi Gabor
>>>
>>> I like the idea, it sounds good to me.
>>>
>>> Imho, for "clarity", the best option would be to have a dedicated
>>> puffin repo with different language binding (at bit like it's done in
>>> Arrow).
>>> I think that adding to iceberg-rust could be an option, but not sure
>>> it would be obvious for developers.
>>>
>>> Regards
>>> JB
>>>
>>> On Thu, Aug 29, 2024 at 2:46 PM Gabor Kaszab <ga...@apache.org>
>>> wrote:
>>> >
>>> > Hi Iceberg Community,
>>> >
>>> > With the V3 position delete proposal it came up that non-Java engines
>>> might have to implement a Puffin reader and writer themselves so that they
>>> can support the newly proposed position deletes. Impala would most probably
>>> require a C++ implementation and first of all I'm wondering whether there
>>> are other engines that require additional language implementation.
>>> >
>>> > My additional thought is that once we have an implementation in
>>> another language where should that live? I can do the C++ and that could
>>> live within Impala, but I think it could be useful for other engines too
>>> but I have no idea where such an implementation could live TBH.
>>> >
>>> > Would be nice to hear opinions on this!
>>> > Thanks,
>>> > Gabor
>>>
>>
Re: [DISCUSS] Additional language implementations for Iceberg Puffin reader/writer
Posted by Anton Okolnychyi <ao...@gmail.com>.
If C++ engines prefer not to depend on Iceberg Rust, I actually don't see a
problem with having a separate C++ project even if it only contains Puffin
readers/writers. The important part is to avoid multiple C++ writer/reader
implementations in different engines.
There were concerns with having one repo for multiple languages when we
discussed how to maintain the main project. We should re-evaluate if they
still apply here.
- Anton
вт, 10 вер. 2024 р. о 06:08 Gabor Kaszab <ga...@apache.org> пише:
> Hey All,
>
> Thanks for all the answers!
>
> My initial thought here was to have an iceberg-cpp repo for the Puffin
> reader/writer implementation in C++. But then I thought that there might be
> only one thing within this cpp repo, that is the Puffin stuff, and once
> implemented the repo won't have any more PRs coming in so it might be an
> overkill to introduce a separate repo for this purpose. Unless there is a
> need from other stakeholders to have a C++ implementation of the Iceberg
> lib (similarly to Python and Rust) but this would lead to a different
> conversation.
>
> Pulling in the Rust implementation into the C++ part of Impala: I don't
> know, I have to do some research on this. For performance reasons I know
> Impala prefers to have its own implementation of things (like Parquet
> reader/writer), so I have to double-check if it's acceptable
> performance-wise to pull in a Rust implementation of anything. I don't have
> any experience of doing so, hence the hesitation.
>
> JB, you mean that we can create a sub-repo like iceberg-puffin, that would
> hold separate implementations for different languages? For me this could
> also work. Wondering what others think.
>
> Regards,
> Gabor
>
>
> On Fri, Aug 30, 2024 at 2:08 PM Jean-Baptiste Onofré <jb...@nanthrax.net>
> wrote:
>
>> Hi Gabor
>>
>> I like the idea, it sounds good to me.
>>
>> Imho, for "clarity", the best option would be to have a dedicated
>> puffin repo with different language binding (at bit like it's done in
>> Arrow).
>> I think that adding to iceberg-rust could be an option, but not sure
>> it would be obvious for developers.
>>
>> Regards
>> JB
>>
>> On Thu, Aug 29, 2024 at 2:46 PM Gabor Kaszab <ga...@apache.org>
>> wrote:
>> >
>> > Hi Iceberg Community,
>> >
>> > With the V3 position delete proposal it came up that non-Java engines
>> might have to implement a Puffin reader and writer themselves so that they
>> can support the newly proposed position deletes. Impala would most probably
>> require a C++ implementation and first of all I'm wondering whether there
>> are other engines that require additional language implementation.
>> >
>> > My additional thought is that once we have an implementation in another
>> language where should that live? I can do the C++ and that could live
>> within Impala, but I think it could be useful for other engines too but I
>> have no idea where such an implementation could live TBH.
>> >
>> > Would be nice to hear opinions on this!
>> > Thanks,
>> > Gabor
>>
>
Re: [DISCUSS] Additional language implementations for Iceberg Puffin reader/writer
Posted by Gabor Kaszab <ga...@apache.org>.
Hey All,
Thanks for all the answers!
My initial thought here was to have an iceberg-cpp repo for the Puffin
reader/writer implementation in C++. But then I thought that there might be
only one thing within this cpp repo, that is the Puffin stuff, and once
implemented the repo won't have any more PRs coming in so it might be an
overkill to introduce a separate repo for this purpose. Unless there is a
need from other stakeholders to have a C++ implementation of the Iceberg
lib (similarly to Python and Rust) but this would lead to a different
conversation.
Pulling in the Rust implementation into the C++ part of Impala: I don't
know, I have to do some research on this. For performance reasons I know
Impala prefers to have its own implementation of things (like Parquet
reader/writer), so I have to double-check if it's acceptable
performance-wise to pull in a Rust implementation of anything. I don't have
any experience of doing so, hence the hesitation.
JB, you mean that we can create a sub-repo like iceberg-puffin, that would
hold separate implementations for different languages? For me this could
also work. Wondering what others think.
Regards,
Gabor
On Fri, Aug 30, 2024 at 2:08 PM Jean-Baptiste Onofré <jb...@nanthrax.net>
wrote:
> Hi Gabor
>
> I like the idea, it sounds good to me.
>
> Imho, for "clarity", the best option would be to have a dedicated
> puffin repo with different language binding (at bit like it's done in
> Arrow).
> I think that adding to iceberg-rust could be an option, but not sure
> it would be obvious for developers.
>
> Regards
> JB
>
> On Thu, Aug 29, 2024 at 2:46 PM Gabor Kaszab <ga...@apache.org>
> wrote:
> >
> > Hi Iceberg Community,
> >
> > With the V3 position delete proposal it came up that non-Java engines
> might have to implement a Puffin reader and writer themselves so that they
> can support the newly proposed position deletes. Impala would most probably
> require a C++ implementation and first of all I'm wondering whether there
> are other engines that require additional language implementation.
> >
> > My additional thought is that once we have an implementation in another
> language where should that live? I can do the C++ and that could live
> within Impala, but I think it could be useful for other engines too but I
> have no idea where such an implementation could live TBH.
> >
> > Would be nice to hear opinions on this!
> > Thanks,
> > Gabor
>
Re: [DISCUSS] Additional language implementations for Iceberg Puffin reader/writer
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Gabor
I like the idea, it sounds good to me.
Imho, for "clarity", the best option would be to have a dedicated
puffin repo with different language binding (at bit like it's done in
Arrow).
I think that adding to iceberg-rust could be an option, but not sure
it would be obvious for developers.
Regards
JB
On Thu, Aug 29, 2024 at 2:46 PM Gabor Kaszab <ga...@apache.org> wrote:
>
> Hi Iceberg Community,
>
> With the V3 position delete proposal it came up that non-Java engines might have to implement a Puffin reader and writer themselves so that they can support the newly proposed position deletes. Impala would most probably require a C++ implementation and first of all I'm wondering whether there are other engines that require additional language implementation.
>
> My additional thought is that once we have an implementation in another language where should that live? I can do the C++ and that could live within Impala, but I think it could be useful for other engines too but I have no idea where such an implementation could live TBH.
>
> Would be nice to hear opinions on this!
> Thanks,
> Gabor