From: <tr...@do...> - 2012-10-17 20:33:34
|
<p>The following issue has been added to a project that you are monitoring.</p> <table border="0"> <tr> <td width="90px" valign="top"><b>Title:</b></td> <td>CountDistinctAggregate produces wrong SPARQL string</td> </tr> <tr> <td><b>Project:</b></td> <td>Core Library (dotNetRDF.dll)</td> </tr> <tr> <td><b>Created By:</b></td> <td>Tomasz Pluskiewicz</td> </tr> <tr> <td><b>Milestone:</b></td> <td>0.8.0 RC 1</td> </tr> <tr> <td><b>Category:</b></td> <td>Query</td> </tr> <tr> <td><b>Priority:</b></td> <td>Normal</td> </tr> <tr> <td><b>Type:</b></td> <td>Bug</td> </tr> <tr> <td><b>Description:</b></td> </tr> <tr> <td colspan="2"><p> The following fails</p> <p> </p> <div> var aggregate = new CountDistinctAggregate(new VariableTerm(countedVariableName));</div> <div> Assert.AreEqual("COUNT(DISTINCT ?var)", aggregate.ToString());</div> <div> </div> <div> The actual return value fo the ToString() call is "COUNT(?var)", hence it is missing the DISTINCT keyword.</div></td> </tr> </table> <p> More information on this issue can be found at <a href="http://www.dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=286" target="_blank">http://www.dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=286</a></p> <p style="text-align:center;font-size:8pt;padding:5px;"> If you no longer wish to receive notifications, please visit <a href="http://www.dotnetrdf.org/tracker/Account/UserProfile.aspx" target="_blank">your profile</a> and change your notifications options. </p> |