jiayuasu commented on code in PR #2163:
URL: https://github.com/apache/sedona/pull/2163#discussion_r2233783566
##########
python/sedona/geopandas/geoseries.py:
##########
@@ -3877,7 +2004,8 @@ def _create_from_select(
if isinstance(data, list) and not isinstance(data[0], (tuple, list)):
data = [(obj,) for obj in data]
- select = f"{select} as geometry"
+ name = kwargs.get("name", SPARK_DEFAULT_SERIES_NAME)
+ select = f"{select} as `{name}`"
Review Comment:
@petern48 please fix
--
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]