If I have a table in Astra created like so:
CREATE TABLE rayven.mytable (
a text,
b text,
c timestamp,
PRIMARY KEY (a, c)
) WITH CLUSTERING ORDER BY (c DESC)
I then added the SAI index:
CREATE CUSTOM INDEX b_index ON mytable (b) USING 'StorageAttachedIndex';
When I query using ORDER BY:
select * from mytable where b='x' order by c desc;
I see
InvalidRequest: Error from server: code=2200 [Invalid query] message="ORDER BY with 2ndary indexes is not supported."
Since the original table is ordered by "c" descending. Can I assume that the result of the above SELECT will be in this order or there is no way of knowing or controling the order when selecting using an SAI index?