Andy Tolbert created CASSANDRA-20327:
----------------------------------------
Summary: 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
Reporter: Andy Tolbert
Assignee: Andy Tolbert
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: [email protected]
For additional commands, e-mail: [email protected]