I am importing some data from GCS to BigQuery, using Dataflow pre-defined GCS to BigQuery template.
The data is processed with the JavaScript UDF.
I would like to exclude some records from being inserted into the BigQuery. Is there a way to do it with the JavaScript UDF?