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/11/29 12:00:25 UTC

[GitHub] [shardingsphere] TeslaCN opened a new issue, #22506: ShardingSphereSQLParserEngine.parse got null when parsing PostgreSQL ALTER DATABASE

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

   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   
   master - ee7db7d4390824d81a1aac4035d2bddd42954eff
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   ShardingSphere-Proxy PostgreSQL
   
   ### Expected behavior
   
   No error occurred.
   
   ### Actual behavior
   
   ![image](https://user-images.githubusercontent.com/20503072/204510973-d7d2ee3a-0467-45f1-8464-6473214f9b2f.png)
   
   ```
   postgres=> ALTER DATABASE "regression" SET lc_messages TO 'C';
   ERROR:  Cannot invoke "Object.getClass()" because "sqlStatement" is null
   ```
   
   ### Reason analyze (If you can)
   
   ![image](https://user-images.githubusercontent.com/20503072/204510695-db0c6ea3-0071-4538-95c2-30a2546f7f33.png)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   No rule configured.
   
   ```sql
   ALTER DATABASE "regression" SET lc_messages TO 'C'
   ```
   
   


-- 
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] tuichenchuxin commented on issue #22506: ShardingSphereSQLParserEngine.parse got null when parsing PostgreSQL ALTER DATABASE

Posted by GitBox <gi...@apache.org>.
tuichenchuxin commented on issue #22506:
URL: https://github.com/apache/shardingsphere/issues/22506#issuecomment-1331568567

   sure. I'll check it.


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


[GitHub] [shardingsphere] strongduanmu commented on issue #22506: ShardingSphereSQLParserEngine.parse got null when parsing PostgreSQL ALTER DATABASE

Posted by GitBox <gi...@apache.org>.
strongduanmu commented on issue #22506:
URL: https://github.com/apache/shardingsphere/issues/22506#issuecomment-1331566539

   Hi @tuichenchuxin, can you help check this issue?


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