def METHOD_NAME(path, path2, glue_database, glue_table, glue_table2):
    df = pd.DataFrame(
        {
            "id": [1, 2, 3],
            "string": ["normal string", "'weird' string", "another normal string"],
        }
    )
    wr.s3.to_parquet(
        df=df,
        path=path,
        index=False,
        boto3_session=None,
        s3_additional_kwargs=None,
        dataset=True,
        mode="overwrite",
        table=glue_table,
        database=glue_database,
        glue_table_settings=wr.typing.GlueTableSettings(
            table_type="GOVERNED",
        ),
    )
    # Filter query
    df = wr.lakeformation.read_sql_query(
        sql=f'SELECT * FROM {glue_table} WHERE "string" = :col_value',
        database=glue_database,
        params={"col_value": "'weird' string"},
    )
    assert len(df) == 1