Github user marmbrus commented on the pull request:
https://github.com/apache/spark/pull/5488#issuecomment-93043798
This is not a bug, this is [the intended
behavior](https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/jdbc/JDBCRelation.scala#L57).
I think the right fix here is to update the programming guide and other
documentation to clearly state this. If users want to limit the scope of the
data, they should add predicates which will be pushed down to the database.
---
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]