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/06/21 12:59:00 UTC

[jira] [Commented] (SPARK-32043) Replace decimal by int op in `make_interval` and `make_timestamp`

    [ https://issues.apache.org/jira/browse/SPARK-32043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17141476#comment-17141476 ] 

Apache Spark commented on SPARK-32043:
--------------------------------------

User 'MaxGekk' has created a pull request for this issue:
https://github.com/apache/spark/pull/28886

> Replace decimal by int op in `make_interval` and `make_timestamp`
> -----------------------------------------------------------------
>
>                 Key: SPARK-32043
>                 URL: https://issues.apache.org/jira/browse/SPARK-32043
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Maxim Gekk
>            Priority: Minor
>
> Currently, the MakeInterval and MakeTimestamp expressions use Decimal op in the conversion of seconds with fraction to microseconds. That's expensive op is not not needed and can be replaced by Int op. 



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