diff --git a/src/main/java/com/exasol/adapter/dialects/exasol/ExasolFromExaQueryRewriter.java b/src/main/java/com/exasol/adapter/dialects/exasol/ExasolFromExaQueryRewriter.java index 932c856..b7801fa 100644 --- a/src/main/java/com/exasol/adapter/dialects/exasol/ExasolFromExaQueryRewriter.java +++ b/src/main/java/com/exasol/adapter/dialects/exasol/ExasolFromExaQueryRewriter.java @@ -5,7 +5,8 @@ import java.util.logging.Logger; import com.exasol.adapter.dialects.SqlDialect; -import com.exasol.adapter.dialects.rewriting.*; +import com.exasol.adapter.dialects.rewriting.AbstractQueryRewriter; +import com.exasol.adapter.dialects.rewriting.SqlGenerationHelper; import com.exasol.adapter.jdbc.*; import com.exasol.adapter.metadata.DataType; @@ -18,13 +19,6 @@ class ExasolFromExaQueryRewriter extends AbstractQueryRewriter { private static final Logger LOGGER = Logger.getLogger(ExasolFromExaQueryRewriter.class.getName()); private final ConnectionFactory connectionFactory; - /** - * Construct a new instance of {@link ImportIntoTemporaryTableQueryRewriter}. - * - * @param dialect dialect - * @param remoteMetadataReader remote metadata reader - * @param connectionFactory factory for the JDBC connection to remote data source - */ ExasolFromExaQueryRewriter(final SqlDialect dialect, final RemoteMetadataReader remoteMetadataReader, final ConnectionFactory connectionFactory) { super(dialect, remoteMetadataReader, new ExasolConnectionDefinitionBuilder()); diff --git a/src/test/java/com/exasol/adapter/dialects/exasol/ExasolJdbcQueryRewriterTest.java b/src/test/java/com/exasol/adapter/dialects/exasol/ExasolJdbcQueryRewriterTest.java index 2c14465..932a5b9 100644 --- a/src/test/java/com/exasol/adapter/dialects/exasol/ExasolJdbcQueryRewriterTest.java +++ b/src/test/java/com/exasol/adapter/dialects/exasol/ExasolJdbcQueryRewriterTest.java @@ -27,8 +27,8 @@ @ExtendWith(MockitoExtension.class) class ExasolJdbcQueryRewriterTest { - private static final String CONNECTION_NAME = "JDBC_conn"; + @Mock private RemoteMetadataReader metadataReaderMock; @Mock