Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
minor fix
  • Loading branch information
jialuoo committed Jan 13, 2025
commit 553301f346453a0a370e3cb15f2d82181b7d8b13
4 changes: 3 additions & 1 deletion tests/system/small/test_remote_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ def test_read_gbq_function_enforces_explicit_types(


@pytest.mark.flaky(retries=2, delay=120)
def test_df_apply(session, scalars_dfs):
def test_df_apply_scalar_func(session, scalars_dfs):
scalars_df, _ = scalars_dfs
bdf = bigframes.pandas.DataFrame(
{
Expand All @@ -849,8 +849,10 @@ def test_df_apply(session, scalars_dfs):
}
)

# The "cw_lower_case_ascii_only" is a scalar function.
func_ref = session.read_gbq_function("bqutil.fn.cw_lower_case_ascii_only")

# DataFrame '.apply()' only supports series level application.
with pytest.raises(NotImplementedError) as context:
bdf.apply(func_ref)
assert str(context.value) == (
Expand Down
Loading