THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
CALL [catalog_name.][database_name.]procedure_name ([ expression [, expression]* ] ) |
Note: The expression
can be a function call, but should be reduced to literal value. Otherwise, it'll throw an exception.
Public interfaces changes
.
Public interfaces changes
First, we propose a new interface name ProcedureContext
to provide a context for stored procedure. Currently, it provides StreamExecutionEnvironment
to enable stored procedure to run a Flink job.
Code Block | ||
---|---|---|
| ||
/** A context to provide necessary context used by stored procedure. */
@PublicEvolving
public interface ProcedureContext {
/** Return the StreamExecutionEnvironment where the procedure is called. */
StreamExecutionEnvironment getExecutionEnvironment();
} |
thenFirst, we propose a new interface Procedure
for stored procedure. The stored procedure providers are expected to implement Procedure
to define their own procedure.
...