HonahX commented on code in PR #961:
URL: https://github.com/apache/iceberg-python/pull/961#discussion_r1693579181


##########
pyiceberg/io/fsspec.py:
##########
@@ -176,14 +186,50 @@ def _gs(properties: Properties) -> AbstractFileSystem:
 def _adlfs(properties: Properties) -> AbstractFileSystem:
     from adlfs import AzureBlobFileSystem
 
+    for property_name in properties:
+        if property_name.startswith(DEPRECATED_ADLFS_PREFIX):
+            deprecated(
+                deprecated_in="0.7.0",
+                removed_in="0.8.0",
+                help_message=f"The property {property_name} is deprecated. 
Please use properties that start with adls.",
+            )(lambda: None)()

Review Comment:
   Just put a note here: a more elegant way to send deprecation message will be 
available in @ndrluis 's another PR: 
https://github.com/apache/iceberg-python/pull/962



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to