Netter99 commented on issue #25104:
URL: 
https://github.com/apache/shardingsphere/issues/25104#issuecomment-1512539784

   Hi, @strongduanmu , I check again about this question.
   This is the official description about the parameter in GaussDB. 
   
![image](https://user-images.githubusercontent.com/47752565/232693017-5dd8baa6-007b-4682-9d10-f643a28aeed7.png)
   
[https://support.huaweicloud.com/intl/zh-cn/distributed-devg-v2-opengauss/devg_02_0507.html](url)
   
   Here are some test cases for createForeignTable statement from 
`openGauss-server-master` - source code. 
   
![image](https://user-images.githubusercontent.com/47752565/232694339-bde7b76d-fe0c-404d-baf4-fbcb50889c81.png)
   
   If we input `create foreign table`sql without the parameter, the parse tree 
is generated like this.
   
![image](https://user-images.githubusercontent.com/47752565/232695092-a941eca2-da84-40ad-a923-483b7104a80a.png)
   So I don't think `SERVER server_name` is an optional parameter.
   


-- 
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]

Reply via email to