Github user wuchong commented on the issue:

    https://github.com/apache/flink/pull/3107
  
    Hi @KurtYoung , thank your for reviewing. I'm not sure about that. Do you 
mean omitting the "FROM" syntax ?  But it will be hard to validate SQL syntax. 
Because the query can follow a WHERE clause or JOIN/UNION with other tables.  
For example, it's wired and hard to validate the query like this:
    
    ```
    mytable.sql("SELECT * WHERE a > 13 UNION SELECT * FROM TABLE_B")
    ```
    
    I think allowing query on other tables is fine here.  What do you think ? 


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to