def METHOD_NAME(output_table, dag):
    @aql.transform
    def sample_pg(input_table: Table):
        return "SELECT * FROM {{input_table}} WHERE last_name LIKE 'G%%'"
    with dag:
        pg_output = sample_pg(
            input_table=Table(
                name="actor",
                conn_id="postgres_conn_pagila",
                metadata=Metadata(schema="public"),
            ),
            output_table=output_table,
        )
        validate(df=pg_output)
    test_utils.run_dag(dag)