René's URL Explorer Experiment


Title: feat(dataframe): add writeJson with JsonWriteOptions by LantaoJin · Pull Request #61 · apache/datafusion-java · GitHub

Open Graph Title: feat(dataframe): add writeJson with JsonWriteOptions by LantaoJin · Pull Request #61 · apache/datafusion-java

X Title: feat(dataframe): add writeJson with JsonWriteOptions by LantaoJin · Pull Request #61 · apache/datafusion-java

Description: Which issue does this PR close? Closes #39 . Rationale for this change DataFrame.writeParquet shipped in #27. JSON is the third writer DataFusion's DataFrame API exposes natively (DataFrame::write_json) and is the easiest format to consume from non-Arrow downstream tooling. The implementation follows the same proto-over-JNI pattern as the merged readers, mirrors the writer-side shape we'd land for CSV (#38), and has zero binary-size impact -- DataFusion's JSON support is in the default feature set, no Cargo flag changes required. What changes are included in this PR? proto/json_write_options.proto -- new JsonWriteOptionsProto message JsonWriteOptions Java builder Java_org_apache_datafusion_DataFrame_writeJsonWithOptions JNI handler in native/src/json.rs Are these changes tested? Yes -- 9 new tests across JsonWriteOptionsTest and DataFrameWriteJsonTest. Are there any user-facing changes? Yes -- purely additive. New public API: org.apache.datafusion.JsonWriteOptions DataFrame.writeJson(String) DataFrame.writeJson(String, JsonWriteOptions) The new org.apache.datafusion.protobuf.JsonWriteOptionsProto generated class is also exposed via the protobuf-Java output, consistent with how CsvReadOptionsProto, NdJsonReadOptionsProto, etc. are exposed. No API removals, no deprecations, no behavior change for existing callers. No Cargo feature changes; binary size is unchanged.

Open Graph Description: Which issue does this PR close? Closes #39 . Rationale for this change DataFrame.writeParquet shipped in #27. JSON is the third writer DataFusion's DataFrame API exposes natively (DataFrame::...

X Description: Which issue does this PR close? Closes #39 . Rationale for this change DataFrame.writeParquet shipped in #27. JSON is the third writer DataFusion's DataFrame API exposes natively (DataFra...

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

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:6ec591f9-c3aa-aa4e-b5d7-6cc557be1f2f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD3D0:24C069:2C8834:3D908E:6B046A8B
html-safe-nonce4bd18b6cae5fa6791ab63495e6a21e76488077369eabcf8626355d0fa4e44f39
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0QwOjI0QzA2OToyQzg4MzQ6M0Q5MDhFOjZCMDQ2QThCIiwidmlzaXRvcl9pZCI6IjEwNzE3Mzg0NTk3NzUwNjg4MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca04233e559f2906818b02c1e98d67a06e82bafdfb46c3dbae9993dbccdaba5e1
hovercard-subject-tagpull_request:3701097840
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/61/files
twitter:imagehttps://avatars.githubusercontent.com/u/1853780?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1853780?s=400&v=4
og:image:altWhich issue does this PR close? Closes #39 . Rationale for this change DataFrame.writeParquet shipped in #27. JSON is the third writer DataFusion's DataFrame API exposes natively (DataFrame::...
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/61/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fdatafusion-java%2Fpull%2F61%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%2F61%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/61/files
Reloadhttps://github.com/apache/datafusion-java/pull/61/files
Reloadhttps://github.com/apache/datafusion-java/pull/61/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
LantaoJin:feat/dataframe-write-jsonhttps://github.com/LantaoJin/datafusion-java/tree/feat/dataframe-write-json
Conversation 2 https://github.com/apache/datafusion-java/pull/61
Commits 2 https://github.com/apache/datafusion-java/pull/61/commits
Checks 1 https://github.com/apache/datafusion-java/pull/61/checks
Files changed https://github.com/apache/datafusion-java/pull/61/files
Please reload this pagehttps://github.com/apache/datafusion-java/pull/61/files
feat(dataframe): add writeJson with JsonWriteOptions https://github.com/apache/datafusion-java/pull/61/files#top
Show all changes 2 commits https://github.com/apache/datafusion-java/pull/61/files
ac475bd feat(dataframe): add writeJson with JsonWriteOptions LantaoJin May 18, 2026 https://github.com/apache/datafusion-java/pull/61/commits/ac475bdb1b5b82587b9191dffe9dd48b32207be1
31452b5 Merge remote-tracking branch 'upstream/main' into feat/dataframe-writ… LantaoJin May 19, 2026 https://github.com/apache/datafusion-java/pull/61/commits/31452b5c785710a391289e0796a01057fcc1ec86
Clear filters https://github.com/apache/datafusion-java/pull/61/files
Please reload this pagehttps://github.com/apache/datafusion-java/pull/61/files
Please reload this pagehttps://github.com/apache/datafusion-java/pull/61/files
DataFrame.java https://github.com/apache/datafusion-java/pull/61/files#diff-a044f0300400b70bd8ec9c4e4a27c17b89674595e0ae3f5a6ebf88e393ba479b
JsonWriteOptions.java https://github.com/apache/datafusion-java/pull/61/files#diff-4cc42d422901b826fd3ca13cd116bfc0839eff07ceb45f3e1083b851c1258304
DataFrameWriteJsonTest.java https://github.com/apache/datafusion-java/pull/61/files#diff-7716a1b5fd7c31b10adb35bb67900e1736df36a39c3d76028c08850f35fea836
JsonWriteOptionsTest.java https://github.com/apache/datafusion-java/pull/61/files#diff-4d32ab68b6b1ec061a3f3225e430d84bc42ef4cf1d14748151411c0b2c9ba8a6
build.rs https://github.com/apache/datafusion-java/pull/61/files#diff-358ae2245aa2cd99768b0c568a07648d4c26c8cdd84b15cd6f0af2680ec85240
json.rs https://github.com/apache/datafusion-java/pull/61/files#diff-62740719457b09bd94c4c094562152ba5eff47b34b032f7480d144b01a51b042
json_write_options.proto https://github.com/apache/datafusion-java/pull/61/files#diff-1a4e0b645da5a1c5ca6184a0df01bee244a5e86f9396755a68684774a1d692af
core/src/main/java/org/apache/datafusion/DataFrame.javahttps://github.com/apache/datafusion-java/pull/61/files#diff-a044f0300400b70bd8ec9c4e4a27c17b89674595e0ae3f5a6ebf88e393ba479b
View file https://github.com/LantaoJin/datafusion-java/blob/31452b5c785710a391289e0796a01057fcc1ec86/core/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/61/{{ revealButtonHref }}
https://github.com/apache/datafusion-java/pull/61/files#diff-a044f0300400b70bd8ec9c4e4a27c17b89674595e0ae3f5a6ebf88e393ba479b
https://github.com/apache/datafusion-java/pull/61/files#diff-a044f0300400b70bd8ec9c4e4a27c17b89674595e0ae3f5a6ebf88e393ba479b
https://github.com/apache/datafusion-java/pull/61/files#diff-a044f0300400b70bd8ec9c4e4a27c17b89674595e0ae3f5a6ebf88e393ba479b
core/src/main/java/org/apache/datafusion/JsonWriteOptions.javahttps://github.com/apache/datafusion-java/pull/61/files#diff-4cc42d422901b826fd3ca13cd116bfc0839eff07ceb45f3e1083b851c1258304
View file https://github.com/LantaoJin/datafusion-java/blob/31452b5c785710a391289e0796a01057fcc1ec86/core/src/main/java/org/apache/datafusion/JsonWriteOptions.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/apache/datafusion-java/pull/61/{{ revealButtonHref }}
core/src/test/java/org/apache/datafusion/DataFrameWriteJsonTest.javahttps://github.com/apache/datafusion-java/pull/61/files#diff-7716a1b5fd7c31b10adb35bb67900e1736df36a39c3d76028c08850f35fea836
View file https://github.com/LantaoJin/datafusion-java/blob/31452b5c785710a391289e0796a01057fcc1ec86/core/src/test/java/org/apache/datafusion/DataFrameWriteJsonTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/apache/datafusion-java/pull/61/{{ revealButtonHref }}
core/src/test/java/org/apache/datafusion/JsonWriteOptionsTest.javahttps://github.com/apache/datafusion-java/pull/61/files#diff-4d32ab68b6b1ec061a3f3225e430d84bc42ef4cf1d14748151411c0b2c9ba8a6
View file https://github.com/LantaoJin/datafusion-java/blob/31452b5c785710a391289e0796a01057fcc1ec86/core/src/test/java/org/apache/datafusion/JsonWriteOptionsTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/apache/datafusion-java/pull/61/{{ revealButtonHref }}
native/build.rshttps://github.com/apache/datafusion-java/pull/61/files#diff-358ae2245aa2cd99768b0c568a07648d4c26c8cdd84b15cd6f0af2680ec85240
View file https://github.com/LantaoJin/datafusion-java/blob/31452b5c785710a391289e0796a01057fcc1ec86/native/build.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/apache/datafusion-java/pull/61/{{ revealButtonHref }}
https://github.com/apache/datafusion-java/pull/61/files#diff-358ae2245aa2cd99768b0c568a07648d4c26c8cdd84b15cd6f0af2680ec85240
https://github.com/apache/datafusion-java/pull/61/files#diff-358ae2245aa2cd99768b0c568a07648d4c26c8cdd84b15cd6f0af2680ec85240
Please reload this pagehttps://github.com/apache/datafusion-java/pull/61/files
Please reload this pagehttps://github.com/apache/datafusion-java/pull/61/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.