I need to import the @google-cloud/bigquery library via UDF. But I've already tried to minify the webpack.config.js file but it is over 1.19MB, and BigQuery only accepts up to 1.04MB.
Any idea how to use this library inside BigQuery or how to reduce this size to 1.04MB?
Does anyone know if there is a native way to call this library directly in BigQuery without having to use webpack.config.js?
BigQuery Library: https://www.npmjs.com/package/@google-cloud/bigquery
Documentation through UDF: https://cloud.google.com/bigquery/docs/reference/standard-sql/user-defined-functions#including-javascript-libraries