ajantha-bhat commented on issue #4837:
URL: https://github.com/apache/iceberg/issues/4837#issuecomment-1134465433
Once you have a catalog, you can load the table using identifier
import org.apache.iceberg.Table;
import org.apache.iceberg.catalog.TableIdentifier;
TableIdentifier name = TableIdentifier.of("db1", "t1");
// or to load an existing table, use the following line
Table table = catalog.loadTable(name);
once you have the table object, call rewrite data files actions like this.
https://iceberg.apache.org/docs/latest/maintenance/#compact-data-files
You can also check out the code and look for package names and info.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]