djouallah opened a new issue, #1336:
URL: https://github.com/apache/iceberg-python/issues/1336
### 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
```
--
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]