docling-project / docling-project/docling

Continued table across pages is split into multiple tables

Open
#2,976 3 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
66.4k
Forks
4.8k
Avg merge
2d 21h
Merged PRs (30d)
84

Description

---

### Bug

When processing a PDF that contains a table spanning multiple pages, Docling does not merge the continued table into a single logical table.

If a table starts on one page and continues on the next page, it is split into multiple separate tables instead of being recognized as one continuous table.

This issue occurs in both:

* VLM pipeline
* Standard pipeline

In some cases, a single logical table is split into 2 separate tables.

---

### Steps to reproduce

1. Use a PDF that contains a table spanning across two pages.

* Example: Page 1 contains table header + rows.
* Page 2 contains the continuation of the same table (remaining rows).

2. Run Docling using either:
* VLM pipeline, or
* Standard pipeline.

3. Inspect the extracted tables in the output.

**Observed result:**
The table is split into multiple independent tables.

**Expected result:**
The full table (including rows from both pages) should be merged into a single structured table.

---

### Docling version

2.68.0

---

### Python version

3.12.11

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.