Github user dwmclary commented on the pull request:

    https://github.com/apache/spark/pull/4421#issuecomment-73783731
  
    I've been thinking of it as equivalent to a CREATE TABLE, in which case I
    think it's dialect-specific.  Perhaps ANSI and pgSQL allow it, but, for
    example, Oracle disallows:
    
    SQL> create table dumb_name (select varchar2(10), from varchar2(10));
    create table dumb_name (select varchar2(10), from varchar2(10))
                            *
    ERROR at line 1:
    ORA-00904: : invalid identifier
    
    
    SQL> create table dumb_name ("select" varchar2(10), "from" varchar2(10));
    
    Table created.
    
    
    Either way, I'm fine to just close out this PR.  We should close SPARK-2789
    too.
    
    Cheers,
    Dan
    
    
    
    On Tue, Feb 10, 2015 at 11:59 AM, Reynold Xin <[email protected]>
    wrote:
    
    > Believe it or not that is valid SQL ...
    >
    > —
    > Reply to this email directly or view it on GitHub
    > <https://github.com/apache/spark/pull/4421#issuecomment-73772116>.
    >



---
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]

Reply via email to