You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@parquet.apache.org by "coastalwhite (via GitHub)" <gi...@apache.org> on 2026/01/30 20:46:52 UTC
[PR] Add Polars to Parquet implementations [parquet-site]
coastalwhite opened a new pull request, #153:
URL: https://github.com/apache/parquet-site/pull/153
Similar to #104, we are heeding the [call](https://github.com/pola-rs/polars/issues/26277) to add the implementation status here. Polars has its own implementation that was forked `arrow-rs` many, many years ago, and they have grown apart a lot ever since.
Although I am no longer working at Polars, I was asked by @orlp to come out of retirement (/s) and see if I can fill this in. As I was the person mostly working on Parquet at Polars for the last 1.5 years, I have a decent idea of the status.
If this needs updating, probably @azimafroozeh, @nameexhaustion and @kdn36 are the people to tag.
Referencing:
- pola-rs/polars#22278 to control encoding, compression, page indices
- pola-rs/polars#25185 for the Float16 work
- pola-rs/polars#24320 about the interval types
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@parquet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add Polars to Parquet implementations [parquet-site]
Posted by "coastalwhite (via GitHub)" <gi...@apache.org>.
coastalwhite commented on code in PR #153:
URL: https://github.com/apache/parquet-site/pull/153#discussion_r2790279767
##########
data/implementations/support/polars.yaml:
##########
@@ -0,0 +1,127 @@
+engine_id: polars
+last_updated: "2026-01-30"
+support:
+ physical-boolean:
+ status: full
+ physical-int32:
+ status: full
+ physical-int64:
+ status: full
+ physical-int96:
+ status: read
+ physical-float:
+ status: full
+ physical-double:
+ status: full
+ physical-byte-array:
+ status: full
+ physical-fixed-len-byte-array:
+ status: read
+ logical-string:
+ status: full
+ logical-enum:
+ status: read
+ logical-uuid:
+ status: read
+ logical-int-types:
+ status: full
+ logical-decimal-int32:
+ status: read
+ logical-decimal-int64:
+ status: read
+ logical-decimal-byte-array:
+ status: read
+ logical-decimal-fixed-len-byte-array:
+ status: full
+ logical-float16:
+ status: full
+ logical-date:
+ status: full
+ logical-time-int32:
+ status: read
+ logical-time-int64:
+ status: full
+ logical-timestamp-int64:
+ status: full
+ logical-interval:
+ status: read
+ logical-json:
Review Comment:
Looking into it for a second. [Polars indeed should fall through to BinaryView transparently.](https://github.com/pola-rs/polars/blob/3a37c4145ef4f4d46746b08cb5e57757f246ecd2/crates/polars-parquet/src/arrow/read/schema/convert.rs#L164) I have never myself encountered a JSON or BSON file in the wild, so I have never tested it, nor do I remember ever having dealt with any issues about it. (PyArrow, which was my general way of generating Parquet files with specific parameters, also does not support generating them, AFAIK.)
My general rule of thumb is: if it is not structurally tested, it probably doesn't work. I think, therefore, there is a high chance Polars does not handle these correctly at the moment. But I can adjust the matrix to show that the *intent* is that it should work. So that people will file a bug report instead of a feature request.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@parquet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add Polars to Parquet implementations [parquet-site]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on code in PR #153:
URL: https://github.com/apache/parquet-site/pull/153#discussion_r2765686995
##########
data/implementations/engines.yaml:
##########
@@ -160,3 +160,16 @@
"1.4.0":
release_date: "2025-09-16"
release_notes_url: "https://github.com/duckdb/duckdb/releases/tag/v1.4.0"
+
+- id: polars
+ name: polars
+ display_name: Polars
+ language: Rust
+ repo_url: https://github.com/pola-rs/polars
+ docs_url: null
+ versions:
+ default: "1.37.0"
Review Comment:
I think that since this data is mostly used to derive this table, it is ok if it is not complete for all versions
<img width="953" height="820" alt="Screenshot 2026-02-04 at 2 37 27 PM" src="https://github.com/user-attachments/assets/fa2af4de-628c-411e-b7ae-bc95a20e3fcc" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@parquet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add Polars to Parquet implementations [parquet-site]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb merged PR #153:
URL: https://github.com/apache/parquet-site/pull/153
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@parquet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add Polars to Parquet implementations [parquet-site]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on code in PR #153:
URL: https://github.com/apache/parquet-site/pull/153#discussion_r2790169294
##########
data/implementations/support/polars.yaml:
##########
@@ -0,0 +1,127 @@
+engine_id: polars
+last_updated: "2026-01-30"
+support:
+ physical-boolean:
+ status: full
+ physical-int32:
+ status: full
+ physical-int64:
+ status: full
+ physical-int96:
+ status: read
+ physical-float:
+ status: full
+ physical-double:
+ status: full
+ physical-byte-array:
+ status: full
+ physical-fixed-len-byte-array:
+ status: read
+ logical-string:
+ status: full
+ logical-enum:
+ status: read
+ logical-uuid:
+ status: read
+ logical-int-types:
+ status: full
+ logical-decimal-int32:
+ status: read
+ logical-decimal-int64:
+ status: read
+ logical-decimal-byte-array:
+ status: read
+ logical-decimal-fixed-len-byte-array:
+ status: full
+ logical-float16:
+ status: full
+ logical-date:
+ status: full
+ logical-time-int32:
+ status: read
+ logical-time-int64:
+ status: full
+ logical-timestamp-int64:
+ status: full
+ logical-interval:
+ status: read
+ logical-json:
Review Comment:
I briefly tried to check this, but I couldn't find any relevant files in parquet-testing
I filed a ticket to track adding them
- https://github.com/apache/parquet-testing/issues/101
In the interim, I think we could merge this PR and then adjust the matrix when we get more information
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@parquet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add Polars to Parquet implementations [parquet-site]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #153:
URL: https://github.com/apache/parquet-site/pull/153#issuecomment-3884041115
Let's merge this one as is and then make other changes as follow ons as necessary. Thank you @coastalwhite and @emkornfield and @Fokko
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@parquet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add Polars to Parquet implementations [parquet-site]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #153:
URL: https://github.com/apache/parquet-site/pull/153#issuecomment-3880590652
I'll plan to merge this PR tomorrow unless others would like time to review
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@parquet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add Polars to Parquet implementations [parquet-site]
Posted by "coastalwhite (via GitHub)" <gi...@apache.org>.
coastalwhite commented on code in PR #153:
URL: https://github.com/apache/parquet-site/pull/153#discussion_r2790279767
##########
data/implementations/support/polars.yaml:
##########
@@ -0,0 +1,127 @@
+engine_id: polars
+last_updated: "2026-01-30"
+support:
+ physical-boolean:
+ status: full
+ physical-int32:
+ status: full
+ physical-int64:
+ status: full
+ physical-int96:
+ status: read
+ physical-float:
+ status: full
+ physical-double:
+ status: full
+ physical-byte-array:
+ status: full
+ physical-fixed-len-byte-array:
+ status: read
+ logical-string:
+ status: full
+ logical-enum:
+ status: read
+ logical-uuid:
+ status: read
+ logical-int-types:
+ status: full
+ logical-decimal-int32:
+ status: read
+ logical-decimal-int64:
+ status: read
+ logical-decimal-byte-array:
+ status: read
+ logical-decimal-fixed-len-byte-array:
+ status: full
+ logical-float16:
+ status: full
+ logical-date:
+ status: full
+ logical-time-int32:
+ status: read
+ logical-time-int64:
+ status: full
+ logical-timestamp-int64:
+ status: full
+ logical-interval:
+ status: read
+ logical-json:
Review Comment:
Looking into it for a second. [Polars indeed should fall through to BinaryView transparently.](https://github.com/pola-rs/polars/blob/3a37c4145ef4f4d46746b08cb5e57757f246ecd2/crates/polars-parquet/src/arrow/read/schema/convert.rs#L164) I have never myself encountered a JSON or BSON file in the wild, so I have never tested it, nor do I remember ever having dealt with any issues about it. (PyArrow, which was my general way of generating Parquet files with specific parameters, also does not support generating them, AFAIK.)
My general rule of thumb is: if it is not structurally tested, it probably doesn't work. I think, therefore, there is a high chance Polars does not handle these correctly at the moment. But I can adjust the matrix to show that the *intent* is that it should work. So that people will file a bug report instead of a feature request.
I am fine merging like this as well, though.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@parquet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add Polars to Parquet implementations [parquet-site]
Posted by "emkornfield (via GitHub)" <gi...@apache.org>.
emkornfield commented on code in PR #153:
URL: https://github.com/apache/parquet-site/pull/153#discussion_r2766080816
##########
data/implementations/engines.yaml:
##########
@@ -160,3 +160,16 @@
"1.4.0":
release_date: "2025-09-16"
release_notes_url: "https://github.com/duckdb/duckdb/releases/tag/v1.4.0"
+
+- id: polars
+ name: polars
+ display_name: Polars
+ language: Rust
+ repo_url: https://github.com/pola-rs/polars
+ docs_url: null
+ versions:
+ default: "1.37.0"
Review Comment:
@coastalwhite just wanted to verify the X's match your expectation here (2024 I believe specifically had relatively minor changes). If you render the page, mousing over the X will tell you the missing features.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@parquet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add Polars to Parquet implementations [parquet-site]
Posted by "emkornfield (via GitHub)" <gi...@apache.org>.
emkornfield commented on code in PR #153:
URL: https://github.com/apache/parquet-site/pull/153#discussion_r2766070678
##########
data/implementations/engines.yaml:
##########
@@ -160,3 +160,16 @@
"1.4.0":
release_date: "2025-09-16"
release_notes_url: "https://github.com/duckdb/duckdb/releases/tag/v1.4.0"
+
+- id: polars
+ name: polars
+ display_name: Polars
+ language: Rust
+ repo_url: https://github.com/pola-rs/polars
+ docs_url: null
+ versions:
+ default: "1.37.0"
Review Comment:
@alamb is correct, maybe we should try to rename this field? "baseline"? (this should be a follow-up)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@parquet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add Polars to Parquet implementations [parquet-site]
Posted by "Fokko (via GitHub)" <gi...@apache.org>.
Fokko commented on code in PR #153:
URL: https://github.com/apache/parquet-site/pull/153#discussion_r2748002993
##########
data/implementations/engines.yaml:
##########
@@ -160,3 +160,16 @@
"1.4.0":
release_date: "2025-09-16"
release_notes_url: "https://github.com/duckdb/duckdb/releases/tag/v1.4.0"
+
+- id: polars
+ name: polars
+ display_name: Polars
+ language: Rust
+ repo_url: https://github.com/pola-rs/polars
+ docs_url: null
+ versions:
+ default: "1.37.0"
Review Comment:
Should we point to something like _latest_? I see that in the meantime 1.37.1 has been released in the meantime (which is great)!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@parquet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add Polars to Parquet implementations [parquet-site]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #153:
URL: https://github.com/apache/parquet-site/pull/153#issuecomment-3849019161
amazing!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@parquet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add Polars to Parquet implementations [parquet-site]
Posted by "emkornfield (via GitHub)" <gi...@apache.org>.
emkornfield commented on code in PR #153:
URL: https://github.com/apache/parquet-site/pull/153#discussion_r2766074804
##########
data/implementations/support/polars.yaml:
##########
@@ -0,0 +1,127 @@
+engine_id: polars
+last_updated: "2026-01-30"
+support:
+ physical-boolean:
+ status: full
+ physical-int32:
+ status: full
+ physical-int64:
+ status: full
+ physical-int96:
+ status: read
+ physical-float:
+ status: full
+ physical-double:
+ status: full
+ physical-byte-array:
+ status: full
+ physical-fixed-len-byte-array:
+ status: read
+ logical-string:
+ status: full
+ logical-enum:
+ status: read
+ logical-uuid:
+ status: read
+ logical-int-types:
+ status: full
+ logical-decimal-int32:
+ status: read
+ logical-decimal-int64:
+ status: read
+ logical-decimal-byte-array:
+ status: read
+ logical-decimal-fixed-len-byte-array:
+ status: full
+ logical-float16:
+ status: full
+ logical-date:
+ status: full
+ logical-time-int32:
+ status: read
+ logical-time-int64:
+ status: full
+ logical-timestamp-int64:
+ status: full
+ logical-interval:
+ status: read
+ logical-json:
Review Comment:
Just wanted to check for JSON and BSON other engines do support this with the caveat that they just pass through. Does polars not support them at all?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@parquet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add Polars to Parquet implementations [parquet-site]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #153:
URL: https://github.com/apache/parquet-site/pull/153#issuecomment-3884054712
And we are live: https://parquet.apache.org/docs/file-format/implementationstatus/
<img width="802" height="487" alt="Screenshot 2026-02-11 at 7 15 14 AM" src="https://github.com/user-attachments/assets/94f6ac01-f69a-48a7-ad1f-c508881830ca" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@parquet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org