cobar icon indicating copy to clipboard operation
cobar copied to clipboard

按多个字段拆分时rule.xml里的function配置怎么写

Open curt001 opened this issue 10 years ago • 4 comments

请问按多个字段拆分时rule.xml里的function配置改怎么写,我看了下Dimension2PartitionFunction里好像需要countX,countY,lengthX,lengthY,具体rule.xml里该怎么写啊?

curt001 avatar Aug 15 '14 07:08 curt001

和一维的partitionCount,partitionLength含义类似,无非现在是二维的,你确定要用二维吗,如果要用先确定理解了二维拆分的含义,在doc的cobarSolution.ppt里有介绍。

hexianmao avatar Aug 18 '14 03:08 hexianmao

和一维的partitionCount,partitionLength含义类似,无非现在是二维的,你确定要用二维吗,如果要用先确定理解了二维拆分的含义,在doc的cobarSolution.ppt里有介绍。


发件人:curt001 [email protected] 发送时间:2014年8月15日(星期五) 15:17 收件人:alibaba/cobar [email protected] 主 题:[cobar] 按多个字段拆分时rule.xml里的function配置怎么写 (#25)

请问按多个字段拆分时rule.xml里的function配置改怎么写,我看了下Dimension2PartitionFunction里好像需要countX,countY,lengthX,lengthY,具体rule.xml里该怎么写啊?

— Reply to this email directly or view it on GitHub.

hexianmao avatar Aug 18 '14 03:08 hexianmao

谢谢,恩,暂时还是不用二维的,一个字段拆分的足够了

curt001 avatar Aug 19 '14 08:08 curt001

也想问问,二维路由的配置具体怎么写呀?我看cobarSolution.ppt中给出4个库的方案,2个库可以么?

eaglesjune avatar Nov 06 '14 07:11 eaglesjune