GoGoWen opened a new pull request, #17299:
URL: https://github.com/apache/doris/pull/17299
# Proposed changes
Issue Number: close #xxx
## Problem summary
Describe your changes.
support show create repository stmt.
SQL example: show create repository for repo_name
Result:
MySQL [(none)]> show create repository for doris_backup_backup_cluster_bt1;
+---------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| RepoName | CreateStmt
|
+---------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| doris_backup_backup_cluster_bt1 | create read only repository
doris_backup_backup_cluster_bt1 with broker broker_name on location
"hdfs://ns1017/user/jd_ad/ads_report/narwal_backup/backup_cluster" properties
("password" = "XXXX","dfs.client.failover.proxy.provider" =
"org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider","dfs.ha.namenodes.ns1017"
= "nn1,nn2","dfs.namenode.rpc-address.ns1017.nn2" =
"XXXXXX:8020","dfs.nameservices" =
"ns1017","dfs.namenode.rpc-address.ns1017.nn1" = "XXXXX:8020","username" =
"XXXX") |
+---------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
## Checklist(Required)
* [N ] Does it affect the original behavior
* [ N] Has unit tests been added
* [N ] Has document been added or modified
* [N ] Does it need to update dependencies
* [Y] Is this PR support rollback (If NO, please explain WHY)
## Further comments
If this is a relatively large or complex change, kick off the discussion at
[[email protected]](mailto:[email protected]) by explaining why you
chose the solution you did and what alternatives you considered, etc...
--
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]