{"record":{"id":"477ea7727a8baf49","repo":"apache/cassandra","slug":"provider-functionality-not-implemented-provider","errorCode":null,"errorMessage":"Provider functionality not implemented. Provider '%s' will not be loaded or invoked.","messagePattern":"Provider functionality not implemented\\. Provider '(.+?)' will not be loaded or invoked\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"src/java/org/apache/cassandra/cql3/statements/schema/SchemaDescriptionStatement.java","lineNumber":127,"sourceCode":"                                               FieldIdentifier fieldName)\n    {\n        UserType type = validateAndGetType(schema, typeName);\n\n        if (type.fieldPosition(fieldName) == -1)\n            throw ire(\"Field '%s' doesn't exist in type '%s.%s'\", fieldName, keyspaceName, typeName);\n\n        return type;\n    }\n\n    protected String effectiveDescription()\n    {\n        return description == null ? NO_DESCRIPTION : description;\n    }\n\n    protected void providerWarning(String provider)\n    {\n        if (provider != null)\n            ClientWarn.instance.warn(\"Provider functionality not implemented.\" +\n                                     \" Provider '\" + provider + \"' will not be loaded or invoked.\");\n    }\n\n    protected enum DescriptionType\n    {\n        COMMENT(\"comment\", DatabaseDescriptor.getMaxCommentLength()),\n        SECURITY_LABEL(\"security label\", DatabaseDescriptor.getMaxSecurityLabelLength());\n\n        private final String value;\n        private final int maxLength;\n\n        DescriptionType(String value, int maxLength)\n        {\n            this.value = value;\n            this.maxLength = maxLength;\n        }\n    }\n}","sourceCodeStart":109,"sourceCodeEnd":145,"githubUrl":"https://github.com/apache/cassandra/blob/88fd0f6a0eaed8943f05ac9e8f947882b8ddc8f1/src/java/org/apache/cassandra/cql3/statements/schema/SchemaDescriptionStatement.java#L109-L145","documentation":"This is a client warning (not an exception) emitted by Cassandra's CQL schema-description statements when a COMMENT or security-label string was written by a provider-enabled system. Provider functionality (attaching external provider metadata such as annotations/labels) is not implemented in this version, so Cassandra loads nothing but tells the client the provider was ignored. It surfaces via ClientWarn on the protocol connection.","triggerScenarios":"Executing a schema statement (e.g. DESCRIBE output regeneration, COMMENT ON, SECURITY LABEL) whose statement carries a non-null 'provider' string; providerWarning() fires whenever that provider field is set.","commonSituations":"Clusters migrated from versions or forks that supported providers; tools that generate CQL with provider clauses; drivers that echo provider metadata back during schema round-trips.","solutions":["Remove the provider clause/identifier from the CQL statement so only the plain comment or label is applied.","If provider support is needed, upgrade to a version that implements it; on this version it is intentionally not implemented.","Ignore or filter the client warning in the driver if the provider loss is acceptable."],"exampleFix":"// before\nCOMMENT ON TABLE ks.t IS 'note' WITH PROVIDER 'acme';\n// after\nCOMMENT ON TABLE ks.t IS 'note';","handlingStrategy":"validation","validationCode":"// before issuing schema CQL, strip provider clauses\nString safeCql = cql.replaceAll(\"(?i)\\\\s*WITH\\\\s+PROVIDER\\\\s+'[^']*'\", \"\");","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Do not emit WITH PROVIDER clauses in generated CQL on versions without provider support.","Register a driver warning handler to surface/filter ClientWarn messages."],"tags":["cql","schema","client-warning","unimplemented-feature"],"backgroundTag":"method-not-implemented","analyzedSha":"88fd0f6a0eaed8943f05ac9e8f947882b8ddc8f1","analyzedAt":"2026-09-10T07:29:22.284Z","contentChangedAt":"2026-09-10T07:29:22.284Z","schemaVersion":2},"datasetVersion":"2026-09-17T15:17:12.973Z"}