Skip to content
Snippets Groups Projects
Commit 09fd4e17 authored by Pierre-Gilles LEVALLOIS's avatar Pierre-Gilles LEVALLOIS
Browse files

fix truncate sql order

parent 569f1501
Branches
Tags
1 merge request!6Fully functional version that calculate layer with all stages
Pipeline #59895 passed
......@@ -334,7 +334,7 @@ def truncateDataInDB(DB_params, DB_schema, tableName):
conn, cur = connectDB(DB_params)
# Build request
truncateQuery = "TRUNCATE TABALE" + DB_schema + "." + tableName
truncateQuery = "TRUNCATE TABLE " + DB_schema + "." + tableName
# Execute query
cur.execute(truncateQuery)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment