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/30 07:24:39 UTC

[GitHub] [shardingsphere] RaigorJiang opened a new issue, #22528: Unsupported SQL operation: unsupported CommonExpressionSegment

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

   ## Bug Report
   ### Which version of ShardingSphere did you use?
   master 97395363 
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-Proxy
   
   ### Expected behavior
   The select statement executes successfully.
   
   ### Actual behavior
   ```sql
   mysql> SELECT TABLE_SCHEMA AS TABLE_CAT, NULL AS TABLE_SCHEM, TABLE_NAME, CASE WHEN TABLE_TYPE='BASE TABLE' THEN CASE WHEN TABLE_SCHEMA = 'mysql' OR TABLE_SCHEMA = 'performance_schema' THEN 'SYSTEM TABLE' ELSE 'TABLE' END WHEN TABLE_TYPE='TEMPORARY' THEN 'LOCAL_TEMPORARY' ELSE TABLE_TYPE END AS TABLE_TYPE, TABLE_COMMENT AS REMARKS, NULL AS TYPE_CAT, NULL AS TYPE_SCHEM, NULL AS TYPE_NAME, NULL AS SELF_REFERENCING_COL_NAME, NULL AS REF_GENERATION FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'swtest' AND TABLE_NAME LIKE 'endpoint_traffic_20%' ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
   ERROR 30001 (0A000): Unsupported SQL operation: unsupported CommonExpressionSegment
   ```
   


-- 
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 commented on issue #22528: Unsupported SQL operation: unsupported CommonExpressionSegment

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

   Thank you for your feedback, I will fix this bug.


-- 
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] taojintianxia closed issue #22528: Unsupported SQL operation: unsupported CommonExpressionSegment

Posted by GitBox <gi...@apache.org>.
taojintianxia closed issue #22528: Unsupported SQL operation: unsupported CommonExpressionSegment
URL: https://github.com/apache/shardingsphere/issues/22528


-- 
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 #22528: Unsupported SQL operation: unsupported CommonExpressionSegment

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

   Latest result:
   
   <img width="1916" alt="image" src="https://user-images.githubusercontent.com/10829171/204985496-1a421c1e-bffa-4173-8e9b-2662e8a26405.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

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