Support parquet integer logical types on native reader#72105
Conversation
5e8a5a6 to
92a1f0c
Compare
| template class ParquetLeafColReader<ColumnUInt32>; | ||
| template class ParquetLeafColReader<ColumnInt64>; | ||
| template class ParquetLeafColReader<ColumnUInt64>; | ||
| template class ParquetLeafColReader<ColumnBFloat16>; |
There was a problem hiding this comment.
@alexey-milovidov did you add it just for the sake of adding it? As far as I can tell, this line has no effect since makeLeafReader is never called with ColumnBFloat16.
There was a problem hiding this comment.
I have no idea about this code.
There was a problem hiding this comment.
Git blame on https://github.com/ClickHouse/ClickHouse/blame/master/src/Processors/Formats/Impl/Parquet/ParquetLeafColReader.cpp says you authored it
|
Reading integer logical types is easy, the values are physically stored using the physical type with sign extension. One just has to interpret the values correctly based on logical type size. Then why such a big PR? As of now, One might argue Hence, the refactoring. I don't have a strong case for this design, tho. Suggestions would be great. |
|
This is an automated comment for commit e8036a0 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
|
@arthurpassos, tests have failed. |
I'll merge it with master |
|
@alexey-milovidov can I get a review? |
|
Is this still relevant or should we wait for #70611 instead? |
This PR is already merged, what do you mean by "is this still relevant"? |
|
Oops, nevermind. (Github sometimes updates the information on a web page without refreshing and sometimes doesn't. This time it didn't, and I didn't notice that the PR is merged.) |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Support parquet integer logical types on native reader
Documentation entry for user-facing changes
CI Settings (Only check the boxes if you know what you are doing):