mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-02 04:56:58 +00:00
Despite the cql-pytests being intended to pass on both Scylla and Cassandra, the test_permissions.py case was actually failing on Cassandra in a few cases. The most common issue was a different exception type returned by Scylla and Cassandra for an invalid query. This was fixed by accepting 2 types of exceptions when necessary. The second issue was java UDF code that did not compile, which was fixed simply by debugging the code. The last issue was a case that was scylla_only with no good reason. The missing java UDFs were added to that case, and the test was adjusted so that the ALTER permission was only checked in a CREATE OR REPLACE statement only if the UDF was already existing - - Scylla requires it in both cases, which will get resolved in the next patch.