paleolimbot commented on code in PR #646:
URL: https://github.com/apache/sedona-db/pull/646#discussion_r2843343651


##########
python/sedonadb/tests/test_udf.py:
##########
@@ -237,42 +237,3 @@ def __datafusion_scalar_udf__(self):
         con.sql("SELECT some_external_udf('abcd', 123) as col").to_pandas(),
         pd.DataFrame({"col": [b"abcd / 123"]}),
     )
-
-
-def test_udf_sedonadb_registry_function_to_datafusion(con):
-    datafusion = pytest.importorskip("datafusion")
-    udf_impl = udf.arrow_udf(pa.binary(), [udf.STRING, udf.NUMERIC])(some_udf)
-
-    # Register with our session
-    con.register_udf(udf_impl)
-
-    # Create a datafusion session, fetch our udf and register with the other 
session
-    datafusion_ctx = datafusion.SessionContext()
-    datafusion_ctx.register_udf(
-        datafusion.ScalarUDF.from_pycapsule(con._impl.scalar_udf("some_udf"))
-    )

Review Comment:
   I added https://github.com/apache/sedona-db/issues/655 to track this...you 
have to try pretty hard to trigger this failing functionality so I just removed 
the tests for now.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to