THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Discussion thread | |
---|---|
Vote thread | |
ISSUE | |
Release | TBD |
Motivation
Load Action is a synchronous import method where users send requests via HTTP protocol to import local files or data streams into Paimon. Load Action executes the import synchronously and returns the results of the import. Users can directly determine the success of the import from the response body of the request.
...
Code Block |
---|
curl --location-trusted -u user:passwd [-H ""...] -T data.file -XPUT http://load_host:http_port/api/{db}/{table}/load |
Proposed Changes
Code Block |
---|
public interface WriteStrategy<T> extends Serializable {
void init(Configuration conf) throws WriteStrategyException;
void write(Table table, T record) throws WriteStrategyException;
Schema defineTableSchema() throws WriteStrategyException;
Catalog fetchTableCatalog(String path) throws WriteStrategyException;
void updateTableCatalog(Schema schema, Identifier identifier) throws WriteStrategyException;
List<String> listFileNames(String path) throws WriteStrategyException;
} |
Compatibility, Deprecation, and Migration Plan
...