Missing space in get_table_names caused invalid SQL to be emited