phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pariksheet Barapatre <pbarapa...@gmail.com>
Subject Salt key hash code logic
Date Mon, 22 Sep 2014 07:07:27 GMT
Hello All,

When I create phoenix table with salting how it calculates SALT hex.

e.g.
CREATE TABLE TEST.PHOENIX_TEST
(
TDM INTEGER NOT NULL
,RTYP VARCHAR NOT NULL
,SSID VARCHAR NOT NULL
,D.AGE UNSIGNED_INT
,D.CAT VARCHAR
CONSTRAINT PK PRIMARY KEY (TDM,RTYP,SSID)
)
SALT_BUCKETS = 20
;

WHEN I do UPSERT -

UPSERT INTO TEST.PHOENIX_TEST VALUES(2014,'5','JHDHHDSSGA',26,'Education');

What will be the salt key for above insert or how phoenix will calculate
SALT Hex.


Cheers,
Pari

Mime
View raw message