[
https://issues.apache.org/jira/browse/PARQUET-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Or Ozeri updated PARQUET-1702:
------------------------------
Description:
When working with buffered row group writer, the column ordinal, required by
encryption, is not updated.
[The column ordinal does get updated on the more common flow of non-buffered
row group writer (using NextColumn() interface instead of column(i)).]
was:
The InitColumns() method of the buffered row group writer sets the index of all
columns to be 0, instead of a running counter.
This causes a wrongful encryption (when encryption is on), since encryption
depends on the column index.
Note that buffered row group writer is not commonly used, and this is probably
the reason this bug was not discovered so far.
Summary: [C++] Missing column ordinal update when using buffered row
group writer (was: [C++] Wrong column index when using buffered row group
writer)
> [C++] Missing column ordinal update when using buffered row group writer
> ------------------------------------------------------------------------
>
> Key: PARQUET-1702
> URL: https://issues.apache.org/jira/browse/PARQUET-1702
> Project: Parquet
> Issue Type: Bug
> Components: parquet-cpp
> Affects Versions: cpp-1.6.0
> Reporter: Or Ozeri
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When working with buffered row group writer, the column ordinal, required by
> encryption, is not updated.
> [The column ordinal does get updated on the more common flow of non-buffered
> row group writer (using NextColumn() interface instead of column(i)).]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)