You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "JingsongLi (via GitHub)" <gi...@apache.org> on 2024/12/24 12:20:32 UTC
[PR] [rest] Fix GetTableResponse should return fields [paimon]
JingsongLi opened a new pull request, #4769:
URL: https://github.com/apache/paimon/pull/4769
<!-- Please specify the module before the PR name: [core] ... or [flink] ... -->
### Purpose
<!-- Linking this pull request to the issue -->
New class:
```
public class GetTableResponse implements RESTResponse {
private static final String FIELD_PATH = "path";
private static final String FIELD_SCHEMA_ID = "schema-id";
private static final String FIELD_SCHEMA = "schema";
@JsonProperty(FIELD_PATH)
private final String path;
@JsonProperty(FIELD_SCHEMA_ID)
private final long schemaId;
@JsonProperty(FIELD_SCHEMA)
private final Schema schema;
}
```
We should use Schema instead of TableSchema to keep one serialization implementation.
<!-- What is the purpose of the change -->
### Tests
<!-- List UT and IT cases to verify this change -->
### API and Format
<!-- Does this change affect API or storage format -->
### Documentation
<!-- Does this change introduce a new feature -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [rest] Fix GetTableResponse should return fields [paimon]
Posted by "jerry-024 (via GitHub)" <gi...@apache.org>.
jerry-024 commented on PR #4769:
URL: https://github.com/apache/paimon/pull/4769#issuecomment-2561547509
+1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [rest] Fix GetTableResponse should return fields [paimon]
Posted by "wwj6591812 (via GitHub)" <gi...@apache.org>.
wwj6591812 commented on PR #4769:
URL: https://github.com/apache/paimon/pull/4769#issuecomment-2561527108
+1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [rest] Fix GetTableResponse should return fields [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #4769:
URL: https://github.com/apache/paimon/pull/4769
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org