ashishm07 commented on code in PR #7122:
URL: https://github.com/apache/ignite-3/pull/7122#discussion_r2599230756
##########
examples/java/src/main/java/org/apache/ignite/example/table/MapperExample.java:
##########
@@ -37,6 +41,29 @@ public Integer toColumnType(String cityId) {
}
public static void main(String[] args) throws Exception {
+
+ try (
+ Connection conn =
getConnection("jdbc:ignite:thin://127.0.0.1:10800/");
+ Statement stmt = conn.createStatement()
+ ) {
+
+ stmt.executeUpdate("DROP TABLE IF EXISTS Person");
+
+ stmt.executeUpdate(
+ "CREATE TABLE IF NOT EXISTS Person ("
Review Comment:
Suggestion received. Reverted unintended file addition - The file is being
handled in a separate PR : https://github.com/apache/ignite-3/pull/7103
##########
examples/java/src/main/java/org/apache/ignite/example/table/MapperExample.java:
##########
@@ -37,6 +41,29 @@ public Integer toColumnType(String cityId) {
}
public static void main(String[] args) throws Exception {
+
+ try (
+ Connection conn =
getConnection("jdbc:ignite:thin://127.0.0.1:10800/");
+ Statement stmt = conn.createStatement()
+ ) {
+
+ stmt.executeUpdate("DROP TABLE IF EXISTS Person");
Review Comment:
Suggestion received. Reverted unintended file addition - The file is being
handled in a separate PR : https://github.com/apache/ignite-3/pull/7103
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]