[jira] [Updated] (CASSANDRA-18215) Fix the output of FQL dump tool to properly separate entries
[ https://issues.apache.org/jira/browse/CASSANDRA-18215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-18215: -- Fix Version/s: 4.0.8 4.1.1 4.2 (was: 4.x) (was: 4.0.x) (was: 4.1.x) Since Version: 4.0 Source Control Link: https://github.com/apache/cassandra/commit/b74c86404a0d131677286206562bb4bfa3e8e1a9 Resolution: Fixed Status: Resolved (was: Ready to Commit) Thank you, [~n.v.harikrishna], for the patch! If you find any other issues in FQL please let us know. > 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.8, 4.1.1, 4.2 > > > 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: > 00 00 00 01 > 00 00 00 01 > - > 00 00 00 01 > - > 00 00 00 01 > - > {code} > - is not printed between the first and second value > {code} > Values: > 00 00 00 01 > 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
[jira] [Updated] (CASSANDRA-18215) Fix the output of FQL dump tool to properly separate entries
[ https://issues.apache.org/jira/browse/CASSANDRA-18215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-18215: -- Status: Ready to Commit (was: Review In Progress) > 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: > 00 00 00 01 > 00 00 00 01 > - > 00 00 00 01 > - > 00 00 00 01 > - > {code} > - is not printed between the first and second value > {code} > Values: > 00 00 00 01 > 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
[jira] [Updated] (CASSANDRA-18215) Fix the output of FQL dump tool to properly separate entries
[ 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: > 00 00 00 01 > 00 00 00 01 > - > 00 00 00 01 > - > 00 00 00 01 > - > {code} > - is not printed between the first and second value > {code} > Values: > 00 00 00 01 > 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
[jira] [Updated] (CASSANDRA-18215) Fix the output of FQL dump tool to properly separate entries
[ https://issues.apache.org/jira/browse/CASSANDRA-18215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-18215: -- Reviewers: Brandon Williams, Stefan Miklosovic (was: Stefan Miklosovic) > 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: > 00 00 00 01 > 00 00 00 01 > - > 00 00 00 01 > - > 00 00 00 01 > - > {code} > - is not printed between the first and second value > {code} > Values: > 00 00 00 01 > 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
[jira] [Updated] (CASSANDRA-18215) Fix the output of FQL dump tool to properly separate entries
[ 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: Changes Suggested) > 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: > 00 00 00 01 > 00 00 00 01 > - > 00 00 00 01 > - > 00 00 00 01 > - > {code} > - is not printed between the first and second value > {code} > Values: > 00 00 00 01 > 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
[jira] [Updated] (CASSANDRA-18215) Fix the output of FQL dump tool to properly separate entries
[ https://issues.apache.org/jira/browse/CASSANDRA-18215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-18215: -- Status: Needs Committer (was: Review In Progress) > 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: > 00 00 00 01 > 00 00 00 01 > - > 00 00 00 01 > - > 00 00 00 01 > - > {code} > - is not printed between the first and second value > {code} > Values: > 00 00 00 01 > 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
[jira] [Updated] (CASSANDRA-18215) Fix the output of FQL dump tool to properly separate entries
[ https://issues.apache.org/jira/browse/CASSANDRA-18215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-18215: -- Status: Changes Suggested (was: Review In Progress) > 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: > 00 00 00 01 > 00 00 00 01 > - > 00 00 00 01 > - > 00 00 00 01 > - > {code} > - is not printed between the first and second value > {code} > Values: > 00 00 00 01 > 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
[jira] [Updated] (CASSANDRA-18215) Fix the output of FQL dump tool to properly separate entries
[ https://issues.apache.org/jira/browse/CASSANDRA-18215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-18215: -- Reviewers: Stefan Miklosovic, Stefan Miklosovic (was: Stefan Miklosovic) Stefan Miklosovic, Stefan Miklosovic (was: Stefan Miklosovic) Status: Review In Progress (was: Patch Available) > 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: > 00 00 00 01 > 00 00 00 01 > - > 00 00 00 01 > - > 00 00 00 01 > - > {code} > - is not printed between the first and second value > {code} > Values: > 00 00 00 01 > 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
[jira] [Updated] (CASSANDRA-18215) Fix the output of FQL dump tool to properly separate entries
[ https://issues.apache.org/jira/browse/CASSANDRA-18215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] n.v.harikrishna updated CASSANDRA-18215: Test and Documentation Plan: Manually verified the output. Mentioned output before and after this change in the pull request. Status: Patch Available (was: Open) PR: https://github.com/apache/cassandra/pull/2135 > 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: > 00 00 00 01 > 00 00 00 01 > - > 00 00 00 01 > - > 00 00 00 01 > - > {code} > - is not printed between the first and second value > {code} > Values: > 00 00 00 01 > 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
[jira] [Updated] (CASSANDRA-18215) Fix the output of FQL dump tool to properly separate entries
[ https://issues.apache.org/jira/browse/CASSANDRA-18215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-18215: -- Bug Category: Parent values: Code(13163) Complexity: Low Hanging Fruit Discovered By: Adhoc Test Fix Version/s: 4.0.x 4.1.x 4.x Reviewers: Stefan Miklosovic Severity: Low Status: Open (was: Triage Needed) > 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 >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: > 00 00 00 01 > 00 00 00 01 > - > 00 00 00 01 > - > 00 00 00 01 > - > {code} > - is not printed between the first and second value > {code} > Values: > 00 00 00 01 > 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
[jira] [Updated] (CASSANDRA-18215) Fix the output of FQL dump tool to properly separate entries
[ https://issues.apache.org/jira/browse/CASSANDRA-18215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-18215: -- Component/s: Tool/fql > 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 >Priority: Normal > > 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: > 00 00 00 01 > 00 00 00 01 > - > 00 00 00 01 > - > 00 00 00 01 > - > {code} > - is not printed between the first and second value > {code} > Values: > 00 00 00 01 > 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
[jira] [Updated] (CASSANDRA-18215) Fix the output of FQL dump tool to properly separate entries
[ https://issues.apache.org/jira/browse/CASSANDRA-18215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-18215: -- Description: 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: 00 00 00 01 00 00 00 01 - 00 00 00 01 - 00 00 00 01 - {code} - is not printed between the first and second value {code} Values: 00 00 00 01 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. was: 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: 00 00 00 01 00 00 00 01 - 00 00 00 01 - 00 00 00 01 - {code} - is not printed between the first and second value {code} Values: 00 00 00 01 00 00 00 01 {code} > 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 >Reporter: Stefan Miklosovic >Priority: Normal > > 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: > 00 00 00 01 > 00 00 00 01 > - > 00 00 00 01 > - > 00 00 00 01 > - > {code} > - is not printed between the first and second value > {code} > Values: > 00 00 00 01 > 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) --