modification applied to the smartSampleOnTable method of class Sampler. If a table has o row return the exception with message "The table has 0 rows"
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99778 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
77082fa4ad
commit
6728db3c04
|
@ -335,7 +335,7 @@ public class Sampler {
|
||||||
|
|
||||||
if (NumRows == 0) {
|
if (NumRows == 0) {
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
"The table has not rows. Smart Sample operation not possible");
|
"The table has 0 rows");
|
||||||
}
|
}
|
||||||
|
|
||||||
// // computation of the iterations number
|
// // computation of the iterations number
|
||||||
|
|
Loading…
Reference in New Issue