Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
4.0.8, 4.1.1, 5.0-alpha1, 5.0
-
None
-
Code
-
Low
-
Low Hanging Fruit
-
Adhoc Test
-
All
-
None
-
Description
This was reported in (1)
(1) https://github.com/apache/cassandra/pull/2050
If I create a table something like this:
CREATE TABLE t1 ( id int PRIMARY KEY , v1 int, v2 int, v3 int) ;
and inserted a row using:
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)); }
The output of fqltool looks something like this:
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 ···· -----
----- is not printed between the first and second value
Values: 00000000 00 00 00 01 ···· 00000000 00 00 00 01 ····
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.