Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -120,17 +120,9 @@ public QueryResults getResults() throws GeppettoDataSourceException
boolean first = true;
for(QueryResults result : results.keySet())
{
if(finalResults.getHeader().isEmpty())

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jrmartin why two PRs target the same piece of code? Are the both based on development or there is a sequence here? I foresee conflicts

{
finalResults.getHeader().addAll(result.getHeader());
}
else
{
if(!finalResults.getHeader().equals(result.getHeader()))
{
throw new GeppettoDataSourceException("Multiple queries were executed but they returned incompatible headers");
}
}
// Merge all headers into finalResults instead of only when is empty
finalResults.getHeader().addAll(result.getHeader());

BooleanOperator o = results.get(result);
switch(o)
{
Expand Down