[Swift-commit] r2694 - provenancedb
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Mon Mar 16 13:18:19 CDT 2009
Author: benc
Date: 2009-03-16 13:18:18 -0500 (Mon, 16 Mar 2009)
New Revision: 2694
Modified:
provenancedb/prov-to-sql.sh
Log:
Intermediate files are now found in pwd, but some code was not looking there.
Modified: provenancedb/prov-to-sql.sh
===================================================================
--- provenancedb/prov-to-sql.sh 2009-03-16 18:17:20 UTC (rev 2693)
+++ provenancedb/prov-to-sql.sh 2009-03-16 18:18:18 UTC (rev 2694)
@@ -6,7 +6,7 @@
while read time duration thread endstate app scratch; do
echo "INSERT INTO executes (id, starttime, duration, finalstate, app, scratch) VALUES ('$thread', $time, $duration, '$endstate', '$app', '$scratch');" >> tmp-import.sql
-done < $LOGDIR/execute.global.event
+done < execute.global.event
while read thread direction dataset variable rest; do
if [ "$direction" == "input" ] ; then
@@ -15,24 +15,24 @@
dir=O
fi
echo "INSERT INTO dataset_usage (execute_id, direction, dataset_id, param_name) VALUES ('$thread', '$dir', '$dataset', '$variable');" >> tmp-import.sql
-done < $LOGDIR/tie-data-invocs.txt
+done < tie-data-invocs.txt
while read thread appname; do
echo "INSERT INTO invocation_procedure_names (execute_id, procedure_name) VALUES ('$thread', '$appname');" >> tmp-import.sql
-done < $LOGDIR/invocation-procedure-names.txt
+done < invocation-procedure-names.txt
while read outer inner; do
echo "INSERT INTO dataset_containment (outer_dataset_id, inner_dataset_id) VALUES ('$outer', '$inner');" >> tmp-import.sql
-done < $LOGDIR/tie-containers.txt
+done < tie-containers.txt
while read dataset filename; do
echo "INSERT INTO dataset_filenames (dataset_id, filename) VALUES ('$dataset', '$filename');" >> tmp-import.sql
-done < $LOGDIR/dataset-filenames.txt
+done < dataset-filenames.txt
while read start duration wfid; do
echo "INSERT INTO workflow_events (workflow_id,starttime, duration) VALUES ('$wfid', '$start', '$duration');" >> tmp-import.sql
-done < $LOGDIR/workflow.event
+done < workflow.event
echo Sending SQL to DB
$SQLCMD < tmp-import.sql
More information about the Swift-commit
mailing list