Github user gatorsmile commented on the issue:

    https://github.com/apache/spark/pull/18244
  
    @discipleforteen Your question is not related to this PR. Converting to the 
decimal is pretty common for avoiding loss of precision. For example, [the 
link](https://www.ibm.com/support/knowledgecenter/SSEPGG_9.7.0/com.ibm.db2.luw.sql.ref.doc/doc/r0000731.html)
 shows how DB2 choose the type when users specify the constant. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to