<html>
<head>
<base href="https://docs.jboss.org/author">
<link rel="stylesheet" href="/author/s/en/2172/19/5/_/styles/combined.css?spaceKey=TEIID&forWysiwyg=true" type="text/css">
</head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
<h2><a href="https://docs.jboss.org/author/display/TEIID/Partial+Results+Mode?focusedCommentId=102203395#comment-102203395">Partial Results Mode</a></h2>
<h4>Comment edited by <a href="https://docs.jboss.org/author/display/~tom9729">Tom Arnold</a>
:</h4>
<br/>
<h4>Changes (0)</h4>
<div id="page-diffs">
<table class="diff" cellpadding="0" cellspacing="0">
<tr><td class="diff-unchanged" >The [PartialResultsWarning |https://github.com/teiid/teiid/blob/master/client/src/main/java/org/teiid/jdbc/PartialResultsWarning.java]javadoc says to get the warning from the ResultSet instead of the Statement. Based on my tests (with 8.11.3) and what's written here, I believe that is wrong. <br></td></tr>
<tr><td class="diff-unchanged" > <br>Do custom translators need to do anything special to get partial results mode to return PartialResultsWarning? I'm trying to relay source failure information up to my app in this scenario, but I am only getting TeiidSQLWarning caused by TeiidException (with originalType set to SourceWarning and my original exception) and source/model fields are null. Otherwise, partialResultsMode appears to be working. <br></td></tr>
<tr><td class="diff-snipped" >...<br></td></tr>
</table>
</div> <h4>Full Content</h4>
<div class="notificationGreySide">
<p>The <a href="https://github.com/teiid/teiid/blob/master/client/src/main/java/org/teiid/jdbc/PartialResultsWarning.java" class="external-link" rel="nofollow">PartialResultsWarning </a>javadoc says to get the warning from the ResultSet instead of the Statement. Based on my tests (with 8.11.3) and what's written here, I believe that is wrong.</p>
<p>Do custom translators need to do anything special to get partial results mode to return PartialResultsWarning? I'm trying to relay source failure information up to my app in this scenario, but I am only getting TeiidSQLWarning caused by TeiidException (with originalType set to SourceWarning and my original exception) and source/model fields are null. Otherwise, partialResultsMode appears to be working.</p>
<p>I will try to reproduce on a newer Teiid version and write a JIRA; just wondering if I'm missing something.</p>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;" class="grey">
<a href="https://docs.jboss.org/author/users/removespacenotification.action?spaceKey=TEIID">Stop watching space</a>
<span style="padding: 0px 5px;">|</span>
<a href="https://docs.jboss.org/author/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
<a href="https://docs.jboss.org/author/display/TEIID/Partial+Results+Mode?focusedCommentId=102203395#comment-102203395">View Online</a>
|
<a id="reply-102203395" href="https://docs.jboss.org/author/display/TEIID/Partial+Results+Mode?replyToComment=102203395#comment-102203395">Reply To This</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>