You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "xinrong-meng (via GitHub)" <gi...@apache.org> on 2024/11/01 07:31:40 UTC
Re: [PR] [SPARK-50146][PYTHON][CONNECT] Configurable schema validation when creating DataFrames from Arrow tables [spark]
xinrong-meng commented on code in PR #48677:
URL: https://github.com/apache/spark/pull/48677#discussion_r1825512645
##########
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:
Sounds good, let me work on it
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org