Skip to main content
Version: Beta 🚧

Connect Data Sources to Spark

When running Spark Compute, Tecton requires proper permissions and configuration to connect Spark jobs to your data, which can vary for each source of data.

Tecton has Python Data Source objects that can connect to the following batch data stores:

  • CSV, Parquet, and JSON on S3
  • Hive Tables via AWS Glue Data Catalog
  • AWS Redshift Tables
  • Snowflake Tables

Tecton has Python Data Source objects that can connect to the following data streams:

  • AWS Kinesis Streams
  • Kafka Topics
note

You can also use a data source function to connect to an arbitrary data source. With a data source function, you write a PySpark function that loads your data source and returns a Spark DataFrame. Compared to using a data source object, a data source function gives you more flexibility in connecting to an underlying data source and specifying logic for transforming the data retrieved from the underlying data source.

The following sections will guide you on connecting each source of data:

Once Tecton has the permissions needed to access the data, it must be registered in Tecton as a Data Source in your feature repository. See the documentation on Data Sources.

Was this page helpful?

🧠 Hi! Ask me anything about Tecton!

Floating button icon