You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/07/08 09:33:14 UTC

[GitHub] [shardingsphere] TeslaCN opened a new issue, #18962: Got SQL syntax error when executing DDL using ShardingSphere-Proxy openGauss

TeslaCN opened a new issue, #18962:
URL: https://github.com/apache/shardingsphere/issues/18962

   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   
   master - 336afce1cc10eb5a03d74707ba0abcd14511fb5e
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   ShardingSphere-Proxy openGauss
   
   ### Expected behavior
   
   DDL could be executed on openGauss.
   
   ### Actual behavior
   
   ```sql
   create table acmg_t_cust_info_base (
            birthday timestamp, 
            national varchar(200),
            age numeric(20,0)
      );
   ```
   
   GOT
   ```
   ERROR:  You have an error in your SQL syntax
   ```
   
   DDL works on Proxy if `national` was double quoted.
   ```sql
   create table acmg_t_cust_info_base (
            birthday timestamp, 
            "national" varchar(200),
            age numeric(20,0)
      );
   ```
   
   ### Reason analyze (If you can)
   
   ![image](https://user-images.githubusercontent.com/20503072/177962906-87e768eb-f224-4ebf-8721-6e7faffa861b.png)
   
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] strongduanmu closed issue #18962: Got SQL syntax error when executing DDL using ShardingSphere-Proxy openGauss

Posted by GitBox <gi...@apache.org>.
strongduanmu closed issue #18962: Got SQL syntax error when executing DDL using ShardingSphere-Proxy openGauss
URL: https://github.com/apache/shardingsphere/issues/18962


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org