Skip to content

Commit e4e58a0

Browse files
committed
fixup! add error messages for unexpected situations
1 parent 5451cfa commit e4e58a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/Core/src/ArrowTableSlicingCache.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ SliceInfoUnsortedPtr ArrowTableSlicingCache::getCacheUnsortedFor(const Entry& bi
210210
if (s) {
211211
throw runtime_error_f("%s/%s is found in sorted cache", bindingKey.binding.c_str(), bindingKey.key.c_str());
212212
}
213-
if (!bindingsKeys[p].enabled) {
213+
if(!bindingsKeysUnsorted[p].enabled) {
214214
throw runtime_error_f("Disabled unsorted cache %s/%s is requested", bindingKey.binding.c_str(), bindingKey.key.c_str());
215215
}
216216

0 commit comments

Comments
 (0)