Describe the bug
If the function cmp() is applied on only a part of a column of a table, the returned indices are with respect to the absolut index and not as a offset to the starting index. This does not correspond to the behavior provided by the direct usage of the function on some values.
To Reproduce
Steps to reproduce the behavior:
Create some random data set
Call cmp() with some offset on the table
Call cmp() without the offset on the table
See same indices
Expected behaviorcmp() returns the indices with respect to the offset instead of the absolute index.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: 10x64
Version v1.1.6.2402
Additional context
Add any other context about the problem here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
That should be includable by calculating the overall min index and add this value to the result index (if index is required).
DESCRIPTION
Describe the bug If the function
cmp()
is applied on only a part of a column of a table, the returned indices are with respect to the absolut index and not as a offset to the starting index. This does not correspond to the behavior provided by the direct usage of the function on some values.To Reproduce Steps to reproduce the behavior:
cmp()
with some offset on the tablecmp()
without the offset on the tableExpected behavior
cmp()
returns the indices with respect to the offset instead of the absolute index.Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
That should be includable by calculating the overall min index and add this value to the result index (if index is required).
IMPLEMENTATION STEPS
(see also our Wiki for implementation guidelines)
DOCUMENTATION STEPS
(see also our Wiki for further information)
*.NHLP
and*.NDB
files, if needed)*.NLNG
files, if needed)PULL REQUEST