Skip to content

Commit

Permalink
Implementation of issue #4571 (include plugin)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Casters committed Nov 27, 2024
1 parent aa41c85 commit 8fa4c35
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions assemblies/plugins/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,12 @@
<version>${project.version}</version>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.apache.hop</groupId>
<artifactId>hop-databases-singlestore</artifactId>
<version>${project.version}</version>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.apache.hop</groupId>
<artifactId>hop-databases-snowflake</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.Map;

import org.apache.hop.core.Const;
import org.apache.hop.core.database.Database;
import org.apache.hop.core.database.DatabaseMeta;
Expand Down Expand Up @@ -315,8 +314,9 @@ public void testSettings() {

assertEquals("`", nativeMeta.getStartQuote());
assertEquals("`", nativeMeta.getEndQuote());
assertEquals("https://docs.singlestore.com/cloud/developer-resources/"
+ "connect-with-application-development-tools/connect-with-java-jdbc/the-singlestore-jdbc-driver/",
assertEquals(
"https://docs.singlestore.com/cloud/developer-resources/"
+ "connect-with-application-development-tools/connect-with-java-jdbc/the-singlestore-jdbc-driver/",
nativeMeta.getExtraOptionsHelpText());
assertTrue(nativeMeta.isSystemTable("sysTest"));
assertTrue(nativeMeta.isSystemTable("dtproperties"));
Expand Down Expand Up @@ -490,7 +490,7 @@ public void testSqlStatements() {
"FOO", new ValueMetaBinary("BAR", 16777250, 0), "", false, "", false));

assertEquals(
"LOCK TABLES FOO WRITE, BAR WRITE;"+ Const.CR,
"LOCK TABLES FOO WRITE, BAR WRITE;" + Const.CR,
nativeMeta.getSqlLockTables(new String[] {"FOO", "BAR"}));

assertEquals("UNLOCK TABLES", nativeMeta.getSqlUnlockTables(new String[] {}));
Expand Down

0 comments on commit 8fa4c35

Please sign in to comment.