Skip to content

Conversation

youngsofun
Copy link
Member

@youngsofun youngsofun commented Aug 22, 2025

new features:

  1. FileTransferAPI add new interface
public interface FileTransferAPI {
   /**
     * Upload inputStream into the target table
     *
     * @param sql the sql with syntax `Insert into <table> [(<columns></columns>) [values (?, ...)]] from @_databend_load [file_format=(...)]`
     * @param inputStream the input stream of the file
     * @param loadMethod one of "stage" or "streaming"
     * @return num of rows loaded
     * @throws SQLException fail to load file into table
     */
    int loadStreamToTable(String sql, InputStream inputStream, long fileSize, String loadMethod) throws SQLException;
}
  1. support login and capabilities

ci

  1. fix test about settings.
  2. update server version
  3. fix some warnings

refactors:

  1. unify retry logic of login/logout/heartbeat/streaming_load, not supporting multihost for now
  2. move some class from client package to jdbc
  3. polish pom.xml

@youngsofun youngsofun force-pushed the fix branch 3 times, most recently from 8ec0d70 to 8ea4e28 Compare August 25, 2025 01:42
@youngsofun youngsofun requested a review from hantmac August 25, 2025 01:57
@youngsofun
Copy link
Member Author

cc @sundy-li

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant