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 2020/06/21 07:12:55 UTC

[GitHub] [shardingsphere] nanyounanyounan opened a new issue #6148: proxy auto-increment major key

nanyounanyounan opened a new issue #6148:
URL: https://github.com/apache/shardingsphere/issues/6148


   `
   shardingRule:
     tables:
       t_order:
         actualDataNodes: ds_${0..1}.t_order_${0..1}
         tableStrategy:
           inline:
             shardingColumn: order_id
             algorithmExpression: t_order_${order_id % 2}
         keyGenerator:
           type: SNOWFLAKE
           column: order_id
   `
   I'm set proxy-keyGenerator-type=SNOWFLAKE,but it's no work,
   I'm phper ,and I wan to use sharding-proxy in my project,
   The JDBC not available in my project.
   Can you get me some case,or tell my why it's no work in  auto-increment major key.
   In  the proxy, databaseStrategy only use inline,other databaseStrategy not support?
   If cant support ,can you get my some case.
   thanks.
   


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

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



[GitHub] [shardingsphere] tuohai666 closed issue #6148: proxy auto-increment major key

Posted by GitBox <gi...@apache.org>.
tuohai666 closed issue #6148:
URL: https://github.com/apache/shardingsphere/issues/6148


   


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

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



[GitHub] [shardingsphere] tuohai666 commented on issue #6148: proxy auto-increment major key

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


   Please refer to the document:
   https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-proxy/configuration/


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

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



[GitHub] [shardingsphere] nanyounanyounan commented on issue #6148: proxy auto-increment major key

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


   I'm so sorry ,my major key is int,the snowflake need bigint.
   Other databaseStrategy is supported proxy?
   If they can,can you tell my how set?
   thanks.


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

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