I’m doing a cross_join between two arrays and then I have to redimension the result.
Due to the application I have to do that on different source subarrays, so I’m using the between operation in order to preselect the arrays to be used inside the cross_join
redimension(cross_join(between(A1, coords1), between(A2, coords2), ...), ...)
It happens that some times (on certain data) the query returns
Error in file '/home/scidb/runtime/query_client-Xmain_1464853217823.afl' near line 4 UserException in file: src/query/ops/cross_join/CrossJoinArray.cpp function: getItem line: 118 Error id: scidb::SCIDB_SE_EXECUTION::SCIDB_LE_NO_CURRENT_ELEMENT Error description: Error during query execution. No current element.
but not for all the inputs (A1 and A2 subarrays). And if I try to store the cross_join and then use the result for the redimension it works
store(cross_join(between(A1, coords1), between(A2, coords2), ...), CROSS); redimension(CROSS, ...);
So, the query looks well done, because it works for most the times, and the the problem could not be in the source data because breaking the query it works. What could it be?