Hello, in nodejs client, I’m receving the error detailed below when run this query apply udf with the where predicate. If I don’t set where, the query run perfectly, but I need filter by mapkey. The lua works, because in Php client work fine What I’m doing wrong? thanks
var query = client.query(defaultNamespace, defaultSet);
query.where([ predexp.stringValue('1548237852249'),
predexp.stringVar('itemkey'),
predexp.stringEqual(),
predexp.mapBin('segszeo'),
predexp.mapKeyIterateOr('itemkey')
]);
query.apply('agrega', 'sum', ['segszeo'], (error, job) => {
console.log('post agrega');
if (!error) {
console.log(result)
process.exit(-1)
} else {
console.error('error: %s [%d]\n%s', error.message, error.code, error.stack)
process.exit(-1)
}
});
return this code
error: { AerospikeError: Sometimes our doc, or our customers' wishes, get ahead of us. We may have processed something that the server is not ready for (unsupported feature).
at Function.fromASError (/home/sunpanel.tsapx.net/public_html/syncdmp/api/node_modules/aerospike/lib/error.js:113:21)
at QueryApplyCommand.convertError (/home/sunp/public_html/syncdmp/api/node_modules/aerospike/lib/commands/command.js:91:27)
at QueryApplyCommand.convertResponse (/home/sunp/public_html/syncdmp/api/node_modules/aerospike/lib/commands/command.js:101:24)
at asCallback (/home/sunp/public_html/syncdmp/api/node_modules/aerospike/lib/commands/command.js:163:24)