summaryrefslogtreecommitdiff
path: root/simulator/opendc-format/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'simulator/opendc-format/src/main')
-rw-r--r--simulator/opendc-format/src/main/kotlin/org/opendc/format/trace/wtf/WtfTraceReader.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/simulator/opendc-format/src/main/kotlin/org/opendc/format/trace/wtf/WtfTraceReader.kt b/simulator/opendc-format/src/main/kotlin/org/opendc/format/trace/wtf/WtfTraceReader.kt
index b8f3e771..12a60aec 100644
--- a/simulator/opendc-format/src/main/kotlin/org/opendc/format/trace/wtf/WtfTraceReader.kt
+++ b/simulator/opendc-format/src/main/kotlin/org/opendc/format/trace/wtf/WtfTraceReader.kt
@@ -55,7 +55,7 @@ class WtfTraceReader(path: String) : TraceReader<Job> {
val tasks = mutableMapOf<Long, Task>()
val taskDependencies = mutableMapOf<Task, List<Long>>()
- val reader = AvroParquetReader.builder<GenericRecord>(Path(path)).build()
+ val reader = AvroParquetReader.builder<GenericRecord>(Path(path, "tasks/schema-1.0")).build()
while (true) {
val nextRecord = reader.read() ?: break