Repository settings are used to specify Spark profiles for use in the repository. After configuring the Spark profile in repository settings, you can use the profile in code.
Before a given profile can be applied, it must be imported into the project. There are two types of profiles:
Spark profiles that are already available for use in a repository are found in the Spark section under the Settings tab in Enabled profiles.
In order to use a Spark profile in a transforms job, the profile must first be imported into the Project containing the job, or else Checks will fail when attempting to publish transforms.
Spark profiles may be browsed and imported to a Project using the Spark configuration tab in the Code Repositories editor.
To import a profile to a project, go to the Settings tab and select Spark. Click on Add profiles to find the desired profile in the dropdown. Hover over the profile that you need:
By default, any Resource Management Administrator has the necessary permissions to import restricted Spark profiles. Additionally, there may be a user group named spark-profile-admins
which also has the necessary permissions. Regular users must ask an administrator to import a profile to their project before they can use it.
All profiles already enabled in a Project are discoverable in the References pane of the Summary sidebar in the project. When imported to a repository, profiles are automatically added as references for the entire Project and made available as “enabled profiles” for all repos in the Project.