make exception mesage more readable
This commit is contained in:
parent
a9af18cc44
commit
a20f407f98
|
|
@ -113,7 +113,7 @@ public class RowExpressionCompiler
|
|||
functionAndTypeManager);
|
||||
return (new FunctionCallCodeGenerator()).generateExpression(call.getFunctionHandle(), generatorContext, call.getType(), call.getArguments());
|
||||
default:
|
||||
throw new IllegalArgumentException(format("Unsupported function implementation type in RowExpressionCompiler: %s", functionMetadata.getImplementationType()));
|
||||
throw new IllegalArgumentException(format("Unsupported function implementation type in RowExpressionCompiler: %s. For the external function, we will support to execute them in the future release.", functionMetadata.getImplementationType()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1604,7 +1604,7 @@ public class LocalExecutionPlanner
|
|||
}
|
||||
}
|
||||
catch (RuntimeException e) {
|
||||
throw new PrestoException(COMPILER_ERROR, "Compiler failed", e);
|
||||
throw new PrestoException(COMPILER_ERROR, "Execution Compiler failed.", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue