Skip to content

Commit

Permalink
Throw exception rather than wrap on ErrorResult (#3210)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelbey authored Oct 28, 2024
1 parent 0c01cf7 commit 844b819
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ public Result realizeInMemory()
}
catch (SQLException e)
{
return new ErrorResult(-1, "Error realizing the relational result in memory : " + e.getMessage());
throw new RuntimeException("Failed to realize in memory", e);
}
}

Expand Down Expand Up @@ -719,4 +719,4 @@ public List<Column> getResultSetColumns()
throw new RuntimeException(e);
}
}
}
}

0 comments on commit 844b819

Please sign in to comment.