benchflow / data-transformers

Spark scripts utilised to transform data to the BenchFlow internal formats
Other
0 stars 0 forks source link

How Can One Map a Construct to the Process it Belongs to? #92

Open VincenzoFerme opened 8 years ago

VincenzoFerme commented 8 years ago

Currently it seems there is no way to map a construct from the construct tables, to the process it belongs to. Why? It should be possible to have this map, using the ids of the processes table as well.

Cerfoglg commented 8 years ago

@VincenzoFerme Isn't that what the source_process_instance_id columns in the construct table is for?

VincenzoFerme commented 8 years ago

Ok, but how can I do this mapping if in the tables containing the construct metrics you do not store the construct id?

Cerfoglg commented 8 years ago

@VincenzoFerme But the metrics are computed over multiple constructs with different ids, the metrics are computed over construct names and types if defined.

VincenzoFerme commented 8 years ago

Right, that was to aggregate construct info with more flexibility than only for single process.

Evaluate a possible improvement: