Github user viirya commented on the pull request:
https://github.com/apache/spark/pull/6645#issuecomment-109704819
As we can't know whether the string represents a fractional number or not,
casting to decimal seems being the most feasible approach? Because
`typeCoercionRules` is used in `Analyzer`, this casting might not only be
specific to Hive on Spark.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]