Github user HyukjinKwon commented on the issue:
https://github.com/apache/spark/pull/16777
@cloud-fan, To cut this short, it seems Postgres supports this whereas Hive
does not.
It seems we now support implicit cast between`ArrayType`s via
[SPARK-18624](https://issues.apache.org/jira/browse/SPARK-18624), for example
as below:
```scala
sql("SELECT percentile_approx(10.0, array('1', '1', '1'), 100)").show()
```
Wouldn't it be more reasonable to allow this case?
---
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]