Description
To reduce duplicate test queries in `SQLQueryTestSuite`, this ticket intends to support `--import` directive to load queries from another test case in SQLQueryTestSuite.
This fix comes from the @cloud-fan suggestion in https://github.com/apache/spark/pull/26479#discussion_r345086978