This is known as a code-behind file, and we can add C# methods to this file, which will be available to our U-SQL script. p.Postcode.IndexOf(" ") == -1 ? p.Postcode : p.Postcode.Substring(0, p.Postcode.IndexOf(" ")) AS Part1, p.Postcode.IndexOf(" ") == -1
↧