Skip to content
Snippets Groups Projects
Commit e0eeb0f8 authored by zero323's avatar zero323 Committed by Holden Karau
Browse files

[SPARK-19162][PYTHON][SQL] UserDefinedFunction should validate that func is callable

## What changes were proposed in this pull request?

UDF constructor checks if `func` argument is callable and if it is not, fails fast instead of waiting for an action.

## How was this patch tested?

Unit tests.

Author: zero323 <zero323@users.noreply.github.com>

Closes #16535 from zero323/SPARK-19162.
parent 9c4405e8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment