I have a postgresql database with millions records tables. I'm working with AWS Glue and I want to filter data at sql server level but when i execute toDF()
the dynamic_frame
fetch all the records.
DataSource0 = glueContext.create_dynamic_frame.from_catalog(
database = dataSourceCatalogDataBase,
table_name = dataSourceCatalogTableName,
redshift_tmp_dir = args["TempDir"],
transformation_ctx = "DataSource0"
)
DataSource0.toDF()
is any way to filter the data at sql server?
Thanks
I tried additional_options
.