This doesn't reproduce with the steps you're providing. There's clearly some pre-existing data in the table, and some sort of operation on that table in the past that isn't evident from your repro steps.
(oss-ccm) MacBook-Pro:~ jjirsa$ ccm create test -n 1 -s -v 3.0.10 Current cluster is now: test (oss-ccm) MacBook-Pro:~ jjirsa$ ccm node1 cqlsh Connected to test at 127.0.0.1:9042. [cqlsh 5.0.1 | Cassandra 3.0.10 | CQL spec 3.4.0 | Native protocol v4] Use HELP for help. cqlsh> CREATE KEYSPACE test WITH replication = {'class':'SimpleStrategy', 'replication_factor': 1}; cqlsh> CREATE TABLE test.t ( a text primary key, b text ); cqlsh> insert into test.t(a) values('z'); cqlsh> insert into test.t(a) values('w'); cqlsh> insert into test.t(a) values('e'); cqlsh> insert into test.t(a) values('r'); cqlsh> insert into test.t(a) values('t'); cqlsh> select a,b, writetime (b) from test.t; a | b | writetime(b) ---+------+-------------- z | null | null e | null | null r | null | null w | null | null t | null | null (5 rows) cqlsh> Are you able to post the json for that table somewhere (sstabledump the -Data.db files on disk ) ? - Jeff On 2017-07-19 08:33 (-0700), Nitan Kainth <ni...@bamlabs.com> wrote: > Same output Kurt, > > [cqlsh 5.0.1 | Cassandra 3.0.10.1443 | DSE 5.0.4 | CQL spec 3.4.0 | Native > protocol v4] > Use HELP for help. > cqlsh> select a, writetime(b) from test.t; > > a | writetime(b) > ---+------------------ > z | null > a | null > c | null > e | null > r | null > d | 1500400745074499 > w | 1500400745074499 > v | 1500400745074499 > t | 1500400745074499 > x | 1500400626266371 > > > > On Jul 18, 2017, at 4:41 PM, kurt greaves <k...@instaclustr.com> wrote: > > > > select a, writetime(b) from test.t > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org For additional commands, e-mail: user-h...@cassandra.apache.org