Github user HyukjinKwon commented on a diff in the pull request:
    --- Diff: python/pyspark/sql/ ---
    @@ -3062,6 +3071,64 @@ def 
    +class QueryExecutionListenerTests(unittest.TestCase, SQLTestUtils):
    +    # These tests are separate because it uses 
'spark.sql.queryExecutionListeners' which is
    +    # static and immutable. This can't be set or unset, for example, via 
    +    @classmethod
    +    def setUpClass(cls):
    +        import glob
    +        from pyspark.find_spark_home import _find_spark_home
    +        SPARK_HOME = _find_spark_home()
    +        filename_pattern = (
    +            "sql/core/target/scala-*/test-classes/org/apache/spark/sql/"
    +            "TestQueryExecutionListener.class")
    +        if not glob.glob(os.path.join(SPARK_HOME, filename_pattern)):
    +            raise unittest.SkipTest(
    --- End diff --
    Thank you @viirya. I know this one is a rather tricky one to judge what's 
righter. Will maybe cc you when we actually discuss about this further. I 
believe some people could think differently and I might have to have more 
discussion. But for now, I feel sure on this.


To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to