Github user HyukjinKwon commented on the issue:
https://github.com/apache/spark/pull/15432
@gatorsmile Thanks. I intended to not describe this behaviour first but
just thought it'd be kind of handling exceptional cases and it's discouraged
because Hive, MySQL and PostgreSQL at least do not describe this behaviour. I
will document this if you strongly feel it should be.
Yes, I can test Python and R but would be more specific about what shouldI
test please? This would affect only SQL expression not the actual functions. Do
you expect the tests as below and do you usually check?
```r
df <- sql("SELECT RAND(NULL)")
```
or
```python
spark.sql("SELECT RAND(NULL)")
df.selectExpr("RAND(NULL)")
```
For any missing case, I will check it out. Can I assume this way looks okay
then?
---
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]