I have an U-SQL script that process a batch of csv files. I am using virtual columns to retrieve a product id for each file. All files that are read have the same product id.
I have made a connection to a database in my custom Outputter, that retrieves meta information based on the product id. This works but a call to the db is made for all the files (which is expected behaviour).
But is it possible to create a Global function that is only run once and appended to the output for all the files? This will work for me since all the files have the same product id.