Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import java.io.IOException;
import java.util.Properties;

public class FlinkBatchSqlInterpreter extends FlinkSqlInterrpeter {
public class FlinkBatchSqlInterpreter extends FlinkSqlInterpreter {

private ZeppelinContext z;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import org.apache.commons.lang3.exception.ExceptionUtils;
import org.apache.flink.api.common.JobExecutionResult;
import org.apache.flink.configuration.ConfigOption;
import org.apache.flink.configuration.Configuration;
import org.apache.flink.core.execution.JobClient;
import org.apache.flink.core.execution.JobListener;
import org.apache.flink.table.api.TableEnvironment;
Expand All @@ -51,9 +50,9 @@
import java.util.concurrent.locks.ReentrantReadWriteLock;
import java.util.stream.Collectors;

public abstract class FlinkSqlInterrpeter extends AbstractInterpreter {
public abstract class FlinkSqlInterpreter extends AbstractInterpreter {

protected static final Logger LOGGER = LoggerFactory.getLogger(FlinkSqlInterrpeter.class);
protected static final Logger LOGGER = LoggerFactory.getLogger(FlinkSqlInterpreter.class);

protected FlinkInterpreter flinkInterpreter;
protected TableEnvironment tbenv;
Expand All @@ -65,7 +64,7 @@ public abstract class FlinkSqlInterrpeter extends AbstractInterpreter {
// https://ci.apache.org/projects/flink/flink-docs-release-1.10/dev/table/config.html
private Map<String, ConfigOption> tableConfigOptions;

public FlinkSqlInterrpeter(Properties properties) {
public FlinkSqlInterpreter(Properties properties) {
super(properties);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import java.io.IOException;
import java.util.Properties;

public class FlinkStreamSqlInterpreter extends FlinkSqlInterrpeter {
public class FlinkStreamSqlInterpreter extends FlinkSqlInterpreter {

public FlinkStreamSqlInterpreter(Properties properties) {
super(properties);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
public class FlinkBatchSqlInterpreterTest extends SqlInterpreterTest {

@Override
protected FlinkSqlInterrpeter createFlinkSqlInterpreter(Properties properties) {
protected FlinkSqlInterpreter createFlinkSqlInterpreter(Properties properties) {
return new FlinkBatchSqlInterpreter(properties);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import org.junit.Test;

import java.io.File;
import java.io.FilenameFilter;
import java.io.IOException;
import java.nio.file.Files;
import java.util.List;
Expand All @@ -40,7 +39,7 @@
public class FlinkStreamSqlInterpreterTest extends SqlInterpreterTest {

@Override
protected FlinkSqlInterrpeter createFlinkSqlInterpreter(Properties properties) {
protected FlinkSqlInterpreter createFlinkSqlInterpreter(Properties properties) {
return new FlinkStreamSqlInterpreter(properties);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public abstract class SqlInterpreterTest {
protected FlinkInterpreter flinkInterpreter;
protected IPyFlinkInterpreter iPyFlinkInterpreter;
protected PyFlinkInterpreter pyFlinkInterpreter;
protected FlinkSqlInterrpeter sqlInterpreter;
protected FlinkSqlInterpreter sqlInterpreter;

private AngularObjectRegistry angularObjectRegistry;

Expand Down Expand Up @@ -150,7 +150,7 @@ public void tearDown() throws InterpreterException {
}
}

protected abstract FlinkSqlInterrpeter createFlinkSqlInterpreter(Properties properties);
protected abstract FlinkSqlInterpreter createFlinkSqlInterpreter(Properties properties);

@Test
public void testDatabases() throws InterpreterException, IOException {
Expand Down