Skip to content

fix: preserve table row boundaries - #4376

Open
2830500285 wants to merge 2 commits into
Unstructured-IO:mainfrom
2830500285:codex/restore-table-row-boundaries
Open

fix: preserve table row boundaries#4376
2830500285 wants to merge 2 commits into
Unstructured-IO:mainfrom
2830500285:codex/restore-table-row-boundaries

Conversation

@2830500285

@2830500285 2830500285 commented Jun 24, 2026

Copy link
Copy Markdown

Summary

Testing

  • uv run --no-sync ruff format --check unstructured/common/html_table.py test_unstructured/common/test_html_table.py test_unstructured/partition/test_constants.py test_unstructured/partition/test_csv.py test_unstructured/partition/test_tsv.py test_unstructured/partition/test_xlsx.py && uv run --no-sync ruff check unstructured/common/html_table.py test_unstructured/common/test_html_table.py test_unstructured/partition/test_constants.py test_unstructured/partition/test_csv.py test_unstructured/partition/test_tsv.py test_unstructured/partition/test_xlsx.py
  • uv run --no-sync pytest test_unstructured/common/test_html_table.py test_unstructured/partition/test_csv.py test_unstructured/partition/test_tsv.py test_unstructured/partition/test_xlsx.py -q

Note

  • scripts/version-sync.sh -c -f unstructured/__version__.py semver could not complete locally on macOS because the script requires GNU sed >= 4.3; CHANGELOG.md and unstructured/__version__.py were manually synced to 0.23.3.

Review in cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 8 files

Shadow auto-approve: would not auto-approve because issues were found.

Re-trigger cubic

Comment thread unstructured/common/html_table.py

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 2 files (changes from recent commits).

Shadow auto-approve: would require human review. Changes modify core table text generation logic in HtmlTable, which can affect data extraction from CSV, TSV, XLSX partitions. This is a logic change to a critical path with potential for breaking downstream consumers.

Re-trigger cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug/XLSX Table string representation loses row boundaries after 0.16.0 causing flattened output from partition_xlsx

1 participant