spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zero323 <>
Subject [GitHub] spark pull request #16536: [SPARK-19163][PYTHON][SQL] Delay _judf initializa...
Date Thu, 26 Jan 2017 21:16:21 GMT
Github user zero323 commented on a diff in the pull request:
    --- Diff: python/pyspark/sql/ ---
    @@ -476,6 +476,19 @@ def test_udf_defers_judf_initalization(self):
                 "judf should be initialized after UDF has been called."
    +    @unittest.skipIf(sys.version_info < (3, 3), "Unittest < 3.3 doesn't support
    --- End diff --
    class UDFInitializationTestCase(unittest.TestCase):
        def tearDown(self):
            if SparkSession._instantiatedSession is not None:
            if SparkContext._active_spark_context is not None:
        def test_udf_context_access(self):
            from pyspark.sql.functions import UserDefinedFunction
            f = UserDefinedFunction(lambda x: x, StringType())

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

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

View raw message