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

Herman van Hövell commented on SPARK-30858:
-------------------------------------------

That would work. I would sort of prefer if we can fix this during analysis, 
instead of relying on SQLConf.get for which we sometimes are not super sure 
where it comes from.

> IntegralDivide's dataType should not depend on SQLConf.get
> ----------------------------------------------------------
>
>                 Key: SPARK-30858
>                 URL: https://issues.apache.org/jira/browse/SPARK-30858
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Herman van Hövell
>            Priority: Blocker
>
> {{IntegralDivide}}'s dataType depends on the value of 
> {{SQLConf.get.integralDivideReturnLong}}. This is a problem because the 
> configuration can change between different phases of planning, and this can 
> silently break a query plan which can lead to crashes or data corruption. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to