{"record":{"id":"8773047435d33808","repo":"prestodb/presto","slug":"procedure-not-found-877304","errorCode":"PROCEDURE_NOT_FOUND","errorMessage":"Procedure not registered: ","messagePattern":"Procedure not registered: ","errorType":"error_code","errorClass":"PrestoException","httpStatus":null,"severity":"error","filePath":"presto-main-base/src/main/java/com/facebook/presto/testing/TestProcedureRegistry.java","lineNumber":68,"sourceCode":"    }\n\n    @Override\n    public void removeProcedures(ConnectorId connectorId)\n    {\n        connectorProcedures.remove(connectorId);\n    }\n\n    @Override\n    public BaseProcedure<?> resolve(ConnectorId connectorId, SchemaTableName name)\n    {\n        Map<SchemaTableName, BaseProcedure<?>> procedures = connectorProcedures.get(connectorId);\n        if (procedures != null) {\n            BaseProcedure<?> procedure = procedures.get(name);\n            if (procedure != null) {\n                return procedure;\n            }\n        }\n        throw new PrestoException(PROCEDURE_NOT_FOUND, \"Procedure not registered: \" + name);\n    }\n\n    @Override\n    public DistributedProcedure resolveDistributed(ConnectorId connectorId, SchemaTableName name)\n    {\n        Map<SchemaTableName, BaseProcedure<?>> procedures = connectorProcedures.get(connectorId);\n        if (procedures != null) {\n            BaseProcedure<?> procedure = procedures.get(name);\n            if (procedure instanceof DistributedProcedure) {\n                return (DistributedProcedure) procedure;\n            }\n        }\n        throw new PrestoException(PROCEDURE_NOT_FOUND, \"Distributed procedure not registered: \" + name);\n    }\n\n    @Override\n    public boolean isDistributedProcedure(ConnectorId connectorId, SchemaTableName name)\n    {","sourceCodeStart":50,"sourceCodeEnd":86,"githubUrl":"https://github.com/prestodb/presto/blob/55bb57d202de3b926896fa966c2c4a44c779634e/presto-main-base/src/main/java/com/facebook/presto/testing/TestProcedureRegistry.java#L50-L86","documentation":"Testing-only registry error from TestProcedureRegistry.resolve: no procedure with the requested schema.table name is registered for the connector. This is the PROCEDURE_NOT_FOUND sentinel for the in-memory test registry; the faulty input is the procedure name being resolved.","triggerScenarios":"Thrown at presto-main-base/src/main/java/com/facebook/presto/testing/TestProcedureRegistry.java:68 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Register the procedure via addProcedures before resolving it","Check the procedure's schema and table name spelling","Ensure the correct ConnectorId is used when resolving"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"55bb57d202de3b926896fa966c2c4a44c779634e","analyzedAt":"2026-09-04T12:50:26.162Z","contentChangedAt":"2026-09-04T12:50:26.162Z","schemaVersion":2},"datasetVersion":"2026-09-11T21:17:09.523Z"}