We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21f4c3f commit ffbeae6Copy full SHA for ffbeae6
databend-jdbc/src/main/java/com/databend/jdbc/examples/LoadToTableFromStream.java
@@ -45,7 +45,7 @@ static void uploadAndCopy() throws SQLException {
45
sql = String.format("copy into table1 from %s file_format =(type=csv) purge=true", path);
46
try(ResultSet rs = stmt.executeQuery(sql)) {
47
while (rs.next()) {
48
- System.out.println( rs.getString("ROWS_LOADED") + ", " +
+ System.out.println( rs.getString("FILE") + ", " +
49
rs.getInt("ROWS_LOADED") + ", " +
50
rs.getInt("ERRORS_SEEN"));
51
}
0 commit comments