Skip to main content

Working with Tables

You can use Tower-supplied or self-managed Apache Iceberg tables to store and process data in a lakehouse. Tower will integrate with the REST catalog of your choice.

Writing to an Iceberg table

In this example, you will download a JSON file containing stock ticker data for a specified date from S3 and write its contents into an Iceberg table.

Highlights the use of: Iceberg, PyArrow

Analyzing data in an Iceberg table

This example reads stock ticker data from an Iceberg table populated in the previous example, calculates statistics such as moving averages and volatility using Polars, and uses the DeepSeek R1 LLM to make recommendations on buying or selling stocks.

Highlights the use of: Iceberg, Polars, Local Inference, Together.ai, DeepSeek R1

Reading and deleting Iceberg table records

This app will inspect the Iceberg table populated by previous examples and remove all records from it that are older than the specified Time Window parameter.