Skip to content

Commit

Permalink
remove hikari testImplementation for JDBCIO
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Kinard <[email protected]>
  • Loading branch information
Polber committed Dec 26, 2024
1 parent bb28a32 commit 1bfa344
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,28 +114,28 @@ public String description() {
protected String inheritedDescription(
String prettyName, String transformName, String databaseSchema, int defaultJdbcPort) {
return String.format(
"Read from a %s source using a SQL query or by directly accessing a single table.\n"
+ "\n"
"Read from a %s source using a SQL query or by directly accessing a single table.%n"
+ "%n"
+ "This is a special case of ReadFromJdbc that includes the "
+ "necessary %s Driver and classes.\n"
+ "\n"
+ "An example of using %s with SQL query: ::\n"
+ "\n"
+ " - type: %s\n"
+ " config:\n"
+ " url: \"jdbc:%s://my-host:%d/database\"\n"
+ " query: \"SELECT * FROM table\"\n"
+ "\n"
+ "necessary %s Driver and classes.%n"
+ "%n"
+ "An example of using %s with SQL query: ::%n"
+ "%n"
+ " - type: %s%n"
+ " config:%n"
+ " url: \"jdbc:%s://my-host:%d/database\"%n"
+ " query: \"SELECT * FROM table\"%n"
+ "%n"
+ "It is also possible to read a table by specifying a table name. For example, the "
+ "following configuration will perform a read on an entire table: ::\n"
+ "\n"
+ " - type: %s\n"
+ " config:\n"
+ " url: \"jdbc:%s://my-host:%d/database\"\n"
+ " table: \"my-table\"\n"
+ "\n"
+ "#### Advanced Usage\n"
+ "\n"
+ "following configuration will perform a read on an entire table: ::%n"
+ "%n"
+ " - type: %s%n"
+ " config:%n"
+ " url: \"jdbc:%s://my-host:%d/database\"%n"
+ " table: \"my-table\"%n"
+ "%n"
+ "#### Advanced Usage%n"
+ "%n"
+ "It might be necessary to use a custom JDBC driver that is not packaged with this "
+ "transform. If that is the case, see ReadFromJdbc which "
+ "allows for more custom configuration.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,28 +119,28 @@ public String description() {
protected String inheritedDescription(
String prettyName, String transformName, String prefix, int port) {
return String.format(
"Write to a %s sink using a SQL query or by directly accessing a single table.\n"
+ "\n"
"Write to a %s sink using a SQL query or by directly accessing a single table.%n"
+ "%n"
+ "This is a special case of WriteToJdbc that includes the "
+ "necessary %s Driver and classes.\n"
+ "\n"
+ "An example of using %s with SQL query: ::\n"
+ "\n"
+ " - type: %s\n"
+ " config:\n"
+ " url: \"jdbc:%s://my-host:%d/database\"\n"
+ " query: \"INSERT INTO table VALUES(?, ?)\"\n"
+ "\n"
+ "necessary %s Driver and classes.%n"
+ "%n"
+ "An example of using %s with SQL query: ::%n"
+ "%n"
+ " - type: %s%n"
+ " config:%n"
+ " url: \"jdbc:%s://my-host:%d/database\"%n"
+ " query: \"INSERT INTO table VALUES(?, ?)\"%n"
+ "%n"
+ "It is also possible to read a table by specifying a table name. For example, the "
+ "following configuration will perform a read on an entire table: ::\n"
+ "\n"
+ " - type: %s\n"
+ " config:\n"
+ " url: \"jdbc:%s://my-host:%d/database\"\n"
+ " table: \"my-table\"\n"
+ "\n"
+ "#### Advanced Usage\n"
+ "\n"
+ "following configuration will perform a read on an entire table: ::%n"
+ "%n"
+ " - type: %s%n"
+ " config:%n"
+ " url: \"jdbc:%s://my-host:%d/database\"%n"
+ " table: \"my-table\"%n"
+ "%n"
+ "#### Advanced Usage%n"
+ "%n"
+ "It might be necessary to use a custom JDBC driver that is not packaged with this "
+ "transform. If that is the case, see WriteToJdbc which "
+ "allows for more custom configuration.",
Expand Down

0 comments on commit 1bfa344

Please sign in to comment.