René's URL Explorer Experiment


Title: feat(dataframe): add limit, distinct, dropColumns, withColumnRenamed by andygrove · Pull Request #30 · apache/datafusion-java · GitHub

Open Graph Title: feat(dataframe): add limit, distinct, dropColumns, withColumnRenamed by andygrove · Pull Request #30 · apache/datafusion-java

X Title: feat(dataframe): add limit, distinct, dropColumns, withColumnRenamed by andygrove · Pull Request #30 · apache/datafusion-java

Description: Which issue does this PR close? Closes #. Rationale for this change The Java DataFrame API currently exposes only select and filter as transformations. This PR rounds out the trivially-implementable subset of DataFusion's Rust DataFrame API so users can build small pipelines without falling back to SQL strings. What changes are included in this PR? Four new methods on DataFrame, each backed by a thin JNI bridge that calls the corresponding DataFusion operator: limit(int fetch) / limit(int skip, int fetch) — take the first N rows, optionally after skipping. Negative arguments throw IllegalArgumentException. distinct() — deduplicate rows across all columns. dropColumns(String... columnNames) — inverse of select. Unknown column names are silently ignored (matches DataFusion's drop_columns semantics). withColumnRenamed(String oldName, String newName) — rename a column. Unknown old names are a no-op (matches DataFusion's with_column_renamed semantics). All four follow the existing pattern: throw IllegalStateException on closed/collected handles, and leave the receiver usable so chaining off a shared source is non-destructive. Are these changes tested? Yes. DataFrameTransformationsTest gains 12 new tests covering happy paths, non-destructive semantics, invalid arguments, and the silent-ignore behaviors for dropColumns/withColumnRenamed. The existing methodsThrowAfterClose and methodsThrowAfterCollect lifecycle tests are extended to cover the new methods. Are there any user-facing changes? Yes — four new public methods on org.apache.datafusion.DataFrame. No breaking changes.

Open Graph Description: Which issue does this PR close? Closes #. Rationale for this change The Java DataFrame API currently exposes only select and filter as transformations. This PR rounds out the trivially-implementa...

X Description: Which issue does this PR close? Closes #. Rationale for this change The Java DataFrame API currently exposes only select and filter as transformations. This PR rounds out the trivially-implementa...

Opengraph URL: https://github.com/apache/datafusion-java/pull/30

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:def3fe41-1713-3843-77bb-2fd1b8c4304a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA638:2041A7:2D98FC:3EE1C1:6B046A8F
html-safe-nonce1058bf906491bc38a946cc776e00e788d998b793bc7bcdb5981327024c3e099a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjM4OjIwNDFBNzoyRDk4RkM6M0VFMUMxOjZCMDQ2QThGIiwidmlzaXRvcl9pZCI6Ijc4NTAxMjk5NDMwOTgwNTk0MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac19593056bb4e045205d392d09132412a6b33555a1062cdf02d60d585a59a4a1a
hovercard-subject-tagpull_request:3678687953
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/apache/datafusion-java/pull/30/files
twitter:imagehttps://avatars.githubusercontent.com/u/934084?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/934084?s=400&v=4
og:image:altWhich issue does this PR close? Closes #. Rationale for this change The Java DataFrame API currently exposes only select and filter as transformations. This PR rounds out the trivially-implementa...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/apache/datafusion-java git https://github.com/apache/datafusion-java.git
octolytics-dimension-user_id47359
octolytics-dimension-user_loginapache
octolytics-dimension-repository_id1237105117
octolytics-dimension-repository_nwoapache/datafusion-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1237105117
octolytics-dimension-repository_network_root_nwoapache/datafusion-java
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseca4d07a7cef4e4b75f821dc25e7300d80c1450a9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/datafusion-java/pull/30/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fdatafusion-java%2Fpull%2F30%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fdatafusion-java%2Fpull%2F30%2Ffiles
Sign uphttps://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%2Ffiles&source=header-repo&source_repo=apache%2Fdatafusion-java
Reloadhttps://github.com/apache/datafusion-java/pull/30/files
Reloadhttps://github.com/apache/datafusion-java/pull/30/files
Reloadhttps://github.com/apache/datafusion-java/pull/30/files
apachehttps://github.com/apache
datafusion-javahttps://github.com/apache/datafusion-java
Codehttps://github.com/apache/datafusion-java
Issues10 (10)https://github.com/apache/datafusion-java/issues
Pull requests10 (10)https://github.com/apache/datafusion-java/pulls
Discussionshttps://github.com/apache/datafusion-java/discussions
Actionshttps://github.com/apache/datafusion-java/actions
Security and qualityhttps://github.com/apache/datafusion-java/security
Insightshttps://github.com/apache/datafusion-java/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fapache%2Fdatafusion-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fapache%2Fdatafusion-java%2Fissues%2Fnew%2Fchoose
andygrovehttps://github.com/andygrove
apache:mainhttps://github.com/apache/datafusion-java/tree/main
andygrove:feat/dataframe-methods-batchhttps://github.com/andygrove/datafusion-java/tree/feat/dataframe-methods-batch
Conversation 0 https://github.com/apache/datafusion-java/pull/30
Commits 5 https://github.com/apache/datafusion-java/pull/30/commits
Checks 1 https://github.com/apache/datafusion-java/pull/30/checks
Files changed https://github.com/apache/datafusion-java/pull/30/files
Please reload this pagehttps://github.com/apache/datafusion-java/pull/30/files
feat(dataframe): add limit, distinct, dropColumns, withColumnRenamed https://github.com/apache/datafusion-java/pull/30/files#top
Show all changes 5 commits https://github.com/apache/datafusion-java/pull/30/files
3c1b698 feat(dataframe): add limit method andygrove May 13, 2026 https://github.com/apache/datafusion-java/pull/30/commits/3c1b6985f5ba4d447e6dbd29a4124e859c81d25a
850beeb feat(dataframe): add distinct method andygrove May 13, 2026 https://github.com/apache/datafusion-java/pull/30/commits/850beeb7491d142c2e98f98ebc57bee4a79e87d7
b8673a9 feat(dataframe): add dropColumns method andygrove May 13, 2026 https://github.com/apache/datafusion-java/pull/30/commits/b8673a903a811089c799b8e8f4dd80e46d521aa7
3dcf794 feat(dataframe): add withColumnRenamed method andygrove May 13, 2026 https://github.com/apache/datafusion-java/pull/30/commits/3dcf794ad975ef30c13dbd2f61ee78d45e24d973
0b8592e test(dataframe): cover new methods in lifecycle tests andygrove May 13, 2026 https://github.com/apache/datafusion-java/pull/30/commits/0b8592e28b09f388080ac4d6b805ae87c0987eaa
Clear filters https://github.com/apache/datafusion-java/pull/30/files
Please reload this pagehttps://github.com/apache/datafusion-java/pull/30/files
Please reload this pagehttps://github.com/apache/datafusion-java/pull/30/files
lib.rs https://github.com/apache/datafusion-java/pull/30/files#diff-697685fba8d3d4a3a8a287bad6e1369e50e1c98bd878823415758c2a642cbb6e
DataFrame.java https://github.com/apache/datafusion-java/pull/30/files#diff-c00652b91d74b1a25919d498f9d01ab26806820c9dab0549275b6748dc5d2450
DataFrameTransformationsTest.java https://github.com/apache/datafusion-java/pull/30/files#diff-3bbf74356473e4f2dc18068d11cd58e335635546456f3b5e2a34807f8266e484
native/src/lib.rshttps://github.com/apache/datafusion-java/pull/30/files#diff-697685fba8d3d4a3a8a287bad6e1369e50e1c98bd878823415758c2a642cbb6e
View file https://github.com/andygrove/datafusion-java/blob/0b8592e28b09f388080ac4d6b805ae87c0987eaa/native/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/apache/datafusion-java/pull/30/{{ revealButtonHref }}
https://github.com/apache/datafusion-java/pull/30/files#diff-697685fba8d3d4a3a8a287bad6e1369e50e1c98bd878823415758c2a642cbb6e
https://github.com/apache/datafusion-java/pull/30/files#diff-697685fba8d3d4a3a8a287bad6e1369e50e1c98bd878823415758c2a642cbb6e
src/main/java/org/apache/datafusion/DataFrame.javahttps://github.com/apache/datafusion-java/pull/30/files#diff-c00652b91d74b1a25919d498f9d01ab26806820c9dab0549275b6748dc5d2450
View file https://github.com/andygrove/datafusion-java/blob/0b8592e28b09f388080ac4d6b805ae87c0987eaa/src/main/java/org/apache/datafusion/DataFrame.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/apache/datafusion-java/pull/30/{{ revealButtonHref }}
https://github.com/apache/datafusion-java/pull/30/files#diff-c00652b91d74b1a25919d498f9d01ab26806820c9dab0549275b6748dc5d2450
https://github.com/apache/datafusion-java/pull/30/files#diff-c00652b91d74b1a25919d498f9d01ab26806820c9dab0549275b6748dc5d2450
https://github.com/apache/datafusion-java/pull/30/files#diff-c00652b91d74b1a25919d498f9d01ab26806820c9dab0549275b6748dc5d2450
https://github.com/apache/datafusion-java/pull/30/files#diff-c00652b91d74b1a25919d498f9d01ab26806820c9dab0549275b6748dc5d2450
src/test/java/org/apache/datafusion/DataFrameTransformationsTest.javahttps://github.com/apache/datafusion-java/pull/30/files#diff-3bbf74356473e4f2dc18068d11cd58e335635546456f3b5e2a34807f8266e484
View file https://github.com/andygrove/datafusion-java/blob/0b8592e28b09f388080ac4d6b805ae87c0987eaa/src/test/java/org/apache/datafusion/DataFrameTransformationsTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/apache/datafusion-java/pull/30/{{ revealButtonHref }}
https://github.com/apache/datafusion-java/pull/30/files#diff-3bbf74356473e4f2dc18068d11cd58e335635546456f3b5e2a34807f8266e484
https://github.com/apache/datafusion-java/pull/30/files#diff-3bbf74356473e4f2dc18068d11cd58e335635546456f3b5e2a34807f8266e484
https://github.com/apache/datafusion-java/pull/30/files#diff-3bbf74356473e4f2dc18068d11cd58e335635546456f3b5e2a34807f8266e484
https://github.com/apache/datafusion-java/pull/30/files#diff-3bbf74356473e4f2dc18068d11cd58e335635546456f3b5e2a34807f8266e484
Please reload this pagehttps://github.com/apache/datafusion-java/pull/30/files
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.