Question
using this code with pyiceberg 0.8
tbl = db+"."+"calendar"
if not catalog.table_exists(tbl):
df=duckdb.sql(""" SELECT cast(unnest(generate_series(cast ('2018-04-01' as date), cast('2024-12-31' as date), interval 1 day)) as date) as date,
EXTRACT(year from date) as year,
EXTRACT(month from date) as month
""").arrow()
catalog.create_table_if_not_exists(tbl,schema=df.schema)
catalog.load_table(tbl).overwrite(df)
print('calendar created')
else:
print("table exist already")
I am getting this warning, how I can remove it
/usr/local/lib/python3.10/dist-packages/pyiceberg/utils/deprecated.py:54: DeprecationWarning: Deprecated in 0.8.0, will be removed in 0.9.0. Table.identifier property is deprecated. Please use Table.name() function instead.
_deprecation_warning(deprecation_notice(deprecated_in, removed_in, help_message))
/usr/local/lib/python3.10/dist-packages/pyiceberg/utils/deprecated.py:54: DeprecationWarning: Deprecated in 0.8.0, will be removed in 0.9.0. Support for parsing catalog level identifier in Catalog identifiers is deprecated. Please refer to the table using only its namespace and its table name.
_deprecation_warning(deprecation_notice(deprecated_in, removed_in, help_message))
calendar created
Question
using this code with pyiceberg 0.8
I am getting this warning, how I can remove it