You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by wuchong <gi...@git.apache.org> on 2017/01/13 14:51:31 UTC

[GitHub] flink issue #3107: [FLINK-5441] [table] Directly allow SQL queries on a Tabl...

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