comment not worked shardingsphere-proxy
See original GitHub issueI did this works ,but its not route to write db.I want to make sure , does proxy not support comment ?
- I added
/* ShardingSphere hint: writeRouteOnly=true */
before my sql - seted
sql_comment_parse_enable
true - seted
proxy_hint_enabled
true in server.yaml
I use set readwrite_splitting hint source=write
works.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
No query condition for the sharding table, it does not working
ShardingSphere -JDBC or ShardingSphere-Proxy? ... No query condition for the sharding table, it does not working #13541.
Read more >Apache ShardingSphere document
if ShardingSphere‐Proxy does not create a database or does not add a ... Sharding Why does my custom distributed primary key do not...
Read more >How does Apache ShardingSphere implement distributed ...
Network instability. Communication is stable for a standalone machine and any operation can be answered whether successful or not. However, in a distributed ......
Read more >Your guide to DistSQL's cluster governance capability
August 24, 2022 | 0 Comments | 9 min read ... In a typical cluster composed of ShardingSphere-Proxy, there are multiple compute nodes...
Read more >Introducing Apache ShardingSphere 5.2.0! - HackerNoon
ShardingSphere 5.2.0 is released bringing new cloud-native possibilities ... Access port: Make SHOW TABLES FROM work in ShardingSphere-Proxy ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You may need to add the SQL parser rule to enable parsing comments.
https://shardingsphere.apache.org/document/5.1.0/en/user-manual/shardingsphere-jdbc/yaml-config/rules/sql-parser/
https://github.com/apache/shardingsphere/blob/50b3f45a3b60efe28a00ca69d74024d6f5eee443/examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/resources/server/server.yaml#L48-L49
it works ! thanks a lot .