-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[kv] Partition table support PrefixLookup #317
[kv] Partition table support PrefixLookup #317
Conversation
7e9df81
to
b286d5a
Compare
@loserwang1024 @luoyuxia @loserwang1024 pr ready: Partition table support PrefixLookup. |
fluss-common/src/main/java/com/alibaba/fluss/metadata/TableDescriptor.java
Outdated
Show resolved
Hide resolved
fluss-client/src/test/java/com/alibaba/fluss/client/admin/ClientToServerITCaseBase.java
Show resolved
Hide resolved
fluss-client/src/main/java/com/alibaba/fluss/client/table/FlussTable.java
Outdated
Show resolved
Hide resolved
Besides, add connector IT case in |
b286d5a
to
be9ec89
Compare
Added. |
@wuchong comments addressed. PTAL |
64202e7
to
86e1285
Compare
@wuchong comments addressed. I also refactor the lookup interface for making the logic of creating encoder for primary key, bucket key, and partition key more clearer. |
fluss-client/src/main/java/com/alibaba/fluss/client/utils/ClientUtils.java
Outdated
Show resolved
Hide resolved
.../src/main/java/com/alibaba/fluss/connector/flink/source/lookup/FlinkAsyncLookupFunction.java
Outdated
Show resolved
Hide resolved
fluss-client/src/main/java/com/alibaba/fluss/client/lookup/FlussLookuper.java
Outdated
Show resolved
Hide resolved
fluss-client/src/main/java/com/alibaba/fluss/client/table/FlussTable.java
Outdated
Show resolved
Hide resolved
@swuferhong , I appended a commit to fix the comments and improved the code. Please take a look. |
…libaba#317) This also makes Lookuper and PrefixLookuper to initialize and validate for themselves. This makes logic much clean, and avoid mis-reuse for some variables (e.g., lakeTableBucketAssigner). This also introduced a UnifiedLookuper in Flink connector to unify the different API of Lookuper and PrefixLookup. This makes the logic of AsyncLookupFunction and LookupFunction simpler.
86e1285
to
f3a2f91
Compare
…libaba#317) This also makes Lookuper and PrefixLookuper to initialize and validate for themselves. This makes logic much clean, and avoid mis-reuse for some variables (e.g., lakeTableBucketAssigner). This also introduced a UnifiedLookuper in Flink connector to unify the different API of Lookuper and PrefixLookup. This makes the logic of AsyncLookupFunction and LookupFunction simpler.
f3a2f91
to
6298eb6
Compare
LGTM +1, I think it can be merged. @wuchong |
Purpose
Linked issue: #266
This pr is aims to make partition table support
PrefixLookup
.Tests
API and Format
Documentation