See the error message: > type mismatch: got <tuple of (int, seq[empty])> but expected 'tuple of (int8, > OneRow)'
It seems to me that your `return (0, @[])` is not automatically converted to `'tuple of (int8, OneRow)'` like you would expect. See if changing that line to `result = (0, @[])` solves the issue.
