You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "W-I-D-EE (via GitHub)" <gi...@apache.org> on 2023/07/19 20:07:29 UTC
[GitHub] [iceberg] W-I-D-EE opened a new issue, #8103: Rewrite Existing Datafiles with new compression
W-I-D-EE opened a new issue, #8103:
URL: https://github.com/apache/iceberg/issues/8103
### Query engine
Spark
### Question
If i have existing data files that were written with the default compression GZIP, how would can i get them to be rewritten using a different compression codec such as ZSTD?
I have attempted this using a Compaction but i have been unsuccessful at this writing out a different compression other than the default GZIP.
--
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.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
[GitHub] [iceberg] RussellSpitzer commented on issue #8103: Rewrite Existing Datafiles with new compression
Posted by "RussellSpitzer (via GitHub)" <gi...@apache.org>.
RussellSpitzer commented on issue #8103:
URL: https://github.com/apache/iceberg/issues/8103#issuecomment-1644215990
2.4 is basically in maintenance only, it doesn't have the new logic present in 3.x so that would not surprise me
--
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
[GitHub] [iceberg] W-I-D-EE closed issue #8103: Rewrite Existing Datafiles with new compression
Posted by "W-I-D-EE (via GitHub)" <gi...@apache.org>.
W-I-D-EE closed issue #8103: Rewrite Existing Datafiles with new compression
URL: https://github.com/apache/iceberg/issues/8103
--
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
[GitHub] [iceberg] W-I-D-EE commented on issue #8103: Rewrite Existing Datafiles with new compression
Posted by "W-I-D-EE (via GitHub)" <gi...@apache.org>.
W-I-D-EE commented on issue #8103:
URL: https://github.com/apache/iceberg/issues/8103#issuecomment-1644264681
Appreciate it Russell.
--
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
[GitHub] [iceberg] W-I-D-EE commented on issue #8103: Rewrite Existing Datafiles with new compression
Posted by "W-I-D-EE (via GitHub)" <gi...@apache.org>.
W-I-D-EE commented on issue #8103:
URL: https://github.com/apache/iceberg/issues/8103#issuecomment-1642697133
Does this work with the Spark 2.4 implementation?
Something like:
`actions.rewriteDataFiles()
.filter(Expressions.equal("date", "2023-07-19"))
.set("rewrite-all", "true")
.execute();`
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
[GitHub] [iceberg] W-I-D-EE commented on issue #8103: Rewrite Existing Datafiles with new compression
Posted by "W-I-D-EE (via GitHub)" <gi...@apache.org>.
W-I-D-EE commented on issue #8103:
URL: https://github.com/apache/iceberg/issues/8103#issuecomment-1644141829
I have updated the table property
`
| write.parquet.compression-codec | zstd |
+------------------------------------------+----------------------------------------------------+
`
It still seems to be generating data using GZIP.
Using Spark 2.4 and Hive 3.1
--
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
[GitHub] [iceberg] RussellSpitzer commented on issue #8103: Rewrite Existing Datafiles with new compression
Posted by "RussellSpitzer (via GitHub)" <gi...@apache.org>.
RussellSpitzer commented on issue #8103:
URL: https://github.com/apache/iceberg/issues/8103#issuecomment-1642687290
Should be able to just change the table compression property and then run the rewrite datafiles command with "rewrite-all" set to true
--
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
[GitHub] [iceberg] W-I-D-EE closed issue #8103: Rewrite Existing Datafiles with new compression
Posted by "W-I-D-EE (via GitHub)" <gi...@apache.org>.
W-I-D-EE closed issue #8103: Rewrite Existing Datafiles with new compression
URL: https://github.com/apache/iceberg/issues/8103
--
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