I am using the python Cassandra driver to query a database. This is the code that I ran:
from cassandra.cluster import Cluster
from cassandra.query import dict_factory
ips = [...]
cluster = Cluster(ips)
session = cluster.connect()
session.row_factory = dict_factory
session.set_keyspace("mykeyspace")
response = session.execute("SELECT * FROM myDB WHERE mykey = 'xyz';")
In the output, I get weird 'n's in front of words, where newline characters used to be.
Example:
"Over the wintry nforest, winds howl in rage nwith no leaves to blow."
Is there a way to solve this issue?