How to retrieve the column having datatype as “list” from the table of Cassandra?

前端 未结 2 1149
天涯浪人
天涯浪人 2021-01-18 21:49

I am using Scala to connect with Cassandra and applying my queries in it, I have created a simple table in Cassandra which has two columns row_id and row_values. row_id has

2条回答
  •  不知归路
    2021-01-18 21:59

    Try to add class to getList method:

    row.getList("row_values", classOf[String])
    

提交回复
热议问题