The MySQL parser currently does not support user-defined functions. See https://github.com/pingcap/parser/issues/988.