jzhan-2026 commented on code in PR #58901:
URL: https://github.com/apache/spark/pull/58901#discussion_r4107621696


##########
python/pyspark/sql/transpile.py:
##########
@@ -81,6 +82,23 @@
     from pyspark.sql import SparkSession
     from pyspark.sql._typing import DataTypeOrString
 
+# Categories that represent numeric (non-string) scalar types.
+_NUMERIC_CATS = frozenset(("numeric", "integer", "float"))

Review Comment:
   You are right! Thanks for catching this. I think it makes sense if numeric > 
float > integer.
   
   I have modified the logic accordingly.



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

Reply via email to