Skip to content

Commit 61ad8a9

Browse files
committed
update README.md.
1 parent 82a0317 commit 61ad8a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ try(Connection conn = DriverManager.getConnection("jdbc:databend://localhost:800
148148
DatabendConnection databendConnection = conn.unwrap(DatabendConnection.class);
149149

150150
// use special stage `_databend_load`
151-
String sql="insert into my_table from @_databend_load file_format=(type=csv)";
151+
String sql = "insert into my_table from @_databend_load file_format=(type=csv)";
152152

153-
databendConnection.loadStreamToTable(sql,file_stream,Files.size(Paths.get("data.csv")),DatabendConnection.LoadMethod.STAGE);
153+
databendConnection.loadStreamToTable(sql, fileStream, Files.size(Paths.get("data.csv")), DatabendConnection.LoadMethod.STAGE);
154154
}
155155
}
156156

0 commit comments

Comments
 (0)