Skip to content

Commit

Permalink
add missing achilles_performance_ddl.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail-iontsev committed Jan 17, 2025
1 parent b2b13fd commit 8b3b83d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion R/Achilles.R
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ achilles <- function(connectionDetails,
)

sqlPerformanceTable <- SqlRender::loadRenderTranslateSql(
sqlFilename = "achilles_performance_ddl.sql",
sqlFilename = "analyses/achilles_performance_ddl.sql",
packageName = "Achilles",
dbms = connectionDetails$dbms,
resultsDatabaseSchema = resultsDatabaseSchema
Expand Down
12 changes: 12 additions & 0 deletions inst/sql/sql_server/analyses/achilles_performance_ddl.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

-- DDL FOR THE ACHILLES_ANALYSIS TABLE

IF OBJECT_ID('@resultsDatabaseSchema.achilles_performance', 'U') IS NOT NULL
DROP TABLE @resultsDatabaseSchema.achilles_performance;

CREATE TABLE @resultsDatabaseSchema.achilles_performance (
analysis_id INTEGER,
elapsed_seconds NUMERIC,
start_time NUMERIC,
end_time NUMERIC
);

0 comments on commit 8b3b83d

Please sign in to comment.