def METHOD_NAME(path, path2, glue_database, glue_table, glue_table2, use_threads=False):
    wr.s3.to_parquet(
        df=get_df(governed=True),
        path=path,
        index=False,
        boto3_session=None,
        s3_additional_kwargs=None,
        dataset=True,
        partition_cols=["par0", "par1"],
        mode="overwrite",
        table=glue_table,
        database=glue_database,
        glue_table_settings=wr.typing.GlueTableSettings(
            table_type="GOVERNED",
        ),
    )
    df = wr.lakeformation.read_sql_table(
        table=glue_table,
        database=glue_database,
        use_threads=use_threads,
    )
    assert len(df.index) == 3
    assert len(df.columns) == 14
    assert df["iint32"].sum() == 3
    ensure_data_types(df=df)
    # Filter query
    df2 = wr.lakeformation.read_sql_query(
        sql=f'SELECT * FROM {glue_table} WHERE "string" = :city_name',
        database=glue_database,
        params={"city_name": "Washington"},
    )
    assert len(df2.index) == 1
    wr.s3.to_csv(
        df=get_df_csv(),
        path=path2,
        index=False,
        boto3_session=None,
        s3_additional_kwargs=None,
        dataset=True,
        partition_cols=["par0", "par1"],
        mode="append",
        table=glue_table2,
        database=glue_database,
        glue_table_settings=wr.typing.GlueTableSettings(
            table_type="GOVERNED",
        ),
    )
    # Read within a transaction
    transaction_id = wr.lakeformation.start_transaction(read_only=True)
    df3 = wr.lakeformation.read_sql_table(
        table=glue_table2,
        database=glue_database,
        transaction_id=transaction_id,
        use_threads=use_threads,
    )
    assert df3["int"].sum() == 3
    ensure_data_types_csv(df3)
    # Read within a query as of time
    query_as_of_time = calendar.timegm(time.gmtime())
    df4 = wr.lakeformation.read_sql_table(
        table=glue_table2,
        database=glue_database,
        query_as_of_time=query_as_of_time,
        use_threads=use_threads,
    )
    assert len(df4.index) == 3