Commit Graph

12 Commits

Author SHA1 Message Date
Loredana Liccardo 17dfef9f1e - 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
2014-10-28 16:07:36 +00:00
Loredana Liccardo 850c0072b9 - bug fixed and related to samplings operation to manage column uppercase names with a postgres database. Sampler class modified adding "" for a column for database postgres.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@101046 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-27 16:13:43 +00:00
Loredana Liccardo 6728db3c04 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
2014-09-12 12:07:29 +00:00
Loredana Liccardo b72e647ea8 bug fixed for the smart smapling (with table col2oct2010-> scientific_names). Corrections in computeSmartSampleWithThreshold method.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99565 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-05 15:36:52 +00:00
Loredana Liccardo 10488ac084 some printf commented in computeSmartSample and computeSmartSampleWithThreshold for Sampler class
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99371 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-01 11:00:32 +00:00
Loredana Liccardo 6942920792 bug fixed in sampling operations and resolved truncating each table'a attribute to 255 characters
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99348 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-08-29 11:51:09 +00:00
Loredana Liccardo 6ce1e4d44b bug fixed for sampling in class Sampler for a database mysql about an attribute of a table that could be a keyword.Quotes `` added for all attributes before submitting a query.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99335 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-08-28 15:36:38 +00:00
Loredana Liccardo fe5b1c211b bug fixed in smart e random sampling for a database mysql
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99333 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-08-28 13:57:57 +00:00
Loredana Liccardo f790f715b7 bug fixed in Sampler and DatabaseOPerations classes to manage tables case sensitive for database Postgres
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99145 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-31 09:02:47 +00:00
Loredana Liccardo 229f351f7d bugs fixed in showcreatetable and samplings operations. In these operation it is useful to insert the table name in a query as "schema.table" for postgres and "db.table" for mysql.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@98907 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-23 15:11:58 +00:00
Loredana Liccardo 83df040993 bug fixed to retrieve columns names in a correct order (defined in the database schema) for the sampling operations, for the getTableDetails. Updates in Sampler, DatabasesManager and PostgresTableStructure classes.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@98845 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-21 15:19:55 +00:00
Loredana Liccardo b4ebf6e789 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@96616 82a268e6-3cf1-43bd-a215-b396298e98cf 2014-06-04 14:13:44 +00:00