Skip to content

Commit

Permalink
Throws exception when exhausting dynamic dispatch candidates
Browse files Browse the repository at this point in the history
  • Loading branch information
johnedquinn committed Jan 25, 2024
1 parent 5ce9846 commit 7dd1063
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package org.partiql.eval.internal.operator.rex

import org.partiql.errors.TypeCheckException
import org.partiql.eval.internal.Record
import org.partiql.eval.internal.operator.Operator
import org.partiql.spi.function.PartiQLFunction
import org.partiql.spi.function.PartiQLFunctionExperimental
import org.partiql.value.PartiQLValue
import org.partiql.value.PartiQLValueExperimental
import org.partiql.value.PartiQLValueType
import org.partiql.value.missingValue

/**
* This represents Dynamic Dispatch.
Expand All @@ -30,7 +30,7 @@ internal class ExprCallDynamic(
candidate.eval(actualArgs)
}
}
return missingValue()
throw TypeCheckException()
}

/**
Expand Down

0 comments on commit 7dd1063

Please sign in to comment.