Github user marmbrus commented on the pull request:

    https://github.com/apache/spark/pull/3149#issuecomment-62189648
  
    Good catch guys, and thanks for adding a test.
    
    The comment on `toRdd` has always been `/** Internal version of the RDD. 
Avoids copies and has no schema */` so it was kind of confusing that this was 
different for Hive.
    
    I think the right solution here is to avoid using the internal 
`queryExecution` API from the thrift server and instead just call `.collect()` 
on `resultRdd`.


---
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]

Reply via email to