Github user suchithjn225 commented on the issue:

    https://github.com/apache/spark/pull/20177
  
    I updated AnalyzePartitionCommand and AnalyzeColumnCommand. I noticed 
another one - According to SQLViewSuite, calling truncate on view must throw 
NoSuchTable, where as in TruncateTableCommand class I noticed this
    ```
        if (table.tableType == CatalogTableType.VIEW) {
          throw new AnalysisException(
            s"Operation not allowed: TRUNCATE TABLE on views: 
$tableIdentWithDB")
        }
    ```
    A bug?


---

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

Reply via email to