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 2021/10/29 02:21:14 UTC
[GitHub] [shardingsphere] marker-wu commented on issue #13343: An error in the execution of the federation engine
marker-wu commented on issue #13343:
URL: https://github.com/apache/shardingsphere/issues/13343#issuecomment-954357136
- !SHARDING
defaultDatabaseStrategy:
hint:
shardingAlgorithmName: database_hint
defaultTableStrategy:
none: ''
keyGenerators:
snowflake:
type: SNOWFLAKE
shardingAlgorithms:
t_order_item_inline:
props:
algorithm-expression: oms_order_items_${zid % 10}
type: INLINE
t_order_inline:
props:
algorithm-expression: oms_order_data_${zid % 10}
type: INLINE
database_hint:
props:
algorithmClassName: org.apache.shardingsphere.proxy.custom.shardingstrategy.AKErpHintShardingAlgorithm
strategy: HINT
type: CLASS_BASED
tables:
oms_order_data:
actualDataNodes: hot_ds_0.oms_order_data_${0..9}
logicTable: oms_order_data
tableStrategy:
standard:
shardingAlgorithmName: t_order_inline
shardingColumn: zid
oms_order_items:
actualDataNodes: hot_ds_0.oms_order_items_${0..9}
logicTable: oms_order_items
tableStrategy:
standard:
shardingAlgorithmName: t_order_item_inline
shardingColumn: zid
--
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