1313 "bigquery" ,
1414 "clickhouse" ,
1515 "dask" ,
16- "datafusion" ,
1716 "druid" ,
1817 "impala" ,
1918 "mssql" ,
2928
3029
3130@no_python_udfs
31+ @mark .notyet (["datafusion" ], raises = NotImplementedError )
3232def test_udf (batting ):
3333 @udf .scalar .python
3434 def num_vowels (s : str , include_y : bool = False ) -> int :
@@ -49,6 +49,7 @@ def num_vowels(s: str, include_y: bool = False) -> int:
4949@mark .notyet (
5050 ["postgres" ], raises = TypeError , reason = "postgres only supports map<string, string>"
5151)
52+ @mark .notyet (["datafusion" ], raises = NotImplementedError )
5253@mark .xfail (
5354 sys .version_info [:2 ] < (3 , 9 ), reason = "annotations not supported with Python 3.8"
5455)
@@ -73,6 +74,7 @@ def num_vowels_map(s: str, include_y: bool = False) -> dict[str, int]:
7374@mark .notyet (
7475 ["postgres" ], raises = TypeError , reason = "postgres only supports map<string, string>"
7576)
77+ @mark .notyet (["datafusion" ], raises = NotImplementedError )
7678@mark .xfail (
7779 sys .version_info [:2 ] < (3 , 9 ), reason = "annotations not supported with Python 3.8"
7880)
@@ -141,9 +143,9 @@ def add_one_pyarrow(s: int) -> int: # s is series, int is the element type
141143 add_one_pandas ,
142144 marks = [
143145 mark .notyet (
144- ["duckdb" ],
146+ ["duckdb" , "datafusion" ],
145147 raises = NotImplementedError ,
146- reason = "duckdb doesn't support pandas UDFs" ,
148+ reason = "backend doesn't support pandas UDFs" ,
147149 ),
148150 ],
149151 ),
@@ -153,7 +155,7 @@ def add_one_pyarrow(s: int) -> int: # s is series, int is the element type
153155 mark .notyet (
154156 ["snowflake" ],
155157 raises = NotImplementedError ,
156- reason = "snowflake doesn't support pyarrow UDFs" ,
158+ reason = "backend doesn't support pyarrow UDFs" ,
157159 )
158160 ],
159161 ),
0 commit comments