You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefan Miklosovic (Jira)" <ji...@apache.org> on 2025/02/21 10:26:00 UTC
[jira] [Updated] (CASSANDRA-20327) Remove remaining driver dependencies from server code
[ https://issues.apache.org/jira/browse/CASSANDRA-20327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Miklosovic updated CASSANDRA-20327:
------------------------------------------
Test and Documentation Plan: ci
Status: Patch Available (was: Open)
> Remove remaining driver dependencies from server code
> -----------------------------------------------------
>
> Key: CASSANDRA-20327
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20327
> Project: Apache Cassandra
> Issue Type: Improvement
> Components: Legacy/Core
> Reporter: Andy Tolbert
> Assignee: Andy Tolbert
> Priority: Normal
> Fix For: 5.x
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Outside of code used by {{sstableloader}}, there is very little code that utilizes the java driver, of which the dependency is trivial and can be removed, this includes:
> * {{UntypedResultSet}} uses {{CodecUtils.fromUnsignedToSignedInt}} from the driver
> which is just adding Integer.MIN_VALUE to an int so can easily be removed.
> * {{PreparedStatementHelper}} is used only by dtest fuzz tests to validate
> Prepared Statements. Can be moved to test code.
> * {{UDFunction}} adds specific driver classes to {{disallowedPatterns}}, this is no longer needed after [CASSANDRA-14737].
> * {{ThreadAwareSecurityManager.checkPermission}} makes reference to skipping
> checking {{accessDeclaredMembers}} due to use of {{CodecUtils}}; this will remain until we've fully removed the driver as a dependency.
> * {{JavaBasedUDFunction}} has some code that substitutes {{com.datastax.driver.core}} with {{org.apache.cassandra.cql3.functions.types}} as part of [CASSANDRA-14737]. This code will be retained for backwards compatibility.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org