Skip to content

Commit

Permalink
Implementation of issue #4571
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Casters committed Nov 27, 2024
1 parent eace533 commit aa41c85
Show file tree
Hide file tree
Showing 8 changed files with 1,455 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/hop-user-manual/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ under the License.
** xref:database/databases/kingbasees.adoc[Kingbase ES]
** xref:database/databases/mariadb.adoc[Mariadb]
** xref:database/databases/sapdb.adoc[MaxDB (SAP DB)]
** xref:database/databases/singlestore.adoc[SingleStore (MemSQL)]
** xref:database/databases/access.adoc[Microsoft Access]
** xref:database/databases/monetdb.adoc[MonetDB]
** xref:database/databases/mssql.adoc[MS SqlServer]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
////
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.
////
[[database-plugins-sapdb]]
:documentationPath: /database/databases/
:language: en_US

= SingleStore (MemSQL)

You can find out more about the SingleStore database at the https://www.singlestore.com/[SingleStore home page].
SingleStore is syntactically a MySQL variant, and you can use actions like the MySQL bulk loader with SingleStore.

More information about the SingleStore JDBC driver can be found here: https://docs.singlestore.com/cloud/developer-resources/connect-with-application-development-tools/connect-with-java-jdbc/the-singlestore-jdbc-driver/[The SingleStore JDBC Driver].

*Important*: You need to download and install the SingleStore JDBC driver yourself.
We suggest you place the driver JAR file either in the `lib/jdbc` folder or in the folder pointed to by the xref:snippets/variables/hop-shared-jdbc-folder.adoc[`HOP_SHARED_JDBC_FOLDERS`] variable.


[cols="2*",options="header"]
|===
| Option | Info
|Type | Relational
|Driver | Download from the SingleStore website
|Version Included | None
|Hop Dependencies | None
|Documentation | https://docs.singlestore.com/cloud/developer-resources/connect-with-application-development-tools/connect-with-java-jdbc/the-singlestore-jdbc-driver/[Documentation Link]
|JDBC Url | jdbc:singlestore://<database_computer>[:<port>]/<database_name>
|Driver folder | <Hop Installation>/lib/jdbc
|===
1 change: 1 addition & 0 deletions plugins/databases/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
<module>postgresql</module>
<module>redshift</module>
<module>sapdb</module>
<module>singlestore</module>
<module>snowflake</module>
<module>sqlbase</module>
<module>sqlite</module>
Expand Down
31 changes: 31 additions & 0 deletions plugins/databases/singlestore/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ 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.
~
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.hop</groupId>
<artifactId>hop-plugins-databases</artifactId>
<version>2.11.0-SNAPSHOT</version>
</parent>

<artifactId>hop-databases-singlestore</artifactId>
<packaging>jar</packaging>
<name>Hop Plugins Databases SingleStore</name>

</project>
43 changes: 43 additions & 0 deletions plugins/databases/singlestore/src/assembly/assembly.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!--
~ 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.
~
-->

<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.2.0 http://maven.apache.org/xsd/assembly-2.2.0.xsd">
<id>hop-databases-singlestore</id>
<formats>
<format>zip</format>
</formats>
<baseDirectory>.</baseDirectory>
<files>
<file>
<source>${project.basedir}/src/main/resources/version.xml</source>
<outputDirectory>plugins/databases/singlestore</outputDirectory>
<filtered>true</filtered>
</file>
</files>

<dependencySets>
<dependencySet>
<includes>
<include>org.apache.hop:hop-databases-singlestore:jar</include>
</includes>
<outputDirectory>plugins/databases/singlestore</outputDirectory>
</dependencySet>
</dependencySets>
</assembly>
Loading

0 comments on commit aa41c85

Please sign in to comment.