get_metadata_operation_table function

Get the operation for a given table