Closed Zemistr closed 7 years ago
What tool do you use to execute the INSERT command? What value do you see for the "user_time_created" field using cqlsh?
You might be doing something wrong when inserting the data into Cassandra (for example, if you use php-cassandra, you should pass the timestamp as new Cassandra\Type\Timestamp(1433710209253)
).
I use Datastax DevCenter and clean CQL
I used cqlsh to run the INSERT statement and I got the correct integer value for "user_time_created" using php-cassandra. Tested using Cassandra 2.1.6.
Which version of Cassandra do you use? Version 2.1 or newer is required.
What happens if you use fetchAll() instead of fetchRow()?
I use: DevCenter 1.3.1 Cassandra 2.1.6
When I use fetchAll() I got the same result.
64bit platform is required, you may used in 32bit platform
Yes, I use 32b PHP 5.6.8
Perhaps this information should be included in README.md? Currently it only says:
PHP 5.4+ is required.
:+1: In Readme.md and in composer.json
https://getcomposer.org/doc/02-libraries.md#platform-packages
I have this table:
but...
when I call "fetchRow()" I see this result:
I try v0.5.2 and dev-master...