Use TABLE_PAT_KEY as the key type