Github user NarineK commented on the pull request:
https://github.com/apache/spark/pull/12966#issuecomment-217612497
Thanks, @shivaram !
I have one question regarding factor datatypes. It seems that SparkR
doesn't support it and we have to set: `stringsAsFactors = FALSE` in order to
avoid "UnsupportedType" exceptions in data.frame.
Is it possible to map factor to maybe to list or string ... ?
R's data.frame converts strings to factor ... , but a factor in general
doesn't have to be a string.
here is a snapshot from R's documentation:
`Character variables passed to data.frame are converted to factor columns
unless protected by I or argument stringsAsFactors is false.
`
https://stat.ethz.ch/R-manual/R-devel/library/base/html/data.frame.html
---
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]