[ https://issues.apache.org/jira/browse/CASSANDRA-18215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Miklosovic updated CASSANDRA-18215: ------------------------------------------ Status: Review In Progress (was: Needs Committer) > Fix the output of FQL dump tool to properly separate entries > ------------------------------------------------------------ > > Key: CASSANDRA-18215 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18215 > Project: Cassandra > Issue Type: Bug > Components: Tool/fql > Reporter: Stefan Miklosovic > Assignee: n.v.harikrishna > Priority: Normal > Fix For: 4.0.x, 4.1.x, 4.x > > > This was reported in (1) > (1) https://github.com/apache/cassandra/pull/2050 > If I create a table something like this: > {code} > CREATE TABLE t1 ( id int PRIMARY KEY , v1 int, v2 int, v3 int) ; > {code} > and inserted a row using: > {code} > try (CqlSession cqlSession = CqlSession.builder().build()) { > PreparedStatement preparedStatement = cqlSession.prepare("INSERT INTO > ks1.t1 (id, v1, v2, v3) VALUES (?, ?, ?, ?)"); > cqlSession.execute(preparedStatement.bind(1, 1, 1, 1)); > } > {code} > The output of fqltool looks something like this: > {code} > Type: single-query > Query start time: 1673373829119 > Protocol version: 5 > Generated timestamp:-9223372036854775808 > Generated nowInSeconds:1673373829 > Query: INSERT INTO ks1.t1 (id, v1, v2, v3) VALUES (?, ?, ?, ?) > Values: > 00000000 00 00 00 01 ···· > 00000000 00 00 00 01 ···· > ----- > 00000000 00 00 00 01 ···· > ----- > 00000000 00 00 00 01 ···· > ----- > {code} > ----- is not printed between the first and second value > {code} > Values: > 00000000 00 00 00 01 ···· > 00000000 00 00 00 01 ···· > {code} > We are normally very cautious about changing the output of the tooling but in > this case I think this is a legit bug which should be fixed. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org