Help Center> MapReduce Service> Developer Guide (Normal_Earlier Than 3.x)> Spark Application Development> FAQs> How Does the Permission Control Mechanism Work for the UDF Function in SparkSQL?
Updated on 2022-06-01 GMT+08:00

How Does the Permission Control Mechanism Work for the UDF Function in SparkSQL?

Question

How does the permission control mechanism work for the UDF function in SparkSQL?

Answer

If the existing SQL statements cannot meet your requirements, you can use the UDF function to perform customized operations.

To ensure data security and prevent malicious codes in the UDF from damaging the system, the UDF function of SparkSQL allows only users with the admin permission to register. The user admin ensures the security of user-defined functions.