Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:vitrivr/vitrivr-engine into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
net-cscience-raphael committed May 29, 2024
2 parents a0958ac + ce53093 commit 86a2a81
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class IngestionPipelineBuilder(val config: IngestionConfig) {
val config = root.opConfig as? OperatorConfig.Enumerator ?: throw IllegalArgumentException("Root stage must always be an enumerator!")
val built = HashMap<String, Operator<*>>()
built[root.name] = buildEnumerator(root.opName, config, stream)

for (output in root.output) {
buildInternal(output, built)
}
Expand Down Expand Up @@ -141,7 +142,7 @@ class IngestionPipelineBuilder(val config: IngestionConfig) {
}
for (inputKey in operation.value.inputs) {
if (!stages.containsKey(inputKey)) {
val op = this.config.operations[inputKey] ?: throw IllegalArgumentException("Undefined operation '${it.value.operator}'")
val op = this.config.operations[inputKey] ?: throw IllegalArgumentException("Undefined operation '${inputKey}'")
stages[inputKey] = Operation(inputKey, op.operator, config.operators[op.operator] ?: throw IllegalArgumentException("Undefined operator '${op.operator}'"), op.merge)
}
stages[operation.key]?.addInput(stages[inputKey]!!)
Expand Down

0 comments on commit 86a2a81

Please sign in to comment.