Azure Data Lake – U-SQL – Using C# Code Behind
JOYDEEP DAS
Project Manager at Cognizant | MVP - Data Platform | MVB DZone | Azure Data Engineer Associates | Azure DataBricks | PySpark | Spark | Azure DevOps
Introduction
In this article we are trying to discuss about Using C# Code behind in U-SQL script. As we look that every U-SQL script has a C# code behind.
Now the question is why we are going to use this C# code behind as we can create function, stored procedure and other thing successfully in U-SQL. The answer is quite simple. If we want to use the power of C# and the entire library related to it, we can use the C# code behind.
For an example, we need to create a complex scalar value function and using C# it is quite easy by using it’s math library inbuilt functionality.
Case Study