Skip to content

Commit

Permalink
CI: [Omnisci] Drop table only if it exists
Browse files Browse the repository at this point in the history
Omnisci raises an exception if you try to drop a non-existing table
Author: Emelianova Svetlana <svetlana.emelianova@intel.com>

Closes #2050 from semelianova/ci_drop_table and squashes the following commits:

a1b12f8 [Emelianova Svetlana] Updated release notes
9b822b1 [Emelianova Svetlana] Drop table only if it exists
  • Loading branch information
semelianova authored and xmnlab committed Jan 21, 2020
1 parent dfde59e commit 52c5aa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ci/datamgr.py
Expand Up @@ -356,7 +356,7 @@ def omniscidb(schema, tables, data_directory, **params):
protocol=params['protocol'],
)
database = params["database"]
stmt = "DROP DATABASE {}".format(database)
stmt = "DROP DATABASE IF EXISTS {}".format(database)
try:
conn.execute(stmt)
except Exception:
Expand Down
1 change: 1 addition & 0 deletions docs/source/release.rst
Expand Up @@ -9,6 +9,7 @@ Release Notes

* :release:`1.2.1 <pending>`
* :support:`2034` Add initial documentation for OmniSciDB, MySQL, PySpark and SparkSQL backends, add initial documentation for geospatial methods and add links to Ibis wiki page
* :bug:`2050` CI: Drop table only if it exists
* :feature:`2044` Implemented covariance for bigquery backend
* :feature:`2035` Add support for multi arguments window UDAF for the pandas backend
* :bug:`2041` Change pymapd connection parameter from "session_id" to "sessionid"
Expand Down

0 comments on commit 52c5aa9

Please sign in to comment.