diff --git a/velox/functions/prestosql/types/UuidType.cpp b/velox/functions/prestosql/types/UuidType.cpp index 8d0b5b5b22fa..5aa420113a69 100644 --- a/velox/functions/prestosql/types/UuidType.cpp +++ b/velox/functions/prestosql/types/UuidType.cpp @@ -45,7 +45,7 @@ class UuidCastOperator : public exec::CastOperator { castFromString(input, context, rows, *result); } else { VELOX_UNSUPPORTED( - "Cast from {} to UUID not yet supported", resultType->toString()); + "Cast from {} to UUID not yet supported", input.type()->toString()); } }