Skip to content

Commit

Permalink
Addresses rebase changes
Browse files Browse the repository at this point in the history
  • Loading branch information
johnedquinn committed Aug 15, 2024
1 parent bd9c2f1 commit 79cb973
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ internal class PlanTyper(private val env: Env) {
*/
private fun visitRexOpSubqueryScalar(subquery: Rex.Op.Subquery, cons: CompilerType): Rex {
if (cons.kind == Kind.DYNAMIC) {
return Rex(PType.typeDynamic().toCType(), subquery)
return Rex(PType.dynamic().toCType(), subquery)
}
if (cons.kind != Kind.ROW) {
error("Subquery with non-SQL SELECT cannot be coerced to a scalar. Found constructor type: $cons")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ internal object Fn_NOT__BOOL__BOOL : Fn {
override fun invoke(args: Array<Datum>): Datum {
val arg = args[0]
if (arg.isMissing) {
return Datum.nullValue(PType.typeBool())
return Datum.nullValue(PType.bool())
}
val value = arg.boolean
return Datum.bool(value.not())
Expand Down

0 comments on commit 79cb973

Please sign in to comment.