text: CREATE OR REPLACE TEMPORARY VIEW t1 AS SELECT * FROM VALUES
  (1), (2), (3), (4)
  as t1(int_col1);
  
  CREATE FUNCTION myDoubleAvg AS 'test.org.apache.spark.sql.MyDoubleAvg';
  
  SELECT default.myDoubleAvg(int_col1) as my_avg from t1;
  
  SELECT default.myDoubleAvg(int_col1, 3) as my_avg from t1;
  
  CREATE FUNCTION udaf1 AS 'test.non.existent.udaf';
  
  SELECT default.udaf1(int_col1) as udaf1 from t1;
  