Github user gatorsmile commented on the pull request:
https://github.com/apache/spark/pull/11148#issuecomment-183624567
@rxin After searching the code base, all the samples are table sample.
Could you give me more hints? I also agree it looks brittle. I did my best to
make it more robust/general.
Since `TABLESAMPLE` is part of `tableSource` clause, I am facing two
options:
1. Simplify the logics in the case of `TABLESAMPLE` and put the extra
handling in `MetastoreRelation` and `Subquery`
2. Put all the logics in the case of `TABLESAMPLE`.
Let me know which option you like. Currently, I picked option 2.
---
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]