-
Notifications
You must be signed in to change notification settings - Fork 818
[#8955] feat(lance-rest): Support register and deregister table in Lance REST server. #8964
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
Merged
yuqi1129
merged 47 commits into
apache:branch-lance-namepspace-dev
from
yuqi1129:issue_8955
Oct 31, 2025
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
3fce8cd
Polish code for #8879
yuqi1129 2c1d016
Improvement: Add UTs for lance table operations.
yuqi1129 9608225
Fix error
yuqi1129 e9e8e9e
Merge branch 'issue_8921' of github.com:yuqi1129/gravitino into issue…
yuqi1129 3d3bb96
Fix
yuqi1129 2ffde46
Fix
yuqi1129 7d8c8fd
Fix
yuqi1129 8210049
Fix
yuqi1129 fc625c0
Merge branch 'issue_8921' of github.com:yuqi1129/gravitino into issue…
yuqi1129 0c56b55
Merge branch 'issue_8921' of github.com:yuqi1129/gravitino into issue…
yuqi1129 cc3cc30
Polish
yuqi1129 0ed94ba
Merge branch 'branch-lance-namepspace-dev' of github.com:apache/gravi…
yuqi1129 2320002
Add more tests
yuqi1129 393bcbd
Fix
yuqi1129 3f8a6e0
Fix
yuqi1129 76e99d5
Fix test error.
yuqi1129 9eb0bb4
Merge branch 'branch-lance-namepspace-dev' of github.com:apache/gravi…
yuqi1129 0c47a4e
Merge branch 'issue_8921' into issue_8915
yuqi1129 a45ef21
Fix comments
yuqi1129 dba50e9
More test was added.
yuqi1129 df30437
fix
yuqi1129 054f582
fix
yuqi1129 0a2c7a9
Merge branch 'branch-lance-namepspace-dev' of github.com:datastrato/g…
yuqi1129 01045e0
fix
yuqi1129 b318cd9
fix
yuqi1129 1b55b81
fix
yuqi1129 516448c
fix
yuqi1129 d64102d
fix
yuqi1129 3aaa6ad
revert changes.
yuqi1129 47a2628
Merge branch 'branch-lance-namepspace-dev' of github.com:datastrato/g…
yuqi1129 d5a9387
Support register and deregister API for Lance REST server
yuqi1129 c59bbcf
polish
yuqi1129 f45655f
Merge branch 'branch-lance-namepspace-dev' of github.com:apache/gravi…
yuqi1129 7e206d6
fix
yuqi1129 123860b
fix
yuqi1129 e06b9ac
fix
yuqi1129 0185a06
Merge branch 'issue_8915' into issue_8955
yuqi1129 a8f5626
Merge branch 'branch-lance-namepspace-dev' of github.com:datastrato/g…
yuqi1129 da5318e
Merge branch 'issue_8915' into issue_8955
yuqi1129 2cf28c1
Polish code.
yuqi1129 5c2088f
Merge branch 'branch-lance-namepspace-dev' of github.com:datastrato/g…
yuqi1129 fd98fb3
Fix comments
yuqi1129 178c9f4
fix
yuqi1129 6397680
Remove header `x-lance-root-catalog`, and we can replace it with `par…
yuqi1129 096f650
fix comments
yuqi1129 ab731ce
remove unnecessary code.
yuqi1129 31b361a
Fix
yuqi1129 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
29 changes: 29 additions & 0 deletions
29
.../lance-rest-server/src/main/java/org/apache/gravitino/lance/service/ServiceConstants.java
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| /* | ||
| * Licensed to the Apache Software Foundation (ASF) under one | ||
| * or more contributor license agreements. See the NOTICE file | ||
| * distributed with this work for additional information | ||
| * regarding copyright ownership. The ASF licenses this file | ||
| * to you under the Apache License, Version 2.0 (the | ||
| * "License"); you may not use this file except in compliance | ||
| * with the License. You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, | ||
| * software distributed under the License is distributed on an | ||
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| * KIND, either express or implied. See the License for the | ||
| * specific language governing permissions and limitations | ||
| * under the License. | ||
| */ | ||
|
|
||
| package org.apache.gravitino.lance.service; | ||
|
|
||
| public class ServiceConstants { | ||
| public static final String LANCE_HTTP_HEADER_PREFIX = "x-lance-"; | ||
|
|
||
| public static final String LANCE_TABLE_LOCATION_HEADER = | ||
| LANCE_HTTP_HEADER_PREFIX + "table-location"; | ||
| public static final String LANCE_TABLE_PROPERTIES_PREFIX_HEADER = | ||
| LANCE_HTTP_HEADER_PREFIX + "table-properties"; | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shoule we use exclude * ?