Changeset: 933aab51cb90 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/933aab51cb90
Branch: ordered-set-aggregates
Log Message:

merged with default


diffs (15 lines):

diff --git a/gdk/gdk_firstn.c b/gdk/gdk_firstn.c
--- a/gdk/gdk_firstn.c
+++ b/gdk/gdk_firstn.c
@@ -1385,6 +1385,11 @@ BATgroupedfirstn(BUN n, BAT *s, BAT *g, 
                GDKfree(batinfo);
                return NULL;
        }
+       /* result is unlikely to be sorted, and there may be nils if
+        * there are groups that are too small */
+       bn->tsorted = bn->trevsorted = bn->batCount <= 1;
+       bn->tnil = false;
+       bn->tnonil = false;
 
        for (int i = 0; i < nbats; i++) {
                batinfo[i] = (struct batinfo) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to