Title: feat: expose JSON reader via registerJson and readJson · Issue #35 · apache/datafusion-java · GitHub
Open Graph Title: feat: expose JSON reader via registerJson and readJson · Issue #35 · apache/datafusion-java
X Title: feat: expose JSON reader via registerJson and readJson · Issue #35 · apache/datafusion-java
Description: Is your feature request related to a problem or challenge? DataFusion 53.1 has built-in support for newline-delimited JSON (SessionContext::read_json / register_json), but the Java binding currently only exposes Parquet (#18) and CSV (#2...
Open Graph Description: Is your feature request related to a problem or challenge? DataFusion 53.1 has built-in support for newline-delimited JSON (SessionContext::read_json / register_json), but the Java binding currentl...
X Description: Is your feature request related to a problem or challenge? DataFusion 53.1 has built-in support for newline-delimited JSON (SessionContext::read_json / register_json), but the Java binding currentl...
Opengraph URL: https://github.com/apache/datafusion-java/issues/35
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat: expose JSON reader via registerJson and readJson","articleBody":"### Is your feature request related to a problem or challenge?\n\nDataFusion 53.1 has built-in support for newline-delimited JSON\n(`SessionContext::read_json` / `register_json`), but the Java binding\ncurrently only exposes Parquet (#18) and CSV (#21). Users wanting to\nquery JSON files have to fall back to `CREATE EXTERNAL TABLE` via SQL,\nwhich loses the typed-options ergonomics the Parquet/CSV bindings\nalready provide.\n\n### Describe the solution you'd like\n\nMirror the existing reader pattern:\n\n- Add an `NdJsonReadOptions` value class analogous to\n `ParquetReadOptions` / `CsvReadOptions` (file extension, schema,\n schema-infer-max-records, compression, etc.).\n- Add a `proto/json_read_options.proto` and pass options through the\n established proto-over-JNI convention (#29).\n- Expose `SessionContext.registerJson(name, path[, options])` and\n `readJson(path[, options])`.\n- Cover with tests in the spirit of `SessionContextCsvTest` /\n `ParquetReadOptionsTest`.\n\n### Describe alternatives you've considered\n\nUsers can issue `CREATE EXTERNAL TABLE … STORED AS JSON` via\n`SessionContext.sql`. This works but bypasses the typed builder pattern\nand gives a less discoverable Java API.\n\n### Additional context\n\nDataFusion's JSON reader is in the default feature set, so no Cargo\nfeature flag changes are required on the native side.","author":{"url":"https://github.com/andygrove","@type":"Person","name":"andygrove"},"datePublished":"2026-05-13T22:06:02Z","url":"https://github.com/apache/datafusion-java/issues/35"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:467c5d2e-5e0f-ba29-109e-5032a69e3ce3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8FAA:1F9F68:29F345:3A0872:6B046A0B |
| html-safe-nonce | a1df927f5495d1a069cc42145fcd5fb080e528abe313a4c2f08779116a87e2c9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkFBOjFGOUY2ODoyOUYzNDU6M0EwODcyOjZCMDQ2QTBCIiwidmlzaXRvcl9pZCI6IjY4MjEzMzg2OTcwNjIxODEzODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9970f4c7f6f2bc264d5cb755f3e2e6c0877dc0b811b000c38fc84b44e5d83fe5 |
| hovercard-subject-tag | issue:4441502162 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/datafusion-java/35/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2266a77b8045d4277c6bf675dc2fd2544a86d4a538df7b574d8d31517f0eb5e7/apache/datafusion-java/issues/35 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2266a77b8045d4277c6bf675dc2fd2544a86d4a538df7b574d8d31517f0eb5e7/apache/datafusion-java/issues/35 |
| og:image:alt | Is your feature request related to a problem or challenge? DataFusion 53.1 has built-in support for newline-delimited JSON (SessionContext::read_json / register_json), but the Java binding currentl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andygrove |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/datafusion-java git https://github.com/apache/datafusion-java.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 1237105117 |
| octolytics-dimension-repository_nwo | apache/datafusion-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1237105117 |
| octolytics-dimension-repository_network_root_nwo | apache/datafusion-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width