[Swift-commit] r2989 - provenancedb

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Tue Jun 30 07:38:31 CDT 2009


Author: benc
Date: 2009-06-30 07:38:31 -0500 (Tue, 30 Jun 2009)
New Revision: 2989

Modified:
   provenancedb/prepare-provenance-chart
   provenancedb/prov-init.sql
Log:
import ARRAYRANGE

Modified: provenancedb/prepare-provenance-chart
===================================================================
--- provenancedb/prepare-provenance-chart	2009-06-30 12:38:12 UTC (rev 2988)
+++ provenancedb/prepare-provenance-chart	2009-06-30 12:38:31 UTC (rev 2989)
@@ -43,4 +43,5 @@
 
 cat $1 | grep ' CREATEARRAY MEMBER ' | sed 's/^.* array=\([^ ]*\) index=\([^ ]*\) member=\([^ ]*\).*$/\1 \2 \3/' > createarray-members.txt
 
+cat $1 | grep ' ARRAYRANGE ' | sed 's/^.* thread=\([^ ]*\).*$/\1/' > arrayrange.txt
 

Modified: provenancedb/prov-init.sql
===================================================================
--- provenancedb/prov-init.sql	2009-06-30 12:38:12 UTC (rev 2988)
+++ provenancedb/prov-init.sql	2009-06-30 12:38:31 UTC (rev 2989)
@@ -16,6 +16,7 @@
 DROP TABLE extrainfo;
 DROP TABLE createarray;
 DROP TABLE createarray_member;
+DROP TABLE arrayrange;
 
 
 -- associates each process with its containing workflow
@@ -146,6 +147,14 @@
       member_id char(128)
     );
 
+-- TODO step
+CREATE TABLE array_range
+    ( array_id char(128),
+      from_id char(128),
+      to_id char(128),
+      step_id char(128) -- nullable, if step is unspecified
+    );
+
 -- known_workflows stores some information about each workflow log that has
 -- been seen by the importer: the log filename, swift version and import
 -- status.




More information about the Swift-commit mailing list