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:
| Entity | Filterable fields | Supported operators |
|---|---|---|
| addresses | id | equals only |
| adjustments | id, action, transaction_id, subscription_id, customer_id | equals only |
| businesses | id | equals only |
| checkout_domains | domain | equals only |
| credit_balances | currency_code | equals only |
| customer_payment_methods | address_id | equals only |
| customers | id, email | equals only |
| discount_groups | id | equals only |
| discounts | id, code, mode, discount_group_id | equals only |
| events | event_type | equals only |
| notification_settings | active, traffic_source | equals only |
| notifications | occurred_at, notification_setting_id | equals, greater than or equal to, and less than |
| prices | id, product_id, type | equals only |
| products | id, type, tax_category | equals only |
| simulation_run_events | id | equals only |
| subscription_history | occurred_at | greater than or equal to and less than or equal to |
| subscriptions | id, customer_id, address_id, collection_mode | equals only |
| transactions | id, customer_id, origin, subscription_id, invoice_number, collection_mode, created_at, updated_at, billed_at | equals, 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.