{"record":{"id":"f8d045f63535d709","repo":"apache/iceberg","slug":"incremental-changelog-scan-is-not-supported","errorCode":null,"errorMessage":"Incremental changelog scan is not supported","messagePattern":"Incremental changelog scan is not supported","errorType":"exception","errorClass":"UnsupportedOperationException","httpStatus":null,"severity":"error","filePath":"api/src/main/java/org/apache/iceberg/Table.java","lineNumber":83,"sourceCode":"   * Create a new {@link IncrementalAppendScan scan} for this table.\n   *\n   * <p>Once a scan is created, it can be refined to project columns and filter data.\n   *\n   * @return an incremental scan for appends only snapshots\n   */\n  default IncrementalAppendScan newIncrementalAppendScan() {\n    throw new UnsupportedOperationException(\"Incremental append scan is not supported\");\n  }\n\n  /**\n   * Create a new {@link IncrementalChangelogScan} for this table.\n   *\n   * <p>Once a scan is created, it can be refined to project columns and filter data.\n   *\n   * @return an incremental changelog scan\n   */\n  default IncrementalChangelogScan newIncrementalChangelogScan() {\n    throw new UnsupportedOperationException(\"Incremental changelog scan is not supported\");\n  }\n\n  /**\n   * Create a new {@link PartitionStatisticsScan} for this table.\n   *\n   * <p>Once a partition statistics scan is created, it can be refined to project columns and filter\n   * data.\n   *\n   * @return a partition statistics scan for this table\n   */\n  default PartitionStatisticsScan newPartitionStatisticsScan() {\n    throw new UnsupportedOperationException(\"Partition statistics scan is not supported\");\n  }\n\n  /**\n   * Return the {@link Schema schema} for this table.\n   *\n   * @return this table's schema","sourceCodeStart":65,"sourceCodeEnd":101,"githubUrl":"https://github.com/apache/iceberg/blob/86d9c8fc543e7c56c9f624eb725f76c9baff9570/api/src/main/java/org/apache/iceberg/Table.java#L65-L101","documentation":"Default-method guard on Table: this table implementation does not support incremental changelog scans, so newIncrementalChangelogScan always fails. Like the append-scan guard, it reflects a missing capability of the runtime table class rather than any property of the table data.","triggerScenarios":"Thrown at api/src/main/java/org/apache/iceberg/Table.java:83 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a table implementation that implements newIncrementalChangelogScan","Derive changes manually from snapshot metadata if changelog scans are unavailable","Catch UnsupportedOperationException and surface an explicit unsupported-feature error"],"exampleFix":null,"handlingStrategy":"type-guard","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"86d9c8fc543e7c56c9f624eb725f76c9baff9570","analyzedAt":"2026-09-12T00:46:39.097Z","contentChangedAt":"2026-09-12T00:46:39.097Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}