Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-37935 Migrate onto error classes
  3. SPARK-40790

Check error classes in DDL parsing tests

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • SQL

    Description

      Check error classes in DDL command tests by using checkError(). For instance

      • AlterNamespaceSetPropertiesParserSuite
      • AlterTableDropPartitionParserSuite
      • AlterTableRenameParserSuite
      • AlterTableRecoverPartitionsParserSuite
      • DescribeTableParserSuite
      • TruncateTableParserSuite
      • AlterTableSetSerdeParserSuite
      • ShowPartitionsParserSuite

      https://github.com/apache/spark/blob/414771d4e8b52d0a76a7729d005794dc04f1e075/sql/core/src/test/scala/org/apache/spark/sql/execution/command/AlterNamespaceSetPropertiesParserSuite.scala#L43

      Attachments

        Issue Links

          Activity

            People

              panbingkun BingKun Pan
              maxgekk Max Gekk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: