Skip to content

Commit ffbeae6

Browse files
committed
add example.
1 parent 21f4c3f commit ffbeae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

databend-jdbc/src/main/java/com/databend/jdbc/examples/LoadToTableFromStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static void uploadAndCopy() throws SQLException {
4545
sql = String.format("copy into table1 from %s file_format =(type=csv) purge=true", path);
4646
try(ResultSet rs = stmt.executeQuery(sql)) {
4747
while (rs.next()) {
48-
System.out.println( rs.getString("ROWS_LOADED") + ", " +
48+
System.out.println( rs.getString("FILE") + ", " +
4949
rs.getInt("ROWS_LOADED") + ", " +
5050
rs.getInt("ERRORS_SEEN"));
5151
}

0 commit comments

Comments
 (0)