[ 
https://issues.apache.org/jira/browse/CASSANDRA-20327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17936307#comment-17936307
 ] 

Stefan Miklosovic commented on CASSANDRA-20327:
-----------------------------------------------

https://app.circleci.com/pipelines/github/instaclustr/cassandra/5629/workflows/157dc4b3-4aa4-4a3e-9279-4ff0515f2338

> 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
>
>         Attachments: CASSANDRA-20327-1_ci_summary.html
>
>          Time Spent: 1h 10m
>  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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to