- bug fixed in Sampler class in computeSmartSampleWithThreshold method. table name formatted as schema."table" in order to recover the rows
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@101088 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
81c8975e6a
commit
17dfef9f1e
|
@ -930,7 +930,7 @@ public class Sampler {
|
||||||
|
|
||||||
query = String.format(
|
query = String.format(
|
||||||
queryForSmartSampleWithThresholdOnTablePostgres,
|
queryForSmartSampleWithThresholdOnTablePostgres,
|
||||||
listAttributes, tablename, indexes[i]);
|
listAttributes, tableName, indexes[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// build the query for database mysql
|
// build the query for database mysql
|
||||||
|
@ -941,7 +941,7 @@ public class Sampler {
|
||||||
|
|
||||||
query = String.format(
|
query = String.format(
|
||||||
queryForSmartSampleWithThresholdOnTableMysql,
|
queryForSmartSampleWithThresholdOnTableMysql,
|
||||||
listAttributes, tablename, indexes[i]);
|
listAttributes, tableName, indexes[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
AnalysisLogger.getLogger().debug(
|
AnalysisLogger.getLogger().debug(
|
||||||
|
|
Loading…
Reference in New Issue