HyukjinKwon commented on code in PR #48677:
URL: https://github.com/apache/spark/pull/48677#discussion_r1824042299


##########
python/pyspark/sql/connect/session.py:
##########
@@ -602,9 +602,11 @@ def createDataFrame(
             if not isinstance(schema, StructType):
                 schema = from_arrow_schema(data.schema, 
prefer_timestamp_ntz=prefer_timestamp_ntz)
 
+            safe_cast = 
self._client.get_configs("spark.sql.execution.castArrowTableSafely") == "true"

Review Comment:
   should we integrate this with `verifySchema` argument, and document that 
this is disabled by default when Arrow it on with Spark Classic alone?



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