View a markdown version of this page

Paddle connection options - AWS Glue

Paddle connection options

The following are connection options for Paddle:

  • ENTITY_NAME – (Required) Used for Read. The name of the Paddle 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 in Spark SQL format.

  • PARTITION_FIELD – Used for Read. The field used to partition the query for parallel reads.

  • LOWER_BOUND – Used for Read. An inclusive lower bound for the partition field.

  • UPPER_BOUND – Used for Read. An exclusive upper bound for the partition field.

  • NUM_PARTITIONS – Default: 1. Used for Read. The number of partitions to split the read into.

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

EntityFilterable fieldsSupported operators
addressesidequals only
adjustmentsid, action, transaction_id, subscription_id, customer_idequals only
businessesidequals only
checkout_domainsdomainequals only
credit_balancescurrency_codeequals only
customer_payment_methodsaddress_idequals only
customersid, emailequals only
discount_groupsidequals only
discountsid, code, mode, discount_group_idequals only
eventsevent_typeequals only
notification_settingsactive, traffic_sourceequals only
notificationsoccurred_at, notification_setting_idequals, greater than or equal to, and less than
pricesid, product_id, typeequals only
productsid, type, tax_categoryequals only
simulation_run_eventsidequals only
subscription_historyoccurred_atgreater than or equal to and less than or equal to
subscriptionsid, customer_id, address_id, collection_modeequals only
transactionsid, customer_id, origin, subscription_id, invoice_number, collection_mode, created_at, updated_at, billed_atequals, greater than, greater than or equal to, less than, and less than or equal to

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