message: Make macro translate fucntion with one argument to Expr
diff: @@ -48,23 +48,20 @@ pub fn translate_function(sql_function: &SqlFunction) -> Result<Expr> {
  }};
  }
  - match name.as_str() {
  - "LOWER" => {
  + macro_rules! func_with_one_arg {
  + ($func: expr) => {{
  check_len(name, args.len(), 1)?;
  translate_expr(args[0])
  - .map(Function::Lower)
  + .map($func)
  .map(Box::new)
  .map(Expr::Function)
  + }};
  }
  - "UPPER" => {
  - check_len(name, args.len(), 1)?;
  - translate_expr(args[0])
  - .map(Function::Upper)
  - .map(Box::new)
  - .map(Expr::Function)
  - }
  + match name.as_str() {
  + "LOWER" => func_with_one_arg!(Function::Lower),
  + "UPPER" => func_with_one_arg!(Function::Upper),
  "LEFT" => {
  check_len(name, args.len(), 2)?;
  