Closed beiercai closed 14 years ago
No it's not implemented yet, but depending on your architecture it can be set via pack() ...
eg: 32-bit big-endian : $time = pack("NN", time(), 0);
and then to extract, the converse 32-bit unpack... $timeUnpacked = array_pop(unpack('N', $time));
http://au.php.net/manual/en/function.pack.php
Sorry there's not a patch yet for this.
Thanks, that worked!
Any plan to support it in the future? it's just a bit strange to deal with byte stream on a high layer.
There will be a solution in place for the 0.3 release, it's currently only stubbed in the column container class
Maybe I'm missing something here, but I can't seem to save a column defined as LongType
Here is the PHP code:
I got this error back:
Array ( [0] => TException: A long is exactly 8 bytes )
Does Pandra convert an integer to long type Thrift expects?