process_lambda_opt_args.sql 263 B

1234567891011121314
  1. USE plato;
  2. $f = ($x, $optArg?)->{
  3. return Ensure($x, $optArg is null or len($optArg)>0);
  4. };
  5. PROCESS Input0 USING $f(TableRow());
  6. PROCESS Input0 USING $f(TableRow(),'foo');
  7. PROCESS Input0 USING $f(TableRows());
  8. PROCESS Input0 USING $f(TableRows(),'foo');