Hi Ming, In trafodion,
"salt using 8 partitions on A" is equivalent to "hash2partfunc(a for 8)". "salt using 16 partitions on (a,b)" is equivalent to "hash2partfunc(a,b for 16)". Thanks --Qifan On Fri, Feb 12, 2016 at 6:15 AM, Liu, Ming (Ming) <[email protected]> wrote: > Hi, all, > > I want to check the code that calculate the hash value for the _SALT_ > column in Trafodion. Could anyone point me to the exact source code, which > file and which function doing that? > I tried for a while and cannot find it yet. > > So that I can write a function F, that F(all cluster key) => rowkey of the > Trafodion table row. > > Thanks, > Ming > > -- Regards, --Qifan
