Dremio 3.0 UDF problem

Hi,dremio friend:

I want to define a UDF by dremio 3.0. I want to know how to give function string to signature for calcite object .
thanks !
if must write the function str into the rocksDB?