Copilot commented on code in PR #2146:
URL: https://github.com/apache/sedona/pull/2146#discussion_r2226888730


##########
python/sedona/utils/geoarrow/__init__.py:
##########
@@ -17,12 +17,12 @@
 
 import warnings
 
-from sedona.spark.geoarrow.geoarrow import create_spatial_dataframe
+from sedona.spark.geoarrow.geoarrow import create_spatial_dataframe, 
dataframe_to_arrow
 
 warnings.warn(
-    "The 'sedona.utils.geoarrow' module is deprecated and will be removed in 
future versions. Please use 'sedona.spark.geoarrow' instead.",
+    "The 'sedona.geoarrow' module is deprecated and will be removed in future 
versions. Please use 'sedona.spark.geoarrow' instead.",

Review Comment:
   The deprecation warning message is inconsistent with the actual import path. 
The message mentions 'sedona.geoarrow' but the file path is 
'sedona.utils.geoarrow'. This should be 'The 'sedona.utils.geoarrow' module is 
deprecated...'
   ```suggestion
       "The 'sedona.utils.geoarrow' module is deprecated and will be removed in 
future versions. Please use 'sedona.spark.geoarrow' instead.",
   ```



-- 
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]

Reply via email to