You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "jbonofre (via GitHub)" <gi...@apache.org> on 2024/05/21 12:42:33 UTC
[PR] Data: Make GenericFileWriterFactory public [iceberg]
jbonofre opened a new pull request, #10365:
URL: https://github.com/apache/iceberg/pull/10365
While working on camel-iceberg component, I had to implement the same logic as in `GenericFileWriterFactory`:
https://github.com/jbonofre/iceberg/blob/CAMEL/camel/camel-iceberg/src/main/java/org/apache/iceberg/camel/IcebergProducer.java#L78
In this context, it would be great to "expose" this logic (and so `GenericFileWriterFactory) publicly. For instance, Apache Beam Iceberg IO and camel-iceberg could be able to leverage this directly instead of reimplement the same logic.
Thoughts ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] Data: Make GenericFileWriterFactory public [iceberg]
Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on PR #10365:
URL: https://github.com/apache/iceberg/pull/10365#issuecomment-2122551297
@aokolnychyi @nastra thoughts ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] Data: Make GenericFileWriterFactory public [iceberg]
Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on PR #10365:
URL: https://github.com/apache/iceberg/pull/10365#issuecomment-2122902157
@danielcweeks just verified and it's OK using `OutputFileFactory` and `GenericAppenderFactory`. Thanks and sorry for the noise 😄
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] Data: Make GenericFileWriterFactory public [iceberg]
Posted by "danielcweeks (via GitHub)" <gi...@apache.org>.
danielcweeks commented on PR #10365:
URL: https://github.com/apache/iceberg/pull/10365#issuecomment-2122881259
@jbonofre other projects (like kafka connect) are using the [GenericAppenderFactory](https://github.com/apache/iceberg/blob/1288eb8e33304e2c5dbf7ea78de9f51f422cfad1/data/src/main/java/org/apache/iceberg/data/GenericAppenderFactory.java#L46-L45), which is already public. Is there a reason that doesn't work for your use case?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] Data: Make GenericFileWriterFactory public [iceberg]
Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre closed pull request #10365: Data: Make GenericFileWriterFactory public
URL: https://github.com/apache/iceberg/pull/10365
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] Data: Make GenericFileWriterFactory public [iceberg]
Posted by "ajantha-bhat (via GitHub)" <gi...@apache.org>.
ajantha-bhat commented on PR #10365:
URL: https://github.com/apache/iceberg/pull/10365#issuecomment-2172478153
I think `GenericFileWriterFactory` is more advance with the options to accept sort order etc.
maybe deprecating `GenericAppenderFactory` making `GenericFileWriterFactory` public is a good idea.
cc: @aokolnychyi, @RussellSpitzer
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] Data: Make GenericFileWriterFactory public [iceberg]
Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on PR #10365:
URL: https://github.com/apache/iceberg/pull/10365#issuecomment-2122886388
@danielcweeks let me check, that should do the trick 😄 Thanks !
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org