New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HPCC-14474 Improve testing of sorts #7929
HPCC-14474 Improve testing of sorts #7929
Conversation
Add random, sorted, reverse sorted tests, and check results are sorted, and sorting is stable. Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
https://track.hpccsystems.com/browse/HPCC-14474 |
See also hpcc-systems/ecl-bundles#39 |
@richardkchapman please review |
Automated Smoketest Build: success
sort3 on hthor failed with:
9: Test: sortfwd:ecl ( version: algo=tbbstableqsort )
--- sortfwd:xml
+++ sortfwd:xml
@@ -1,3 +1,4 @@
+<Warning><Code>5403</Code><Source>hthor</Source><Message>Ignoring unsupported sort order algorithm 'tbbstableqsort', using default</Message></Warning>
<Dataset name=Result 1>
<Row><Result_1>true</Result_1></Row>
</Dataset>
HPCC Stop: OK |
Note: The PR for the merge sort changes includes the new tbbsort implementation. |
@AttilaVamos the error has been associated with the wrong test |
@ghalliday I'm working on the error report fix. |
Automated Smoketest Build: success
sortfwd(algo=tbbstableqsort ) on hthor failed with:
--- sortfwd:xml
+++ sortfwd:xml
@@ -1,3 +1,4 @@
+<Warning><Code>5403</Code><Source>hthor</Source><Message>Ignoring unsupported sort order algorithm 'tbbstableqsort', using default</Message></Warning>
<Dataset name=Result 1>
<Row><Result_1>true</Result_1></Row>
</Dataset>
sortnorm(algo=tbbstableqsort ) on hthor failed with:
--- sortnorm:xml
+++ sortnorm:xml
@@ -1,3 +1,4 @@
+<Warning><Code>5403</Code><Source>hthor</Source><Message>Ignoring unsupported sort order algorithm 'tbbstableqsort', using default</Message></Warning>
<Dataset name=Result 1>
<Row><Result_1>true</Result_1></Row>
</Dataset>
sortrev(algo=tbbstableqsort ) on hthor failed with:
--- sortrev:xml
+++ sortrev:xml
@@ -1,3 +1,4 @@
+<Warning><Code>5403</Code><Source>hthor</Source><Message>Ignoring unsupported sort order algorithm 'tbbstableqsort', using default</Message></Warning>
<Dataset name=Result 1>
<Row><Result_1>true</Result_1></Row>
</Dataset>
sortstable(algo=tbbstableqsort ) on hthor failed with:
--- sortstable:xml
+++ sortstable:xml
@@ -1,3 +1,4 @@
+<Warning><Code>5403</Code><Source>hthor</Source><Message>Ignoring unsupported sort order algorithm 'tbbstableqsort', using default</Message></Warning>
<Dataset name=Result 1>
<Row><Result_1>true</Result_1></Row>
</Dataset>
HPCC Stop: OK |
@AttilaVamos that is better. |
What if anything are we planning to do about those warnings? |
@ghalliday One question |
When my sort change (#7922) is merged in they will go away. |
@richardkchapman replied |
HPCC-14474 Improve testing of sorts Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Add random, sorted, reverse sorted tests, and check results
are sorted, and sorting is stable.
Signed-off-by: Gavin Halliday gavin.halliday@lexisnexis.com