Spec-Zone.ru › Polars

polars.DataFrame.write_iceberg

DataFrame.write_iceberg(
    target: str | pyiceberg.table.Table,
    mode: Literal['append',
    'overwrite'],
) → None

Write DataFrame to an Iceberg table.

Warning

This functionality is currently considered unstable. It may be changed at any point without it being considered a breaking change.

Parameters:
target

Name of the table or the Table object representing an Iceberg table.

mode{‘append’, ‘overwrite’}

How to handle existing data.

  • If ‘append’, will add new data.
  • If ‘overwrite’, will replace table with new data.

© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/api/polars.DataFrame.write_iceberg.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API