1

私のパーティションキーは id(int) と name(text) です。以下のコマンドは、名前 (テキスト) にスペースがなくなるまで正常に機能します。 nodetool getendpoints テスト testtable2 1:aaa;

nodetool getendpoints test testtable2 3:aac cc;を使用している場合 nodetool : getendpoints requires keyspace, table and partition key arguments 「nodetool help」または「nodetool help」を参照してください。

SELECT id,name, token(id,name) FROM test.testtable2 where name='aac cc'AND id=3;を実行してトークンを取得しました 。nodetool getendpoints test testtable2 -7072928299163215694; を検索しようとし ました。エラー: 入力文字列の場合: "-7072928299163215694" -- StackTrace -- java.lang.NumberFormatException: 入力文字列の場合: "-7072928299163215694"

パーティション キー (名前) にスペースがあるかどうかを検索するにはどうすればよいですか?

4

2 に答える 2