From: <tho...@us...> - 2014-01-14 12:46:06
|
Revision: 7789 http://bigdata.svn.sourceforge.net/bigdata/?rev=7789&view=rev Author: thompsonbry Date: 2014-01-14 12:45:59 +0000 (Tue, 14 Jan 2014) Log Message: ----------- javadoc on NoSolutionsException. Showing the paths table if there is cardinality underflow to analyze query41.rq behavior with the RTO. Modified Paths: -------------- branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/bop/joinGraph/NoSolutionsException.java branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/bop/joinGraph/rto/JGraph.java Modified: branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/bop/joinGraph/NoSolutionsException.java =================================================================== --- branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/bop/joinGraph/NoSolutionsException.java 2014-01-14 00:31:41 UTC (rev 7788) +++ branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/bop/joinGraph/NoSolutionsException.java 2014-01-14 12:45:59 UTC (rev 7789) @@ -1,8 +1,33 @@ +/** + +Copyright (C) SYSTAP, LLC 2006-2007. All rights reserved. + +Contact: + SYSTAP, LLC + 4501 Tower Road + Greensboro, NC 27410 + lic...@bi... + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; version 2 of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ package com.bigdata.bop.joinGraph; /** - * Exception thrown when the join graph does not have any solutions in the - * data (running the query does not produce any results). + * Exception thrown when the join graph does not have any solutions in the data + * (running the cutoff joins to explore the join graph does not produce any + * solutions such that we can not complete a path through the join graph without + * a zero cardinality). */ public class NoSolutionsException extends RuntimeException { Modified: branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/bop/joinGraph/rto/JGraph.java =================================================================== --- branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/bop/joinGraph/rto/JGraph.java 2014-01-14 00:31:41 UTC (rev 7788) +++ branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/bop/joinGraph/rto/JGraph.java 2014-01-14 12:45:59 UTC (rev 7789) @@ -544,7 +544,8 @@ log.warn("Cardinality estimate underflow - resampling: round=" + round + ", npaths=" + paths.length + ", nunderflow=" - + nunderflow + ", limit=" + limit); + + nunderflow + ", limit=" + limit + "\n" + + showTable(paths)); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |