You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ResultStreamer.java.txt
According to http://docs.qubole.com/en/latest/rest-api/command_api/view-command-results.html, a response can contain "inline": true while still having the results in S3. The simple inline test done in ResultStream#getResults needs to be expanded into:
boolean isInline = resultValue.isInline();
if (resultValue.getResult_location() != null && resultValue.getResult_location().size() > 0)
{
isInline = false;
}
if (isInline)
{
return new StringReader(resultValue.getResults());
}
ResultStreamer.java.txt
According to http://docs.qubole.com/en/latest/rest-api/command_api/view-command-results.html, a response can contain "inline": true while still having the results in S3. The simple inline test done in ResultStream#getResults needs to be expanded into:
boolean isInline = resultValue.isInline();
if (resultValue.getResult_location() != null && resultValue.getResult_location().size() > 0)
{
isInline = false;
}
if (isInline)
{
return new StringReader(resultValue.getResults());
}
I have a fix for this, but can't push my branch for review (not authorized) - file attached.
The text was updated successfully, but these errors were encountered: