Unverified Commit 7655efe3 authored by Licho's avatar Licho Committed by GitHub

feat: add operation execute compatible for flink 1.18 (#2637)

* feat: add operation execute compatible for flink 1.18 Signed-off-by: 's avatarlicho <lecho.sun@gmail.com> * Spotless Apply * Spotless Apply --------- Signed-off-by: 's avatarlicho <lecho.sun@gmail.com> Co-authored-by: 's avatarleechor <leechor@users.noreply.github.com>
parent 5267fb5b
...@@ -22,6 +22,7 @@ package org.dinky.executor; ...@@ -22,6 +22,7 @@ package org.dinky.executor;
import org.dinky.assertion.Asserts; import org.dinky.assertion.Asserts;
import org.dinky.data.model.LineageRel; import org.dinky.data.model.LineageRel;
import org.dinky.data.result.SqlExplainResult; import org.dinky.data.result.SqlExplainResult;
import org.dinky.parser.CustomParserImpl;
import org.dinky.utils.JsonUtils; import org.dinky.utils.JsonUtils;
import org.dinky.utils.LineageContext; import org.dinky.utils.LineageContext;
...@@ -119,6 +120,8 @@ public class CustomTableEnvironmentImpl extends AbstractCustomTableEnvironment { ...@@ -119,6 +120,8 @@ public class CustomTableEnvironmentImpl extends AbstractCustomTableEnvironment {
isStreamingMode, isStreamingMode,
userClassLoader)); userClassLoader));
this.executor = executor; this.executor = executor;
injectParser(new CustomParserImpl(getPlanner().getParser()));
injectExtendedExecutor(new CustomExtendedOperationExecutorImpl(this));
} }
public static CustomTableEnvironmentImpl create( public static CustomTableEnvironmentImpl create(
......
...@@ -24,6 +24,7 @@ import static org.apache.flink.table.api.bridge.internal.AbstractStreamTableEnvi ...@@ -24,6 +24,7 @@ import static org.apache.flink.table.api.bridge.internal.AbstractStreamTableEnvi
import org.dinky.assertion.Asserts; import org.dinky.assertion.Asserts;
import org.dinky.data.model.LineageRel; import org.dinky.data.model.LineageRel;
import org.dinky.data.result.SqlExplainResult; import org.dinky.data.result.SqlExplainResult;
import org.dinky.parser.CustomParserImpl;
import org.dinky.utils.LineageContext; import org.dinky.utils.LineageContext;
import org.apache.flink.api.common.RuntimeExecutionMode; import org.apache.flink.api.common.RuntimeExecutionMode;
...@@ -108,6 +109,8 @@ public class CustomTableEnvironmentImpl extends AbstractCustomTableEnvironment { ...@@ -108,6 +109,8 @@ public class CustomTableEnvironmentImpl extends AbstractCustomTableEnvironment {
executor, executor,
isStreamingMode, isStreamingMode,
userClassLoader)); userClassLoader));
injectParser(new CustomParserImpl(getPlanner().getParser()));
injectExtendedExecutor(new CustomExtendedOperationExecutorImpl(this));
} }
public static CustomTableEnvironmentImpl create( public static CustomTableEnvironmentImpl create(
......
...@@ -22,6 +22,7 @@ package org.dinky.executor; ...@@ -22,6 +22,7 @@ package org.dinky.executor;
import org.dinky.assertion.Asserts; import org.dinky.assertion.Asserts;
import org.dinky.data.model.LineageRel; import org.dinky.data.model.LineageRel;
import org.dinky.data.result.SqlExplainResult; import org.dinky.data.result.SqlExplainResult;
import org.dinky.parser.CustomParserImpl;
import org.dinky.trans.ddl.CustomSetOperation; import org.dinky.trans.ddl.CustomSetOperation;
import org.dinky.utils.JsonUtils; import org.dinky.utils.JsonUtils;
import org.dinky.utils.LineageContext; import org.dinky.utils.LineageContext;
...@@ -76,6 +77,8 @@ public class CustomTableEnvironmentImpl extends AbstractCustomTableEnvironment { ...@@ -76,6 +77,8 @@ public class CustomTableEnvironmentImpl extends AbstractCustomTableEnvironment {
public CustomTableEnvironmentImpl(StreamTableEnvironment streamTableEnvironment) { public CustomTableEnvironmentImpl(StreamTableEnvironment streamTableEnvironment) {
super(streamTableEnvironment); super(streamTableEnvironment);
injectParser(new CustomParserImpl(getPlanner().getParser()));
injectExtendedExecutor(new CustomExtendedOperationExecutorImpl(this));
} }
public static CustomTableEnvironmentImpl create( public static CustomTableEnvironmentImpl create(
......
...@@ -22,6 +22,7 @@ package org.dinky.executor; ...@@ -22,6 +22,7 @@ package org.dinky.executor;
import org.dinky.assertion.Asserts; import org.dinky.assertion.Asserts;
import org.dinky.data.model.LineageRel; import org.dinky.data.model.LineageRel;
import org.dinky.data.result.SqlExplainResult; import org.dinky.data.result.SqlExplainResult;
import org.dinky.parser.CustomParserImpl;
import org.dinky.utils.LineageContext; import org.dinky.utils.LineageContext;
import org.apache.flink.api.dag.Transformation; import org.apache.flink.api.dag.Transformation;
...@@ -79,6 +80,8 @@ public class CustomTableEnvironmentImpl extends AbstractCustomTableEnvironment { ...@@ -79,6 +80,8 @@ public class CustomTableEnvironmentImpl extends AbstractCustomTableEnvironment {
public CustomTableEnvironmentImpl(StreamTableEnvironment streamTableEnvironment) { public CustomTableEnvironmentImpl(StreamTableEnvironment streamTableEnvironment) {
super(streamTableEnvironment); super(streamTableEnvironment);
injectParser(new CustomParserImpl(getPlanner().getParser()));
injectExtendedExecutor(new CustomExtendedOperationExecutorImpl(this));
} }
public static CustomTableEnvironmentImpl create( public static CustomTableEnvironmentImpl create(
......
...@@ -22,6 +22,7 @@ package org.dinky.executor; ...@@ -22,6 +22,7 @@ package org.dinky.executor;
import org.dinky.assertion.Asserts; import org.dinky.assertion.Asserts;
import org.dinky.data.model.LineageRel; import org.dinky.data.model.LineageRel;
import org.dinky.data.result.SqlExplainResult; import org.dinky.data.result.SqlExplainResult;
import org.dinky.operations.CustomNewParserImpl;
import org.dinky.utils.LineageContext; import org.dinky.utils.LineageContext;
import org.apache.flink.api.dag.Transformation; import org.apache.flink.api.dag.Transformation;
...@@ -81,6 +82,7 @@ public class CustomTableEnvironmentImpl extends AbstractCustomTableEnvironment { ...@@ -81,6 +82,7 @@ public class CustomTableEnvironmentImpl extends AbstractCustomTableEnvironment {
public CustomTableEnvironmentImpl(StreamTableEnvironment streamTableEnvironment) { public CustomTableEnvironmentImpl(StreamTableEnvironment streamTableEnvironment) {
super(streamTableEnvironment); super(streamTableEnvironment);
injectParser(new CustomNewParserImpl(this, getPlanner().getParser()));
} }
public static CustomTableEnvironmentImpl create( public static CustomTableEnvironmentImpl create(
......
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package org.dinky.operations;
import org.dinky.parser.CustomParserImpl;
import org.apache.flink.table.api.TableEnvironment;
import org.apache.flink.table.delegation.Parser;
import org.apache.flink.table.planner.parse.ExtendedParser;
public class CustomNewParserImpl extends CustomParserImpl {
private final DinkyParser dinkyParser;
public CustomNewParserImpl(TableEnvironment tableEnvironment, Parser parser) {
super(parser);
this.dinkyParser = new DinkyParser(tableEnvironment);
}
@Override
public ExtendedParser getDinkyParser() {
return this.dinkyParser;
}
}
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package org.dinky.operations;
import org.apache.flink.table.api.TableEnvironment;
import org.apache.flink.table.api.internal.TableResultInternal;
import org.apache.flink.table.operations.ExecutableOperation;
import org.apache.flink.table.operations.Operation;
public class DinkyExecutableOperation implements ExecutableOperation {
private final Operation innerOperation;
private final TableEnvironment tableEnvironment;
public DinkyExecutableOperation(TableEnvironment tableEnvironment, Operation innerOperation) {
this.tableEnvironment = tableEnvironment;
this.innerOperation = innerOperation;
}
@Override
public TableResultInternal execute(Context ctx) {
DinkyOperationExecutor operationExecutor = new DinkyOperationExecutor(tableEnvironment, ctx);
return operationExecutor.executeOperation(innerOperation).get();
}
public Operation getInnerOperation() {
return innerOperation;
}
@Override
public String asSummaryString() {
return innerOperation.asSummaryString();
}
}
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package org.dinky.operations;
import org.dinky.executor.CustomTableEnvironment;
import org.dinky.trans.ExtendOperation;
import org.apache.flink.table.api.TableEnvironment;
import org.apache.flink.table.api.internal.TableResultInternal;
import org.apache.flink.table.operations.ExecutableOperation;
import org.apache.flink.table.operations.Operation;
import java.util.Optional;
public class DinkyOperationExecutor {
private final ExecutableOperation.Context context;
private final TableEnvironment tableEnvironment;
public DinkyOperationExecutor(TableEnvironment tableEnvironment, ExecutableOperation.Context context) {
this.tableEnvironment = tableEnvironment;
this.context = context;
}
public Optional<TableResultInternal> executeOperation(Operation operation) {
ExtendOperation extendOperation = (ExtendOperation) operation;
return Optional.of((TableResultInternal) extendOperation
.execute((CustomTableEnvironment) tableEnvironment)
.get());
}
}
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package org.dinky.operations;
import org.dinky.parser.DinkyExtendedParser;
import org.apache.flink.table.api.TableEnvironment;
import org.apache.flink.table.operations.Operation;
import org.apache.flink.table.planner.parse.ExtendedParseStrategy;
import java.util.Optional;
public class DinkyParser extends DinkyExtendedParser {
private final TableEnvironment tableEnvironment;
public DinkyParser(TableEnvironment tableEnvironment) {
this.tableEnvironment = tableEnvironment;
}
@Override
public Optional<Operation> parse(String statement) {
for (ExtendedParseStrategy strategy : PARSE_STRATEGIES) {
if (strategy.match(statement)) {
return Optional.of(new DinkyExecutableOperation(this.tableEnvironment, strategy.convert(statement)));
}
}
return Optional.empty();
}
}
...@@ -22,6 +22,7 @@ package org.dinky.executor; ...@@ -22,6 +22,7 @@ package org.dinky.executor;
import org.apache.calcite.sql.SqlNode; import org.apache.calcite.sql.SqlNode;
import org.apache.flink.table.delegation.Parser; import org.apache.flink.table.delegation.Parser;
import org.apache.flink.table.operations.Operation; import org.apache.flink.table.operations.Operation;
import org.apache.flink.table.planner.parse.ExtendedParser;
import java.util.List; import java.util.List;
...@@ -30,6 +31,8 @@ public interface CustomParser { ...@@ -30,6 +31,8 @@ public interface CustomParser {
Parser getParser(); Parser getParser();
ExtendedParser getDinkyParser();
SqlNode parseExpression(String sqlExpression); SqlNode parseExpression(String sqlExpression);
/** /**
......
...@@ -20,10 +20,6 @@ ...@@ -20,10 +20,6 @@
package org.dinky.parser; package org.dinky.parser;
import org.dinky.executor.CustomParser; import org.dinky.executor.CustomParser;
import org.dinky.trans.parse.AddJarSqlParseStrategy;
import org.dinky.trans.parse.CreateAggTableSelectSqlParseStrategy;
import org.dinky.trans.parse.CreateTemporalTableFunctionParseStrategy;
import org.dinky.trans.parse.SetSqlParseStrategy;
import org.apache.calcite.sql.SqlNode; import org.apache.calcite.sql.SqlNode;
import org.apache.flink.table.delegation.Parser; import org.apache.flink.table.delegation.Parser;
...@@ -31,10 +27,8 @@ import org.apache.flink.table.operations.Operation; ...@@ -31,10 +27,8 @@ import org.apache.flink.table.operations.Operation;
import org.apache.flink.table.planner.calcite.FlinkPlannerImpl; import org.apache.flink.table.planner.calcite.FlinkPlannerImpl;
import org.apache.flink.table.planner.delegation.ParserImpl; import org.apache.flink.table.planner.delegation.ParserImpl;
import org.apache.flink.table.planner.parse.CalciteParser; import org.apache.flink.table.planner.parse.CalciteParser;
import org.apache.flink.table.planner.parse.ExtendedParseStrategy;
import org.apache.flink.table.planner.parse.ExtendedParser; import org.apache.flink.table.planner.parse.ExtendedParser;
import java.util.Arrays;
import java.util.Collections; import java.util.Collections;
import java.util.List; import java.util.List;
import java.util.Optional; import java.util.Optional;
...@@ -44,7 +38,6 @@ import cn.hutool.core.util.ReflectUtil; ...@@ -44,7 +38,6 @@ import cn.hutool.core.util.ReflectUtil;
public class CustomParserImpl implements CustomParser { public class CustomParserImpl implements CustomParser {
private static final DinkyExtendedParser DINKY_EXTENDED_PARSER = DinkyExtendedParser.INSTANCE;
private final Parser parser; private final Parser parser;
private final Supplier<FlinkPlannerImpl> validatorSupplier; private final Supplier<FlinkPlannerImpl> validatorSupplier;
private final Supplier<CalciteParser> calciteParserSupplier; private final Supplier<CalciteParser> calciteParserSupplier;
...@@ -77,7 +70,7 @@ public class CustomParserImpl implements CustomParser { ...@@ -77,7 +70,7 @@ public class CustomParserImpl implements CustomParser {
@Override @Override
public List<Operation> parse(String statement) { public List<Operation> parse(String statement) {
Optional<Operation> command = DINKY_EXTENDED_PARSER.parse(statement); Optional<Operation> command = getDinkyParser().parse(statement);
// note: null represent not custom parser; // note: null represent not custom parser;
return command.map(Collections::singletonList).orElse(null); return command.map(Collections::singletonList).orElse(null);
...@@ -88,6 +81,11 @@ public class CustomParserImpl implements CustomParser { ...@@ -88,6 +81,11 @@ public class CustomParserImpl implements CustomParser {
return parser; return parser;
} }
@Override
public ExtendedParser getDinkyParser() {
return DinkyExtendedParser.INSTANCE;
}
@Override @Override
public SqlNode parseExpression(String sqlExpression) { public SqlNode parseExpression(String sqlExpression) {
return calciteParserSupplier.get().parseExpression(sqlExpression); return calciteParserSupplier.get().parseExpression(sqlExpression);
...@@ -103,24 +101,4 @@ public class CustomParserImpl implements CustomParser { ...@@ -103,24 +101,4 @@ public class CustomParserImpl implements CustomParser {
FlinkPlannerImpl flinkPlanner = validatorSupplier.get(); FlinkPlannerImpl flinkPlanner = validatorSupplier.get();
return flinkPlanner.validate(sqlNode); return flinkPlanner.validate(sqlNode);
} }
public static class DinkyExtendedParser extends ExtendedParser {
public static final DinkyExtendedParser INSTANCE = new DinkyExtendedParser();
private static final List<ExtendedParseStrategy> PARSE_STRATEGIES = Arrays.asList(
AddJarSqlParseStrategy.INSTANCE,
CreateAggTableSelectSqlParseStrategy.INSTANCE,
SetSqlParseStrategy.INSTANCE,
CreateTemporalTableFunctionParseStrategy.INSTANCE);
@Override
public Optional<Operation> parse(String statement) {
for (ExtendedParseStrategy strategy : PARSE_STRATEGIES) {
if (strategy.match(statement)) {
return Optional.of(strategy.convert(statement));
}
}
return Optional.empty();
}
}
} }
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package org.dinky.parser;
import org.dinky.trans.parse.AddJarSqlParseStrategy;
import org.dinky.trans.parse.CreateAggTableSelectSqlParseStrategy;
import org.dinky.trans.parse.CreateTemporalTableFunctionParseStrategy;
import org.dinky.trans.parse.SetSqlParseStrategy;
import org.apache.flink.table.operations.Operation;
import org.apache.flink.table.planner.parse.ExtendedParseStrategy;
import org.apache.flink.table.planner.parse.ExtendedParser;
import java.util.Arrays;
import java.util.List;
import java.util.Optional;
public class DinkyExtendedParser extends ExtendedParser {
public static final DinkyExtendedParser INSTANCE = new DinkyExtendedParser();
public static final List<ExtendedParseStrategy> PARSE_STRATEGIES = Arrays.asList(
AddJarSqlParseStrategy.INSTANCE,
CreateAggTableSelectSqlParseStrategy.INSTANCE,
SetSqlParseStrategy.INSTANCE,
CreateTemporalTableFunctionParseStrategy.INSTANCE);
@Override
public Optional<Operation> parse(String statement) {
for (ExtendedParseStrategy strategy : PARSE_STRATEGIES) {
if (strategy.match(statement)) {
return Optional.of(strategy.convert(statement));
}
}
return Optional.empty();
}
}
...@@ -26,7 +26,6 @@ import org.dinky.data.model.LineageRel; ...@@ -26,7 +26,6 @@ import org.dinky.data.model.LineageRel;
import org.dinky.data.result.SqlExplainResult; import org.dinky.data.result.SqlExplainResult;
import org.dinky.interceptor.FlinkInterceptor; import org.dinky.interceptor.FlinkInterceptor;
import org.dinky.interceptor.FlinkInterceptorResult; import org.dinky.interceptor.FlinkInterceptorResult;
import org.dinky.parser.CustomParserImpl;
import org.dinky.utils.KerberosUtil; import org.dinky.utils.KerberosUtil;
import org.apache.flink.api.common.ExecutionConfig; import org.apache.flink.api.common.ExecutionConfig;
...@@ -140,12 +139,6 @@ public abstract class Executor { ...@@ -140,12 +139,6 @@ public abstract class Executor {
tableEnvironment = createCustomTableEnvironment(classLoader); tableEnvironment = createCustomTableEnvironment(classLoader);
CustomTableEnvironmentContext.set(tableEnvironment); CustomTableEnvironmentContext.set(tableEnvironment);
// after 1.18 version, this two injection should be removed
tableEnvironment.injectParser(
new CustomParserImpl(tableEnvironment.getPlanner().getParser()));
tableEnvironment.injectExtendedExecutor(
new CustomExtendedOperationExecutorImpl(this.getCustomTableEnvironment()));
Configuration configuration = tableEnvironment.getConfig().getConfiguration(); Configuration configuration = tableEnvironment.getConfig().getConfiguration();
if (executorConfig.isValidJobName()) { if (executorConfig.isValidJobName()) {
configuration.setString(PipelineOptions.NAME.key(), executorConfig.getJobName()); configuration.setString(PipelineOptions.NAME.key(), executorConfig.getJobName());
......
...@@ -50,7 +50,7 @@ public class FlinkInterceptor { ...@@ -50,7 +50,7 @@ public class FlinkInterceptor {
TableResult tableResult = null; TableResult tableResult = null;
Operation operation = Operations.buildOperation(statement); Operation operation = Operations.buildOperation(statement);
if (Asserts.isNotNull(operation)) { if (Asserts.isNotNull(operation)) {
tableResult = operation.build(executor); tableResult = operation.execute(executor);
noExecute = operation.noExecute(); noExecute = operation.noExecute();
} }
return FlinkInterceptorResult.build(noExecute, tableResult); return FlinkInterceptorResult.build(noExecute, tableResult);
......
...@@ -34,7 +34,7 @@ public interface Operation extends org.apache.flink.table.operations.Operation { ...@@ -34,7 +34,7 @@ public interface Operation extends org.apache.flink.table.operations.Operation {
Operation create(String statement); Operation create(String statement);
TableResult build(Executor executor); TableResult execute(Executor executor);
boolean noExecute(); boolean noExecute();
......
...@@ -72,7 +72,7 @@ public class CreateCDCSourceOperation extends AbstractOperation implements Opera ...@@ -72,7 +72,7 @@ public class CreateCDCSourceOperation extends AbstractOperation implements Opera
} }
@Override @Override
public TableResult build(Executor executor) { public TableResult execute(Executor executor) {
logger.info("Start build CDCSOURCE Task..."); logger.info("Start build CDCSOURCE Task...");
CDCSource cdcSource = CDCSource.build(statement); CDCSource cdcSource = CDCSource.build(statement);
FlinkCDCConfig config = new FlinkCDCConfig( FlinkCDCConfig config = new FlinkCDCConfig(
......
...@@ -57,7 +57,7 @@ public class ShowFragmentOperation extends AbstractOperation implements Operatio ...@@ -57,7 +57,7 @@ public class ShowFragmentOperation extends AbstractOperation implements Operatio
} }
@Override @Override
public TableResult build(Executor executor) { public TableResult execute(Executor executor) {
Map<String, List<String>> map = SingleSqlParserFactory.generateParser(statement); Map<String, List<String>> map = SingleSqlParserFactory.generateParser(statement);
if (Asserts.isNotNullMap(map)) { if (Asserts.isNotNullMap(map)) {
if (map.containsKey("FRAGMENT")) { if (map.containsKey("FRAGMENT")) {
......
...@@ -51,7 +51,7 @@ public class ShowFragmentsOperation extends AbstractOperation implements Operati ...@@ -51,7 +51,7 @@ public class ShowFragmentsOperation extends AbstractOperation implements Operati
} }
@Override @Override
public TableResult build(Executor executor) { public TableResult execute(Executor executor) {
return executor.getVariableManager().getVariables(); return executor.getVariableManager().getVariables();
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment