Skip to content

[bug]: Cannot describe schema elements on Astra database #958

Open
@jeromatron

Description

@jeromatron

Do I have the most recent version of AxonOps Workbench installed?

  • I am using the most recent release

AxonOps Workbench Version

0.9.28

Is there an existing issue for this?

  • I have searched the existing issues

Operating System

MacOS

Operating System Version

15.5

Apache Cassandra Version(s)

Astra Serverless (Cassandra 4 with a bunch of C* 5 features)

Bug Description

I was trying out the new support for Astra and it seems to work well. However when I try to describe schema elements it comes back with an error:
java.lang.UnsupportedOperationException: Unable to authorize statement org.apache.cassandra.cql3.statements.DescribeStatement$Element">})

Steps to Reproduce

Create an Astra Serverless database.
Create some schema.
Do any describe statement like describe schema; or describe keyspace ks; or describe table ks.products; and they all fail.

(Copied from AxonOps cql console)

describe keyspace ks;
java.lang.UnsupportedOperationException: Unable to authorize statement org.apache.cassandra.cql3.statements.DescribeStatement$Element">})
describe schema;
java.lang.UnsupportedOperationException: Unable to authorize statement org.apache.cassandra.cql3.statements.DescribeStatement$2">})
describe table ks.products;
java.lang.UnsupportedOperationException: Unable to authorize statement org.apache.cassandra.cql3.statements.DescribeStatement$Element">})

Just in case, I made sure I was using credentials from an admin user.

Expected Behavior

The describe statements should be able to get the schema information back. In fact, when I run these three statements in the Astra CQL console, it returns the schema descriptions.

Actual Behavior

The errors in the repro steps.

Severity

Low

Further Information

No response

Metadata

Metadata

Assignees

Labels

BugSomething isn't workinguser requestCorresponds to fature requested by a user

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions