weizuo93 opened a new pull request, #14518: URL: https://github.com/apache/doris/pull/14518
# Proposed changes Issue Number: close #14517 ## Problem summary This action is used to obtain the table structure information of the specified table. ``` curl -X GET -u xxx:xxx http://fe_host:http_port/api/{db}/{table}/_schema ``` But for Non-OLAP table, this action can not work such as `view`. For example: ``` {"msg":"Error","code":1,"data":"errCode = 7, detailMessage = table type is not OLAP, tableName=xxx, type=VIEW","count":0} ``` This patch is to support request the table schema of Non-OLAP table through this action. ## Checklist(Required) 1. Does it affect the original behavior: - [ ] Yes - [x] No - [ ] I don't know 2. Has unit tests been added: - [ ] Yes - [ ] No - [x] No Need 3. Has document been added or modified: - [ ] Yes - [ ] No - [x] No Need 4. Does it need to update dependencies: - [ ] Yes - [x] No 5. Are there any changes that cannot be rolled back: - [ ] Yes (If Yes, please explain WHY) - [x] No -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
