Extracting Data for ETL pipelines