imback82 commented on pull request #31352:
URL: https://github.com/apache/spark/pull/31352#issuecomment-767939867


   Ah, it's failing only under tests:
   ```scala
     protected def assertNotAnalysisRule(): Unit = {
       if (Utils.isTesting &&
           AnalysisHelper.inAnalyzer.get > 0 &&
           AnalysisHelper.resolveOperatorDepth.get == 0) {
         throw new RuntimeException("This method should not be called in the 
analyzer")
       }
     }
   ```
   `Utils.isTesting` is true if `SPARK_TESTING` env variable is set.
   
   Is this OK?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to