use udf context to send schema between the front and back ends