Skip to content

Commit

Permalink
Output empty lines in TSV and CSV export
Browse files Browse the repository at this point in the history
TODO: add unit test
  • Loading branch information
Hannah Bast committed Jan 31, 2025
1 parent f2562fe commit 3371c62
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/engine/ExportQueryExecutionTrees.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,11 @@ ExportQueryExecutionTrees::selectQueryResultToStream(
co_yield optionalStringAndType.value().first;
}
}
co_yield j + 1 < selectedColumnIndices.size() ? separator : '\n';
if (j + 1 < selectedColumnIndices.size()) {
co_yield separator;
}
}
co_yield '\n';
cancellationHandle->throwIfCancelled();
}
}
Expand Down

0 comments on commit 3371c62

Please sign in to comment.