Github user HyukjinKwon commented on the pull request:
https://github.com/apache/spark/pull/12904#issuecomment-218633000
@andrewor14 Here it seems it is concluded that `""` is a string and a empty
string is `null`. Because `""` is a legitimate string, this can be a field name
whereas a empty string might not be able (`null`). Although we cannot query to
empty strings, we can still see when it performs `show()`.
It seems anyway it is decided that empty strings will be unnamed columns
with prefix (`_c`). Do you think this can be generalized to data sources and
Spark SQL including fields name with spaces (eg. `" "`)?
---
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]