-
Notifications
You must be signed in to change notification settings - Fork 752
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Replace
KVApi::get()
and KVApi::mget_kv()
with `get_kv_…
…stream()` - **Compatibility Update**: Starting with this version of databend-query, the minimum required version of the meta-service has been updated from 1.1.32 to 1.2.226 as of 2023-11-26. Note that the min compatible is 1.2.163 but `[1.2.163, 1.2.226)` are removed from release download, due to some known bugs found in these versions. - The `KVApi::get()` and `KVApi::mget_kv()` functions, which previously performed similar operations, have been merged into `get_kv_stream()`, which returns a stream of key-value pairs. In trait `KVApi`, `get_kv()` and `mget_kv()` are replaced with default implementation for backward compatibility. Additionally, we have introduced a new error type, `IncompleteStream`, to handle cases where the stream does not complete as expected.
- Loading branch information
1 parent
989fb49
commit bfa7591
Showing
17 changed files
with
188 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.