glue_search_tables function

Searches a set of tables based on properties in the table metadata as well as on the parent database