I have a very simple table in cassandra.
Name: test
Columns :
- id ( bigint, primary key)
- name (text)
I am trying to insert into values into this using nodejs (using cassandra-driver)
client.execute("insert into test (id, name) values (?, ?)", [123, "dskddjls"], function (err, response) {
if (err) {
console.log("An error occured, ", err)
//...
}
else {
console.log("Added to table, ", response)
//...
}
})
The insertion completes successfully but when I check my cassandra database, it appears as if I have garbage values for big int column.
Any explanation for why this is happening ?