Github user JoshRosen commented on the pull request:
https://github.com/apache/spark/pull/7499#issuecomment-122726109
@sixers, my suggestion was to add an end-to-end test, like
`sqlContext.sql("select null").collect()`, to PySpark SQL's `SQLTests` unittest
suite:
https://github.com/apache/spark/blob/163e3f1df94f6b7d3dadb46a87dbb3a2bade3f95/python/pyspark/sql/tests.py#L130.
This could be a new test case, named something like
`test_select_null_literal`.
The fact that this bug was unnoticed for so long implies that our Python
suite doesn't contain any tests which try to select null literals, which is why
I wanted to add such a test.
---
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]