Open def- opened 2 years ago
This seems to occur with a wide variety of types
2022-09-09 16:34:28,098 asyncore_cassandra_driver_event_loop ERROR Error decoding response from Cassandra. ver(4); flags(0000); stream(57); op(8); offset(9); len(37); buffer: b'\x84\x00\x009\x08\x00\x00\x00%\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x00\x00\rks_lst_758905\x00\x04ct_1\x00\x00\x00\x00\x84\x00\x001\x08\x00\x00\x00:\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\x00\rks_lst_758905\x00\x04ct_0\x00\x06c1_int\x00\t\x00\x07c0_time\x00\x12\x00\x00\x00\x00\x84\x00\x005\x08\x00\x00\x00\x04\x00\x00\x00\x01\x84\x00\x008\x08\x00\x00\x00\x04\x00\x00\x00\x01\x84\x00\x006\x08\x00\x00\x00\x04\x00\x00\x00\x01\x84\x00\x002\x08\x00\x00\x00\x04\x00\x00\x00\x01\x84\x00\x003\x08\x00\x00\x00\x04\x00\x00\x00\x01\x84\x00\x007\x08\x00\x00\x00n\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x05\x00\rks_lst_758905\x00\x04ct_1\x00\x0bc4_set_text\x00"\x00\r\x00\x0bc0_timeuuid\x00\x0f\x00\nc1_boolean\x00\x04\x00\x07c3_text\x00\r\x00\x0cc2_timestamp\x00\x0b\x00\x00\x00\x00\x84\x00\x000\x08\x00\x00\x00\x04\x00\x00\x00\x01\x84\x00\x004\x08\x00\x00\x00\x04\x00\x00\x00\x01'
Traceback (most recent call last):
File "cassandra/connection.py", line 1229, in cassandra.connection.Connection.process_msg
File "cassandra/protocol.py", line 1196, in cassandra.protocol._ProtocolHandler.decode_message
File "cassandra/protocol.py", line 744, in cassandra.protocol.ResultMessage.recv_body
File "cassandra/protocol.py", line 730, in cassandra.protocol.ResultMessage.recv
File "cassandra/row_parser.pyx", line 34, in cassandra.row_parser.make_recv_results_rows.recv_results_rows
File "cassandra/deserializers.pyx", line 478, in cassandra.deserializers.make_deserializers
File "cassandra/deserializers.pyx", line 519, in cassandra.deserializers.obj_array
File "stringsource", line 154, in View.MemoryView.array.__cinit__
ValueError: Invalid shape in axis 0: 0.
2022-09-09 16:34:28,098 ThreadPoolExecutor-0_1 WARNING Host 127.0.0.1:9042 has been marked down
2022-09-09 16:34:28,098 worker_5 ERROR Unexpected query failure: ValueError
Query: SELECT c4_set_text, c1_boolean, c0_timeuuid, c3_text from ct_1 LIMIT 0 OFFSET 11
values: None
runtime: 2022-09-09 16:34:28.079 - 2022-09-09 16:34:28.098
supports explain: False
supports rollback: False
affected rows: None
Action: YCQLRandomSelectAction
Error class: ValueError
Error message: Invalid shape in axis 0: 0.
Just removing some doesn't fix it.
The common pattern is that this always happens with LIMIT 0
. I'll use a minimum limit 1 for now in LST.
Jira Link: DB-3442
Description
On a local macOS run of the new LST YCQL feature @vijayjoshi16 is working on I ran this error that can be reproduced easily:
I'll try to get further information as to what's going wrong. We are not using Vector and Array. I am using yb-cassandra-driver Python driver so that should work too.