Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/17241#discussion_r105750403
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala ---
    @@ -555,6 +555,17 @@ object SQLConf {
           .booleanConf
           .createWithDefault(true)
     
    +  val MAX_NESTED_VIEW_DEPTH =
    +    buildConf("spark.sql.view.maxNestedViewDepth")
    +      .internal()
    +      .doc("The maximum level of view references allowed in a nested view. 
A nested view may " +
    +        "reference other nested views, the dependencies are organized in a 
directed acyclic " +
    +        "graph (DAG). However the DAG depth may grow really large and 
cause unexpected " +
    +        "behaviors, so we put some limit on this: when the nested level of 
a view exceeds this " +
    +        "value during view resolution, we terminate the resolution to 
avoid further errors.")
    +      .intConf
    +      .createWithDefault(100)
    --- End diff --
    
    Add `.checkValue(...)`
    
    What is the behaviors of edge scenarios? Does that mean we can disable view 
support using this flag?


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