René's URL Explorer Experiment


Title: fix: scan misaligned per-column chunk grids (#221) by dfa1 · Pull Request #223 · dfa1/vortex-java · GitHub

Open Graph Title: fix: scan misaligned per-column chunk grids (#221) by dfa1 · Pull Request #223 · dfa1/vortex-java

X Title: fix: scan misaligned per-column chunk grids (#221) by dfa1 · Pull Request #223 · dfa1/vortex-java

Description: Fixes #221, found by Raincloud triage round 3 (#205): ScanIterator.buildChunks rejected files whose columns use different chunk grids ("mixed per-column chunking beyond 1-vs-N is not supported") — files the Rust reader handles fine. Approach mirrors the Rust reference (vortex-layout/src/scan/split_by.rs + register_splits down the layout tree): scan windows are the sorted-deduped union of every column's chunk boundaries. For each window, each column advances a monotonic cursor to its covering chunk and slices to the window. This one model subsumes both failure tiers — nested boundaries (emotions) and truly disjoint grids (beijing) — with no tier-specific code. No regression to the fast paths: isWholeFlat gates a window that equals a whole chunk straight into that chunk's arena (aligned N-vs-N and 1-vs-N keep per-chunk zero-copy, no slice wrapper). A coarse chunk spanning several windows is decoded once into a shared arena and sliced zero-copy per window. Validation: New ScanIteratorChunkGridTest (aligned, 1-vs-N, nested [8,8,8,4]-vs-[2×14], disjoint [3,3,2]-vs-[4,4], empty). Reader 1143 tests green; full verify -pl integration -am 287 ITs green (no scan regressions). Real files: uci-beijing-multi-site-air-quality (7.5M cells) and emotions-dataset-for-nlp (833k cells) both export and match the Parquet oracle exactly. Matrix: both gap:221 → ok (30 ok / 0 gaps); docs + CHANGELOG updated. Reviewer note (from the agent): coarse covering flats are cached for the iterator's lifetime in a shared arena — correctness and decode-once are satisfied; per-chunk arena eviction on a very wide disjoint file is a possible future memory optimization, not a correctness issue. Closes #221 🤖 Generated with Claude Code

Open Graph Description: Fixes #221, found by Raincloud triage round 3 (#205): ScanIterator.buildChunks rejected files whose columns use different chunk grids ("mixed per-column chunking beyond 1-vs-N is not supported...

X Description: Fixes #221, found by Raincloud triage round 3 (#205): ScanIterator.buildChunks rejected files whose columns use different chunk grids ("mixed per-column chunking beyond 1-vs-N is not suppo...

Opengraph URL: https://github.com/dfa1/vortex-java/pull/223

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits/:range(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:5bd1f5b3-6903-dd64-8a20-8fa82694ca56
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC6DE:54847:4FCFD4B:6A69E37:6A655898
html-safe-nonce50928c05b1defb754711fdb29db659adf718fe70ab5d7f710bedfebd658447ea
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNkRFOjU0ODQ3OjRGQ0ZENEI6NkE2OUUzNzo2QTY1NTg5OCIsInZpc2l0b3JfaWQiOiI0NTk0MTM0MDc2ODk2OTMzMzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd6574608b94a0342858da848527e857819e3384f12a1d0b5d487153f279dc410
hovercard-subject-tagpull_request:4004181792
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29
twitter:imagehttps://avatars.githubusercontent.com/u/5798698?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5798698?s=400&v=4
og:image:altFixes #221, found by Raincloud triage round 3 (#205): ScanIterator.buildChunks rejected files whose columns use different chunk grids ("mixed per-column chunking beyond 1-vs-N is not supported...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/dfa1/vortex-java git https://github.com/dfa1/vortex-java.git
octolytics-dimension-user_id5798698
octolytics-dimension-user_logindfa1
octolytics-dimension-repository_id1249412947
octolytics-dimension-repository_nwodfa1/vortex-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1249412947
octolytics-dimension-repository_network_root_nwodfa1/vortex-java
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release309153364422b3c499922d1a2a6404910a58ed8e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdfa1%2Fvortex-java%2Fpull%2F223%2Fcommits%2F023041f92dd75eaf2e0314ba8a4de9107f238a29
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdfa1%2Fvortex-java%2Fpull%2F223%2Fcommits%2F023041f92dd75eaf2e0314ba8a4de9107f238a29
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=dfa1%2Fvortex-java
Reloadhttps://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29
Reloadhttps://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29
Reloadhttps://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29
dfa1 https://github.com/dfa1
vortex-javahttps://github.com/dfa1/vortex-java
Notifications https://github.com/login?return_to=%2Fdfa1%2Fvortex-java
Fork 1 https://github.com/login?return_to=%2Fdfa1%2Fvortex-java
Star 2 https://github.com/login?return_to=%2Fdfa1%2Fvortex-java
Code https://github.com/dfa1/vortex-java
Issues 2 https://github.com/dfa1/vortex-java/issues
Pull requests 7 https://github.com/dfa1/vortex-java/pulls
Discussions https://github.com/dfa1/vortex-java/discussions
Actions https://github.com/dfa1/vortex-java/actions
Projects https://github.com/dfa1/vortex-java/projects
Security and quality 0 https://github.com/dfa1/vortex-java/security
Insights https://github.com/dfa1/vortex-java/pulse
Code https://github.com/dfa1/vortex-java
Issues https://github.com/dfa1/vortex-java/issues
Pull requests https://github.com/dfa1/vortex-java/pulls
Discussions https://github.com/dfa1/vortex-java/discussions
Actions https://github.com/dfa1/vortex-java/actions
Projects https://github.com/dfa1/vortex-java/projects
Security and quality https://github.com/dfa1/vortex-java/security
Insights https://github.com/dfa1/vortex-java/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fdfa1%2Fvortex-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdfa1%2Fvortex-java%2Fissues%2Fnew%2Fchoose
dfa1https://github.com/dfa1
mainhttps://github.com/dfa1/vortex-java/tree/main
fix/221-chunk-gridshttps://github.com/dfa1/vortex-java/tree/fix/221-chunk-grids
Conversation 1 https://github.com/dfa1/vortex-java/pull/223
Commits 2 https://github.com/dfa1/vortex-java/pull/223/commits
Checks 6 https://github.com/dfa1/vortex-java/pull/223/checks
Files changed https://github.com/dfa1/vortex-java/pull/223/files
Please reload this pagehttps://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29
fix: scan misaligned per-column chunk grids (#221) https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#top
Show all changes 2 commits https://github.com/dfa1/vortex-java/pull/223/files
023041f fix: scan misaligned per-column chunk grids (#221) dfa1 Jul 7, 2026 https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29
0840419 review: ground-truth mixed-grid test + evict passed coarse flats (#221) dfa1 Jul 7, 2026 https://github.com/dfa1/vortex-java/pull/223/commits/0840419261135d1ca9a8127f6e8393300b7a9c3e
Clear filters https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29
Please reload this pagehttps://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29
Please reload this pagehttps://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29
CHANGELOG.md https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
compatibility.md https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-16cdac13dd8a32decd591a6b2ab41b65468dc12835e78ee1bceb4e6b7fbcf315
expected-status.csv https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-40eee1cb89944ed33f37a7e60fa6bccc8e4bc666f5d1ea394061b7f54e04c899
ScanIterator.java https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-1643b5e83139e250d45e253c8918b4684dd421b97979c39b046a2a62a5adc1b2
ScanIteratorChunkGridTest.java https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-6798c9e6735e35f5a7732d208519cc282aec95fe208bfced0309824c3018b334
Next https://github.com/dfa1/vortex-java/pull/223/commits/0840419261135d1ca9a8127f6e8393300b7a9c3e
#221https://github.com/dfa1/vortex-java/issues/221
#221https://github.com/dfa1/vortex-java/issues/221
Please reload this pagehttps://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29
https://github.com/dfa1
https://github.com/claude
dfa1https://github.com/dfa1/vortex-java/commits?author=dfa1
claudehttps://github.com/dfa1/vortex-java/commits?author=claude
CHANGELOG.mdhttps://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
View file https://github.com/dfa1/vortex-java/blob/023041f92dd75eaf2e0314ba8a4de9107f238a29/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/dfa1/vortex-java/pull/223/commits/{{ revealButtonHref }}
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
docs/compatibility.mdhttps://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-16cdac13dd8a32decd591a6b2ab41b65468dc12835e78ee1bceb4e6b7fbcf315
View file https://github.com/dfa1/vortex-java/blob/023041f92dd75eaf2e0314ba8a4de9107f238a29/docs/compatibility.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/dfa1/vortex-java/pull/223/commits/{{ revealButtonHref }}
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-16cdac13dd8a32decd591a6b2ab41b65468dc12835e78ee1bceb4e6b7fbcf315
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-16cdac13dd8a32decd591a6b2ab41b65468dc12835e78ee1bceb4e6b7fbcf315
integration/src/test/resources/raincloud/expected-status.csvhttps://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-40eee1cb89944ed33f37a7e60fa6bccc8e4bc666f5d1ea394061b7f54e04c899
View file https://github.com/dfa1/vortex-java/blob/023041f92dd75eaf2e0314ba8a4de9107f238a29/integration/src/test/resources/raincloud/expected-status.csv
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/dfa1/vortex-java/pull/223/commits/{{ revealButtonHref }}
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-40eee1cb89944ed33f37a7e60fa6bccc8e4bc666f5d1ea394061b7f54e04c899
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-40eee1cb89944ed33f37a7e60fa6bccc8e4bc666f5d1ea394061b7f54e04c899
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-40eee1cb89944ed33f37a7e60fa6bccc8e4bc666f5d1ea394061b7f54e04c899
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-40eee1cb89944ed33f37a7e60fa6bccc8e4bc666f5d1ea394061b7f54e04c899
reader/src/main/java/io/github/dfa1/vortex/reader/ScanIterator.javahttps://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-1643b5e83139e250d45e253c8918b4684dd421b97979c39b046a2a62a5adc1b2
View file https://github.com/dfa1/vortex-java/blob/023041f92dd75eaf2e0314ba8a4de9107f238a29/reader/src/main/java/io/github/dfa1/vortex/reader/ScanIterator.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/dfa1/vortex-java/pull/223/commits/{{ revealButtonHref }}
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-1643b5e83139e250d45e253c8918b4684dd421b97979c39b046a2a62a5adc1b2
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-1643b5e83139e250d45e253c8918b4684dd421b97979c39b046a2a62a5adc1b2
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-1643b5e83139e250d45e253c8918b4684dd421b97979c39b046a2a62a5adc1b2
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-1643b5e83139e250d45e253c8918b4684dd421b97979c39b046a2a62a5adc1b2
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-1643b5e83139e250d45e253c8918b4684dd421b97979c39b046a2a62a5adc1b2
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-1643b5e83139e250d45e253c8918b4684dd421b97979c39b046a2a62a5adc1b2
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-1643b5e83139e250d45e253c8918b4684dd421b97979c39b046a2a62a5adc1b2
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-1643b5e83139e250d45e253c8918b4684dd421b97979c39b046a2a62a5adc1b2
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-1643b5e83139e250d45e253c8918b4684dd421b97979c39b046a2a62a5adc1b2
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-1643b5e83139e250d45e253c8918b4684dd421b97979c39b046a2a62a5adc1b2
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-1643b5e83139e250d45e253c8918b4684dd421b97979c39b046a2a62a5adc1b2
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-1643b5e83139e250d45e253c8918b4684dd421b97979c39b046a2a62a5adc1b2
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-1643b5e83139e250d45e253c8918b4684dd421b97979c39b046a2a62a5adc1b2
https://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29#diff-1643b5e83139e250d45e253c8918b4684dd421b97979c39b046a2a62a5adc1b2
Please reload this pagehttps://github.com/dfa1/vortex-java/pull/223/commits/023041f92dd75eaf2e0314ba8a4de9107f238a29
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.