View a markdown version of this page

Harness connection options - AWS Glue

Harness connection options

The following are connection options for Harness:

  • ENTITY_NAME – (Required) Used for Read. The name of the Harness object to read.

  • SELECTED_FIELDS – Default: empty (SELECT *). Used for Read. The columns you want to select for the object.

  • FILTER_PREDICATE – Default: empty. Used for Read. A filter predicate that AWS Glue pushes down to Harness for the fields listed in the filtering support table below. Supply it as a AWS Glue FILTER_PREDICATE option (for example, from a Spark DataFrame filter).

Harness supports server-side (pushed-down) filtering on the following entities, with the operators shown, through FILTER_PREDICATE:

EntityFilterable fieldsSupported operators
connectorsorgIdentifier, projectIdentifier, type, branch, repoIdentifier, getDefaultFromOtherRepo, searchTerm, category, source_categoryequals only
organizationsidentifier, searchTermequals only
projectsidentifier, orgIdentifier, hasModule, moduleType, searchTermequals only
user-groupsorgIdentifier, projectIdentifier, searchTermequals only

The searchTerm field is query-only on all four entities. On projects, hasModule and moduleType are query-only. On connectors, branch, category, getDefaultFromOtherRepo, repoIdentifier, and source_category are query-only. The connector doesn't return any of these query-only fields as columns. The searchTerm field performs a Harness search that can match part of a value, not an exact match.

AWS Glue applies filters on any other Harness field after it reads records, through the Spark DataFrame filters.