Examples¶
DRLS includes example scripts demonstrating all major features. Each example is a standalone Python script in the examples/ directory.
Available Examples¶
| Example | File | Features |
|---|---|---|
| Quickstart | examples/quickstart.py |
Spark-on-Ray, Iceberg table creation, Ray Dataset conversion |
| Streaming | examples/streaming_iceberg.py |
Forward + reverse streaming bridge |
| Agent | examples/agent_demo.py |
AI agent with natural language commands |
| Time Travel | examples/time_travel.py |
Snapshot history, time-travel queries, rollback |
| CDC | examples/cdc_pipeline.py |
Change data capture streaming |
| Feast Features | examples/feast_features.py |
Feature store lifecycle — define, materialize, retrieve |
| Feast Serving | examples/feast_serving.py |
HTTP API feature access (no SDK required) |
Running Examples¶
All examples require:
- Python 3.12+ with
drlsinstalled - Java 17 with JVM JARs built
# Install
cd python && pip install -e ".[all]"
# Build JVM JARs
cd core && mvn clean package -DskipTests
# Run
python examples/quickstart.py
The agent demo additionally requires an LLM provider: