plan <=> udf imports should be swapped