Matthis Gördel created SPARK-58170:
--------------------------------------

             Summary: Provide sql shorthand in SparkSessionProvider interface
                 Key: SPARK-58170
                 URL: https://issues.apache.org/jira/browse/SPARK-58170
             Project: Spark
          Issue Type: Test
          Components: SQL, Tests
    Affects Versions: 4.2.0
            Reporter: Matthis Gördel


Many existing tests use a shorthand `sql(...)` shorthand for `spark.sql(...)`. 
This shorthand is currently defined in the `QueryTest` helper trait.

Given that this shorthand doesn't require anything except `spark`, this can be 
moved into `SparkSessionProvider`, to have it defined in a more central place, 
so that it is available in e.g. `SessionQueryTest`.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to