Github user gatorsmile commented on the pull request:
https://github.com/apache/spark/pull/12618#issuecomment-214100950
@hvanhovell @yhuai I hit and address a related issue.
Running SQL on files directly could break the rules. For example,
```SQL
select id from `org.apache.spark.sql.parquet`.`path/to/parquet/files` as p
```
This was resolved by an `Analyzer` rule: `ResolveDataSource`. Thus, it
should not exist after finishing `Analyzer`. Thus, it is ok to keep enforcing
the existing naming rule, if we do not validate the names in `databaseExists`
and `tableExists`.
---
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]