Skip to content

Commit 1dcf82f

Browse files
authored
NO-SNOW: remove experimental decorator for to_arrow and to_arrow_batches (#4047)
1 parent 2d393f8 commit 1dcf82f

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
#### Improvements
2828
- `snowflake.snowpark.context.configure_development_features` is effective for multiple sessions including newly created sessions after the configuration. No duplicate experimental warning any more.
29+
- Removed experimental warning from `DataFrame.to_arrow` and `DataFrame.to_arrow_batches`.
2930

3031
### Snowpark pandas API Updates
3132

src/snowflake/snowpark/dataframe.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,6 @@ def to_pandas_batches(
12131213
**kwargs,
12141214
)
12151215

1216-
@experimental(version="1.28.0")
12171216
@df_collect_api_telemetry
12181217
@publicapi
12191218
def to_arrow(
@@ -1255,7 +1254,6 @@ def to_arrow(
12551254
**kwargs,
12561255
)
12571256

1258-
@experimental(version="1.28.0")
12591257
@df_collect_api_telemetry
12601258
@publicapi
12611259
def to_arrow_batches(

tests/integ/scala/test_dataframe_writer_suite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def test_iceberg(session, local_testing_mode):
256256
ddl = session._run_query(f"select get_ddl('table', '{table_name}')")
257257
assert (
258258
ddl[0][0] == f"create or replace ICEBERG TABLE {table_name} (\n\t"
259-
f"A STRING,\n\tB LONG,\n\tTS TIMESTAMP_NTZ(6)\n)\n "
259+
f"A STRING,\n\tB LONG,\n\tTS TIMESTAMP_NTZ(9)\n)\n "
260260
f"PARTITION BY (A, BUCKET(5, B), TRUNCATE(3, A), DAY(TS))\n "
261261
f"EXTERNAL_VOLUME = 'PYTHON_CONNECTOR_ICEBERG_EXVOL'\n CATALOG = 'SNOWFLAKE'\n "
262262
f"BASE_LOCATION = 'snowpark_python_tests/';"

0 commit comments

Comments
 (0)