Github user maropu commented on the pull request:
https://github.com/apache/spark/pull/11005#issuecomment-179135955
I agree that `CatalystScan` is used to support arithmetic operations in
datasources though, this current `CatalystScan` trait only processes filter
expressions. If we make this kind of interface changes, it'd be better to
consider other requirements discussed in jira; otherwise, we get stuck with the
same issue every time we add new features in datasources.
Anyway, the idea to share codes in `SQLBuilder` and `JDBCRDD` is good to me.
---
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]