You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2020/06/23 11:46:00 UTC

[jira] [Resolved] (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:all-tabpanel ]

Wenchen Fan resolved SPARK-32043.
---------------------------------
    Fix Version/s: 3.1.0
       Resolution: Fixed

Issue resolved by pull request 28886
[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
>            Assignee: Maxim Gekk
>            Priority: Minor
>             Fix For: 3.1.0
>
>
> 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