Github user gatorsmile commented on the issue:

    https://github.com/apache/spark/pull/14132
  
    In the JIRA https://issues.apache.org/jira/browse/SPARK-11012, we 
documented the current limitation of SQL generation:
    >Note that not all resolved logical query plan can be converted back to SQL 
query string. Either because it consists of some language structure that has 
not been supported yet, or it doesn't have a SQL representation inherently 
(e.g. query plans built on top of local Scala collections).
    
    The purpose of SQL generation is for better native view support. The target 
logical plan must be parsed from a valid HiveQL query statement. Thus, the two 
examples you mentioned above are not supported.


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