phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Batyrshin Alexander <0x62...@gmail.com>
Subject ON DUPLICATE KEY with Global Index
Date Tue, 09 Oct 2018 09:39:13 GMT
 Hello all,
Documentations (http://phoenix.apache.org/atomic_upsert.html) say:

"Although global indexes on columns being atomically updated are supported, it’s not recommended
as a potentially a separate RPC across the wire would be made while the row is under lock
to maintain the secondary index."

But in practice we get:
CANNOT_USE_ON_DUP_KEY_WITH_GLOBAL_IDX(1224, "42Z24", "The ON DUPLICATE KEY clause may not
be used when a table has a global index." )

Is this bug or documentation is outdated?
Mime
View raw message