Hi, is there any way to pass entire row as a param...
# troubleshooting
a
Hi, is there any way to pass entire row as a parameter to user defined function (either through scalar or table function). I do not want to pass only selected fields. To make it generic I need all the fields. below are the steps that I have followed but no luck - 1 - create a custom function
Copy code
public class SelectAllFields extends TableFunction<Row> {
    public void eval(Row row) {
        collect(row);
    }

}
2 - register it -
Copy code
env.createTemporarySystemFunction("SelectAllFields", SelectAllFields.class);
3 - using through sql -
Copy code
select name, SelectAllFields(*) as meta from table1