You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/01/22 02:25:01 UTC
[GitHub] HyukjinKwon commented on a change in pull request #22807:
[SPARK-25811][PySpark] Raise a proper error when unsafe cast is detected by
PyArrow
HyukjinKwon commented on a change in pull request #22807: [SPARK-25811][PySpark] Raise a proper error when unsafe cast is detected by PyArrow
URL: https://github.com/apache/spark/pull/22807#discussion_r249623614
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -1331,6 +1331,16 @@ object SQLConf {
.booleanConf
.createWithDefault(true)
+ val PANDAS_ARROW_SAFE_TYPE_CONVERSION =
+ buildConf("spark.sql.execution.pandas.arrowSafeTypeConversion")
+ .internal()
+ .doc("When true, enabling Arrow do safe type conversion check when converting" +
+ "Pandas.Series to Arrow Array during serialization. Arrow will raise errors " +
+ "when detecting unsafe type conversion. When false, disabling Arrow's type " +
+ "check and do type conversions anyway.")
+ .booleanConf
+ .createWithDefault(true)
Review comment:
I would have left some comments about that JIRA together tho rather than making everybody click and read the whole issue. So, NULL -> Integer issue will be fixed in Arrow 0.12.0?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org