Steve Carlin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18065


Change subject: IMPALA-11046: Change GetTupleIdx assert to a fail.
......................................................................

IMPALA-11046: Change GetTupleIdx assert to a fail.

There is code within GetTupleIdx that asserts that the index
is in range. The code also returns INVALID_IDX if the index
is not in the map.

It is preferable to be consistent with how GetTupleIdx fails when
the index is not in the map. During debugging, I hit this issue
and found it preferable to fail the query (which the caller of
GetTupleIdx does) rather than cause impalad to crash.

Change-Id: I15767b7adc30b4e6fdcf2e76b673a61739e5a289
---
M be/src/runtime/descriptors.cc
1 file changed, 3 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/65/18065/1
--
To view, visit http://gerrit.cloudera.org:8080/18065
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I15767b7adc30b4e6fdcf2e76b673a61739e5a289
Gerrit-Change-Number: 18065
Gerrit-PatchSet: 1
Gerrit-Owner: Steve Carlin <[email protected]>

Reply via email to