{"record":{"id":"630e7976e94e356d","repo":"apache/flink","slug":"partition-keys-are-s-incomplete-partition-spec","errorCode":null,"errorMessage":"Partition keys are: %s, incomplete partition spec: %s","messagePattern":"Partition keys are: (.+?), incomplete partition spec: (.+?)","errorType":"exception","errorClass":"TableException","httpStatus":null,"severity":"error","filePath":"flink-connectors/flink-connector-files/src/main/java/org/apache/flink/connector/file/table/FileSystemTableSource.java","lineNumber":445,"sourceCode":"    }\n\n    @Override\n    public String asSummaryString() {\n        return \"Filesystem\";\n    }\n\n    private List<Map<String, String>> getOrFetchPartitions() {\n        if (remainingPartitions == null) {\n            remainingPartitions = listPartitions().get();\n        }\n        return remainingPartitions;\n    }\n\n    private LinkedHashMap<String, String> toFullLinkedPartSpec(Map<String, String> part) {\n        LinkedHashMap<String, String> map = new LinkedHashMap<>();\n        for (String k : partitionKeys) {\n            if (!part.containsKey(k)) {\n                throw new TableException(\n                        \"Partition keys are: \"\n                                + partitionKeys\n                                + \", incomplete partition spec: \"\n                                + part);\n            }\n            map.put(k, part.get(k));\n        }\n        return map;\n    }\n\n    // --------------------------------------------------------------------------------------------\n    // Methods to apply projections and metadata,\n    // will influence the final output and physical type used by formats\n    // --------------------------------------------------------------------------------------------\n\n    @Override\n    public void applyProjection(int[][] projectedFields, DataType producedDataType) {\n        this.projectFields = projectedFields;","sourceCodeStart":427,"sourceCodeEnd":463,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-connectors/flink-connector-files/src/main/java/org/apache/flink/connector/file/table/FileSystemTableSource.java#L427-L463","documentation":"Error \"Partition keys are: %s, incomplete partition spec: %s\" thrown in apache/flink.","triggerScenarios":"Triggered at runtime when the operation fails because: Partition keys are: the reported value, incomplete partition spec: the reported value.","commonSituations":"Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: Partition keys are: the reported value, incomplete partition spec: the reported value.","solutions":["Address the cause reported by the error message: Partition keys are: the reported value, incomplete partition spec: the reported value","Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry."],"exampleFix":"Correct the condition described (\"Partition keys are: the reported value, incomplete partition spec: the reported value\") and rerun the job or command.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2f3c205e9266cb30240eb7f4fdab15cad629a70f","analyzedAt":"2026-08-14T08:48:24.518Z","schemaVersion":2},"datasetVersion":"2026-08-14T10:17:34.591Z"}