Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.
This repository was archived by the owner on May 3, 2024. It is now read-only.

UDF aggregate execution error #56

@ramunasd

Description

@ramunasd

We are getting error UDF: Execution Error 1 when UDF function is executed using method Aerospike->aggregate(). Lua functions on itself are correct and works perfectly when triggered using tool aql.

Here is how we enable log output:

$client->setLogHandler(function(){print_r(func_get_args());});
$client->setLogLevel(Aerospike::LOG_LEVEL_TRACE);
$client->aggregate(...);
var_dump($client->error(), $client->errorno());

And output:

Array
(
    [0] => 4
    [1] => apply_stream
    [2] => src/main/mod_lua.c
    [3] => 1232
)
Array
(
    [0] => 4
    [1] => apply_stream
    [2] => src/main/mod_lua.c
    [3] => 1235
)
Array
(
    [0] => 4
    [1] => poll_state
    [2] => src/main/mod_lua.c
    [3] => 620
)
Array
(
    [0] => 0
    [1] => create_state
    [2] => src/main/mod_lua.c
    [3] => 577

Array
(
    [0] => 4
    [1] => poll_state
    [2] => src/main/mod_lua.c
    [3] => 629
)
Array
(
    [0] => 4
    [1] => apply_stream
    [2] => src/main/mod_lua.c
    [3] => 1239
)
string(22) "UDF: Execution Error 1"
int(100)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions