Пример #1
0
def basic_test(path):
    handler = ParquetHandler()
    handler.build_from_csv(path)
    handler.get_schema(variant="dfg_freq")
    handler.get_schema(variant="dfg_perf")
    handler.get_schema(variant="inductive_freq")
    handler.get_schema(variant="inductive_perf")
    handler.get_schema(variant="heuristics_freq")
    handler.get_schema(variant="heuristics_perf")
    handler.get_schema(variant="tree_freq")
    handler.get_schema(variant="tree_perf")
    handler.get_case_duration_svg()
    handler.get_events_per_time_svg()
    handler.get_sna(variant="handover")
    handler.get_sna(variant="working_together")
    handler.get_sna(variant="subcontracting")
    handler.get_sna(variant="jointactivities")
    handler.get_transient(86400)
Пример #2
0
 def test_parquets(self):
     handler = ParquetHandler()
     handler.build_from_path(os.path.join("..", "running-example.parquet"))
     handler.get_schema(variant="dfg_freq")
     handler.get_schema(variant="dfg_perf")
     handler.get_schema(variant="alpha_freq")
     handler.get_schema(variant="alpha_perf")
     handler.get_schema(variant="inductive_freq")
     handler.get_schema(variant="inductive_perf")
     handler.get_schema(variant="tree_freq")
     handler.get_schema(variant="tree_perf")
     handler.get_case_duration_svg()
     handler.get_events_per_time_svg()
     handler.get_sna(variant="handover")
     handler.get_sna(variant="working_together")
     handler.get_sna(variant="subcontracting")
     handler.get_sna(variant="jointactivities")
     handler.get_transient(86400)
Пример #3
0
def basic_test_lazy(path):
    handler = ParquetHandler(is_lazy=True)
    handler.build_from_path(path)
    handler.get_schema(variant="dfg_freq")
    handler.get_schema(variant="dfg_perf")
    handler.get_schema(variant="inductive_freq")
    handler.get_schema(variant="inductive_perf")
    handler.get_schema(variant="heuristics_freq")
    handler.get_schema(variant="heuristics_perf")
    handler.get_schema(variant="tree_freq")
    handler.get_schema(variant="tree_perf")
    handler.get_case_duration_svg()
    handler.get_events_per_time_svg()
    handler.get_sna(variant="handover")
    handler.get_sna(variant="working_together")
    handler.get_sna(variant="subcontracting")
    handler.get_sna(variant="jointactivities")
    handler.get_transient(86400)
    handler.get_events_for_dotted(
        ["time:timestamp", "@@case_index", "concept:name"])