You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/10/02 15:30:00 UTC
[jira] [Commented] (SPARK-33055) Add support for
CalendarIntervalType in PySpark schema
[ https://issues.apache.org/jira/browse/SPARK-33055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17206258#comment-17206258 ]
Apache Spark commented on SPARK-33055:
--------------------------------------
User 'zero323' has created a pull request for this issue:
https://github.com/apache/spark/pull/29935
> Add support for CalendarIntervalType in PySpark schema
> ------------------------------------------------------
>
> Key: SPARK-33055
> URL: https://issues.apache.org/jira/browse/SPARK-33055
> Project: Spark
> Issue Type: Sub-task
> Components: PySpark, SQL
> Affects Versions: 3.1.0
> Reporter: Maciej Szymkiewicz
> Priority: Major
>
> Queries resulting in interval types shouldn't fail in PySpark, i.e. the following
> {code:python}
> from pyspark.sql.functions import current_timestamp
> spark.range(1).select(current_timestamp() - current_timestamp())
> {code}
> should result in
> {code:python}
> DataFrame[(current_timestamp() - current_timestamp()): interval]
> {code}
> instead of {{ValueError}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org