j***@uwaterloo.ca
2011-03-03 02:56:40 UTC
Recently,
I was running my HashJoin with the new ExecHash implemented (and only the
changes required in ExecHashJoin to do so) and noticed that my
outerNode->hashkeys was null as someone else also mentioned.
I was able to set these hashkeys (I believe) properly, but this caused the
program from issuing the correct results to causing an error that says:
"TRAP: FailedAssertion("!(attnum <= tuple_type->natts)", File:
"execQual.c", Line: 491)"
I noticed that this error comes from somewhere within
ExecHashGetHashValue() when this call is made in ExecHash:
hashvalue = ExecHashGetHashValue(hashtable, econtext, hashkeys);
Any idea what might be causing such an error (I have to assume it is the
hashkeys because that is the only change I made)???
It is my understanding that having outerNode->hashkeys as NULL would be
incorrect - and that we do want these set...
Thanks.
I was running my HashJoin with the new ExecHash implemented (and only the
changes required in ExecHashJoin to do so) and noticed that my
outerNode->hashkeys was null as someone else also mentioned.
I was able to set these hashkeys (I believe) properly, but this caused the
program from issuing the correct results to causing an error that says:
"TRAP: FailedAssertion("!(attnum <= tuple_type->natts)", File:
"execQual.c", Line: 491)"
I noticed that this error comes from somewhere within
ExecHashGetHashValue() when this call is made in ExecHash:
hashvalue = ExecHashGetHashValue(hashtable, econtext, hashkeys);
Any idea what might be causing such an error (I have to assume it is the
hashkeys because that is the only change I made)???
It is my understanding that having outerNode->hashkeys as NULL would be
incorrect - and that we do want these set...
Thanks.