Fixed
Details
Details
Assignee
Unassigned
UnassignedReporter
Michael Fero
Michael Fero(Deactivated)Original estimate
3d
Time tracking
No time logged3d remaining
Sprint
Fix versions
Priority
Created September 7, 2016 at 11:08 PM
Updated August 14, 2017 at 3:49 PM
Resolved August 14, 2017 at 3:49 PM
Given the following table using a list
and the following prepared or bound insert statement to insert the list items
and creating the list object instance through the global type definition
The driver will throw an `InvalidArgumentException: Invalid value type` when binding the values using the ExecutionOptions and executing the statement; NOTE: Map and Set objects do not produce the exception.
A current workaround is to use either of the following syntaxes when creating a list object with v1.2.2 of the PHP driver:
$list = new Cassandra\Collection(Cassandra\Type::varchar());
$listtype = Cassandra\Type::Collection(Cassandra\Type::varchar());
$list = $listtype->create();