by ElevenFifty Labs
Data warehouses

Amazon Redshift integration

Spark reads Amazon Redshift tables and views into planning tools and business systems, and loads business data into Redshift tables for the data team.

The connector

Category: Data warehouses. Status: Available on all plans. How Spark connects: direct, through the Redshift Data API with a role in your account that Spark assumes with an external ID, on the workgroup or cluster you choose.

What you can do with Amazon Redshift in Spark

Read Amazon Redshift tables or views with read-only queries, filter by period or key, and load them into Pigment, Anaplan and Workday Adaptive Planning or a business system. Write ERP, HR, CRM and spend data into Amazon Redshift tables for the data team.

Spark reads 2 kinds of data from Amazon Redshift:

  • Every row of a table or view you name
  • Rows of a SELECT you write

What Spark writes to Amazon Redshift

Writes only happen when you tick the permission as you add the Spark. Leave them unticked for a read-only connection.

  • Loads the Circuit's output into a table (made if missing): add rows, replace them, or merge on key columns.

Common use cases for Amazon Redshift data, and why each matters

Warehouse models into the plan

Revenue, usage and margin models the data team built go straight into the planning tool, mapped to plan lists in Excel syntax.

Finance data next to product data

ERP and HR data land in Redshift beside product and billing data, so analysts join them without a request to finance.

Planning data back to BI

Plan and forecast versions land next to actuals, so BI compares them in 1 place without CSV uploads.

Why it's hard without Spark

Amazon Redshift is where the data team models the business, but the planning tool, the ERP and the HR system all sit outside it. Finance usually waits for the data team to build a pipeline into the planning tool, then waits again when a column changes, and the data team would rather not own planning loads at all. Spark lets the business own the feed on top of access the data team scopes, checks the mapped fields on every run, and stops a load with a clear reason when the schema changes instead of loading blanks.

How Spark handles Amazon Redshift data

  • Spark does not store the business data it moves: rows pass through memory during a run.
  • Each customer has its own isolated tenant.
  • Credentials are sealed in your company's own vault, never shown again or logged.
  • Anything that writes to a system needs the permission ticked when the Spark is added.

More on the Spark trust center.

Teams that use it

Data and analytics teams and Finance and FP&A. See Spark for data teams.

Questions

How does Spark connect to Amazon Redshift?

An AWS role Spark may assume, in your account. You need an AWS admin for the account Redshift is in.

Can Spark write to Amazon Redshift?

Yes, when you allow it. Loads the Circuit's output into a table (made if missing): add rows, replace them, or merge on key columns.

Does Spark replace our ELT tool?

No. Keep your ELT tool for analytics ingestion. Spark moves the business-owned feeds into and out of planning tools and business systems.

Where are the credentials kept?

Sealed in your company's own vault in your isolated tenant. Spark never shows them again or writes them to logs.

Connection essentials

  • Method: An AWS role Spark may assume, in your account.
  • What you need: An AWS admin for the account Redshift is in
  • What Spark asks for: AWS region; Database; Serverless workgroup; Cluster identifier; Database user; IAM role ARN
  • Vendor documentation: docs.aws.amazon.com
  • Change detection: rows changed since the last run, by a date or key column you name
  • Limits to know: queries share your cluster or workgroup capacity, so Spark reads only mapped columns and new rows

Set it up in 4 steps

  1. Create an IAM role named spark-<something> that trusts ElevenFifty's AWS account (Spark shows its ID) with the external ID shown in Spark.
  2. Give the role redshift-data:ExecuteStatement, BatchExecuteStatement, DescribeStatement and GetStatementResult, plus redshift-serverless:GetCredentials on the workgroup (or redshift:GetClusterCredentials on the cluster user).
  3. In Redshift, grant the role's database user SELECT on what you read, and CREATE on the schema you load.
  4. In Spark, add an Amazon Redshift Spark. Enter the region, database and workgroup (or cluster and user), and the role's ARN. Spark runs SELECT 1 to check it works.

Everything Spark reads from Amazon Redshift

  • Every row of a table or view you name
  • Rows of a SELECT you write

What Spark writes

  • Loads the Circuit's output into a table (made if missing): add rows, replace them, or merge on key columns.

Example Circuit: Redshift bookings into Workday Adaptive Planning

Each mapping is written in Excel syntax, so finance can read and change it.

  • Period: =TEXT([booking_date],"yyyy-mm"), the plan's month
  • Level: =XLOOKUP([region],RegionMap[Region],RegionMap[Level]), the Adaptive level
  • Account: ="Bookings", the plan account
  • Amount: =[acv_usd], the booking value

Checks to set on this feed

  • Totals tied out between the query and the destination after every load
  • Flag schema changes before they break a load
  • Replace only the keys or period in the window, never the whole table

How setup works

  1. Start a Spark. Sign in or paste a key. Spark checks the access the key grants and warns before it expires. If someone else owns the system, Spark sends them a setup request with the security context they need.
  2. Build a Circuit with Ask Spark. Describe the feed in plain English. Ask Spark drafts the mapping in Excel syntax and waits for your approval.
  3. Let it run. On a schedule, when a file lands, or when the source changes, with checks before anything is written and alerts by email, Slack, Teams or the Spark mobile app.

Security

Each customer runs in its own isolated tenant with its own encryption key and credential vault. Business data passes through memory during a run and is never stored. Writes to systems of record need their own permission, and ERP journals arrive as drafts by default. See Spark security.

See it with your own systems

Book a 30-minute demo built around the systems you use. Spark starts at $5,000 a year, with every connector on every plan. See pricing, security and the connector library.