import gluestick as gs
import polars as pl
reader = gs.PLLazyFrameReader()
TENANT_ID = "TENANT_123"
for stream in reader.input_files.keys():
lf = reader.get(stream, catalog_types=True)
lf = lf.with_columns(
pl.lit(TENANT_ID).alias("tenant_id")
)
gs.to_export(lf, stream, "./etl-output", keys=["id"])