[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to