instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
apache__parquet-java__3272
apache/parquet-java
3,272
defect
5187eb1933356bbec11ff82a2c928b0fb92ce82e
6e6b4aa5be46da687cb32fe4e221c518293ce369
GH-2961: Cycle detection in AvroSchemaConverter to prevent infinite recursion
Summary: - Currently recursive objects in avro can cause infinite recursion and stackoverflow error. - Added a cycle detection to prevent it and gracefully through error at a certain max depth, can be controlled through: `parquet.avro.max-recursion` - Fixes: #2961 Testing: - Added UTs
diff --git a/parquet-avro/src/main/java/org/apache/parquet/avro/AvroSchemaConverter.java b/parquet-avro/src/main/java/org/apache/parquet/avro/AvroSchemaConverter.java index 8e5a58df86..eaa5a25746 100644 --- a/parquet-avro/src/main/java/org/apache/parquet/avro/AvroSchemaConverter.java +++ b/parquet-avro/src/main/java/or...
4
2
2
[{"id": "G0", "claim": "The depth-limiting approach does not actually detect cycles and may regress previously good schemas, so the pull request should implement actual loop detection instead of limiting the recursion depth.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"...
null
apache__parquet-java__3287
apache/parquet-java
3,287
defect
4591ed38ac0a43c5c5a4987e276bf883b84f2f29
26444c8475155ad2f9ab5b8389c234c588fc576a
GH-3286: Add support for Parquet-Protobuf in Parquet-cli
### Summary - Currently parquet-cli breaks while operating on parquet files generated through parquet protobuf - This is because the CLI currently uses AvroReadSupport and AvroRecrodConverter which breaks for protobuf since underlying schema/data is different. - We now support reading proto files through CLI read...
diff --git a/parquet-cli/pom.xml b/parquet-cli/pom.xml index 1eab1c162e..75183afcc5 100644 --- a/parquet-cli/pom.xml +++ b/parquet-cli/pom.xml @@ -85,6 +85,26 @@ <artifactId>parquet-avro</artifactId> <version>${project.version}</version> </dependency> + <dependency> + <groupId>org.apache.parq...
4
3
0
[{"id": "G0", "claim": "Adding the protobuf dependencies in test scope only would leave them missing at command-line execution, since neither the normal-scoped Hadoop-env package nor the provided-scoped standalone package would include them.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": ...
null
apache__parquet-java__3306
apache/parquet-java
3,306
defect
a1ad19a3eda6dba474e5887368317d9c61a90030
2454f473a37847e4bd421de60264539b6ad8cc94
GH-3149: Enable ParquetAvroReader to handle decimal types for int32/64
- Add support for Decimal on the int 32/64 avro reader. - Currently there exists a bug on the reader where decimal annotation is not respected when reading int32/64 values. - This causes decimal component to be missing for unscaled integer. - DecimalLogicalTypeAnnotation is now correctly detected and routed to ...
diff --git a/parquet-avro/src/main/java/org/apache/parquet/avro/AvroConverters.java b/parquet-avro/src/main/java/org/apache/parquet/avro/AvroConverters.java index f3e8c21483..0f11c3871a 100644 --- a/parquet-avro/src/main/java/org/apache/parquet/avro/AvroConverters.java +++ b/parquet-avro/src/main/java/org/apache/parque...
2
2
2
[{"id": "G0", "claim": "The new test should cover INT32 decimal values as well, e.g. by adding another INT32 column to this test and renaming the method.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The dictionary support in the new decimal converters...
null
apache__parquet-java__3308
apache/parquet-java
3,308
defect
4f577a6b64f491d62a2b4bc2acf93d82342f525c
df9777be557a712b52849955ad4b35b7d6466531
GH-3224: Make ParquetProperties.valuesWriterFactory thread safe
### Rationale for this change - Move away from shared singleton DEFAULT_VALUES_WRITER_FACTORY to new instance per builder to prevent concurrent threads from corrupting each other's delegateFactory state. - Currently there is a bug where multiple builders can corrupt each others delegateFactory that can cause files ...
diff --git a/parquet-column/src/main/java/org/apache/parquet/column/ParquetProperties.java b/parquet-column/src/main/java/org/apache/parquet/column/ParquetProperties.java index d3dced53df..7f6ef9a9d0 100644 --- a/parquet-column/src/main/java/org/apache/parquet/column/ParquetProperties.java +++ b/parquet-column/src/main...
1
1
0
[{"id": "G0", "claim": "ParquetProperties.DEFAULT_VALUES_WRITER_FACTORY is public, so at least it should be deprecated.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
apache__parquet-java__3339
apache/parquet-java
3,339
defect
d5df8477bfb2aaab2f8825864baf6038072b9ae4
cf06df89b2e261b50d4e939038e9c7c0516ec2e6
GH-3338: Support encrypted files for Parquet CLI commands
### Rationale for this change - Currently show bloom filter does not support encrypted parquet files. - Support reading and showing bloom filter metadata for encrypted files. - Added support to read encrypted files within base command and supported for main parquet CLI commands: ShowBloomFilter, ShowPages, Parque...
diff --git a/parquet-cli/src/main/java/org/apache/parquet/cli/commands/ShowBloomFilterCommand.java b/parquet-cli/src/main/java/org/apache/parquet/cli/commands/ShowBloomFilterCommand.java index d89a29c147d..ca2627d1ed1 100644 --- a/parquet-cli/src/main/java/org/apache/parquet/cli/commands/ShowBloomFilterCommand.java +++...
2
2
2
[{"id": "G0", "claim": "The decryption parameters should be added at a more common level so that other CLI commands, not only the bloom filter command, can benefit from them.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A single column key cannot be ri...
null
apache__parquet-java__3351
apache/parquet-java
3,351
defect
44701aae0411b66983297b4a5f1fd0779da87a43
52a7a416e2e4b740aa6c1dd1a8b1c4171f272a01
GH-3350: Avoid flushing data to cloud when exception is thrown
### Rationale for this change Inside the `InternalParquetRecordWriter::Close` finally block, we call close on parquetFileWriter, which may cause incomplete data to be flushed to the cloud if an exception is thrown during the close . ### What changes are included in this PR? Remove `parquetFileWriter.close` out o...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/InternalParquetRecordWriter.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/InternalParquetRecordWriter.java index f296286800..309df6fe93 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/InternalParquetRecordWriter.java...
1
1
0
[{"id": "G0", "claim": "The added `AutoCloseables.uncheckedClose(parquetFileWriter)` in the try block of `InternalParquetRecordWriter.close()` is not necessary because `parquetFileWriter.end()` already invokes `close()`, and once `ParquetFileWriter` handles the aborted state itself this change should be reverted.", "ca...
null
apache__parquet-java__3359
apache/parquet-java
3,359
defect
8e740f07c26783d6dec2c4ac2cffa9823fe18036
2ea4f5052fe3aa0a274e7781350d4afa49ab0239
GH-3358: Add Configurable Thrift Max Message Size for Parquet Metadata Reading
### Rationale for this change When reading Parquet files with large metadata (e.g., files with thousands of columns), the default Thrift message size limit can be insufficient, causing TTransportException: Message size exceeds limit errors. Currently, the Thrift protocol configuration uses default max message size (10...
diff --git a/parquet-format-structures/src/main/java/org/apache/parquet/format/Util.java b/parquet-format-structures/src/main/java/org/apache/parquet/format/Util.java index d7a4c330c9d..e66295f2a85 100644 --- a/parquet-format-structures/src/main/java/org/apache/parquet/format/Util.java +++ b/parquet-format-structures/s...
1
1
0
[{"id": "G0", "claim": "The 100 MB default max message size is written twice (a literal default assignment and the -1 branch both set 104857600); break it out into a static constant.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__parquet-java__3370
apache/parquet-java
3,370
defect
43c59767876ca04e45d135cc070a36322fd42077
37f0ea80b9ec23bb2035433c289a32cb25d1cc0f
Allow reading dictionary encoded boolean
### Rationale for this change I've observed some Parquet files in the wild that contain dictionary-encoded boolean values, which is also wild. I don't think we want to allow producing this, but I think it would be good to allow reading this. We don't judge. ### What changes are included in this PR? ### ...
diff --git a/parquet-column/src/main/java/org/apache/parquet/column/Encoding.java b/parquet-column/src/main/java/org/apache/parquet/column/Encoding.java index cadf8f2e0e..874c99fded 100644 --- a/parquet-column/src/main/java/org/apache/parquet/column/Encoding.java +++ b/parquet-column/src/main/java/org/apache/parquet/co...
2
2
1
[{"id": "G0", "claim": "The new PlainBooleanDictionary's toString() builds its output with the label \"PlainIntegerDictionary\", a copy-paste error that misreports the class.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "TestDictionary.java should ...
null
apache__parquet-java__3377
apache/parquet-java
3,377
defect
4147bc65aa4535d55fc222ad148b65a0ab0f90cc
6fdfdd80db67ca1e550dba26e8a683c8d9797fb5
Remove Parquet-Pig
Closes #3376 Removes deprecated parquet-pig functionality
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml index e1f580ed320..084c3afe167 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -40,7 +40,6 @@ body: - Build - Arrow - Avro - ...
2
2
1
[{"id": "G0", "claim": "Fokko asks dossett to fix the failing API-compatibility (japicmp) issue caused by the PR's removal of the deprecated parquet-thrift Pig APIs, suggesting they can just be ignored.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Fok...
null
apache__parquet-java__3448
apache/parquet-java
3,448
defect
ef7228a394f8036a066acaea855bc06977b37987
a925781ab31d6ad4999b1711817f1119bf9b4cb9
GH-3449: Fix BinaryStats int overflow
<!-- Thanks for opening a pull request! If you're new to Parquet-Java, information on how to contribute can be found here: https://parquet.apache.org/docs/contribution-guidelines/contributing Please open a GitHub issue for this pull request: https://github.com/apache/parquet-java/issues/new/choose and format pu...
diff --git a/parquet-column/src/main/java/org/apache/parquet/column/statistics/BinaryStatistics.java b/parquet-column/src/main/java/org/apache/parquet/column/statistics/BinaryStatistics.java index 87d39bf16e..9488a38494 100644 --- a/parquet-column/src/main/java/org/apache/parquet/column/statistics/BinaryStatistics.java...
1
1
0
[{"id": "G0", "claim": "The test should not need to allocate such a large (1 GB) memory block for the overflow test.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__parquet-java__594
apache/parquet-java
594
defect
e9c283728cfd634677975affa367e13c4bef6c2a
38c276034492d773a9c876ac6d1157b76c7b41e4
PARQUET-1504: Add an option to convert Parquet Int96 to Arrow Timestamp
Just as mentioned in original code, Parquet Int96 is probably timestamp, we should provide an option to convert Parquet Int96 to Arrow Timestamp
diff --git a/parquet-arrow/src/main/java/org/apache/parquet/arrow/schema/SchemaConverter.java b/parquet-arrow/src/main/java/org/apache/parquet/arrow/schema/SchemaConverter.java index 51057c589e7..b03930ff6fe 100644 --- a/parquet-arrow/src/main/java/org/apache/parquet/arrow/schema/SchemaConverter.java +++ b/parquet-arro...
4
4
2
[{"id": "G0", "claim": "INT96 is a nanosecond timestamp, so the new Int96-to-Arrow-Timestamp conversion and its test should use TimeUnit.NANOSECOND instead of TimeUnit.MILLISECOND.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "If converting Int96 (...
null
apache__parquet-java__663
apache/parquet-java
663
defect
0861ddff9572fef8b9002d7ebaba3bf62455cee2
5c45219fec1e233032d6bd6917e6d94ba1c1410c
PARQUET-1488: UserDefinedPredicate throw NPE
Make sure you have checked _all_ steps below. ### Jira - [x] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-XXX - In case you a...
diff --git a/parquet-column/src/main/java/org/apache/parquet/filter2/predicate/UserDefinedPredicate.java b/parquet-column/src/main/java/org/apache/parquet/filter2/predicate/UserDefinedPredicate.java index e5103b4ae7..fea9ca9c1d 100644 --- a/parquet-column/src/main/java/org/apache/parquet/filter2/predicate/UserDefinedPr...
1
1
0
[{"id": "G0", "claim": "Most of the test UserDefinedPredicate keep() implementations should keep checking for null values to show best practice, and those that deliberately do not check should carry a comment saying this is not a recommended practice.", "category": "maintainability", "verdict": "supported", "priority":...
null
apache__parquet-java__686
apache/parquet-java
686
defect
1fc273329cd6d54085de81ecccfe99be181f24be
0936a949e2a23eef50db9160947d2ad8a936100c
PARQUET-1660: align Bloom filter implementation with format
Make sure you have checked _all_ steps below. ### Jira - [ ] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-XXX - In case you a...
diff --git a/parquet-column/pom.xml b/parquet-column/pom.xml index 94285088ab..bce3cf149d 100644 --- a/parquet-column/pom.xml +++ b/parquet-column/pom.xml @@ -58,7 +58,11 @@ <artifactId>fastutil</artifactId> <version>${fastutil.version}</version> </dependency> - + <dependency> + <groupId>net....
6
5
2
[{"id": "G0", "claim": "The multiplication lowHash * numBlocks in insertHash may overflow, and the resulting behavior should be compared with the C++ implementation's unsigned multiplication, which cannot overflow.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1...
null
apache__parquet-java__696
apache/parquet-java
696
defect
0c6a650a01d4075775af8aecdca14af78c5e7157
ddeaa1f32b7bfeeb3abd3f78d769b5755241564d
PARQUET-1685: Truncate Min/Max for Statistics
Make sure you have checked _all_ steps below. ### Jira PARQUET-1685: Truncate Min/Max for Statistics ### Tests Added unit test Write a Spark application test and it passed ### Commits - [ ] My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines fro...
diff --git a/parquet-column/src/main/java/org/apache/parquet/column/ParquetProperties.java b/parquet-column/src/main/java/org/apache/parquet/column/ParquetProperties.java index 7492b547c82..c022b724be2 100644 --- a/parquet-column/src/main/java/org/apache/parquet/column/ParquetProperties.java +++ b/parquet-column/src/ma...
1
1
1
[{"id": "G0", "claim": "Truncation must not be done in the Statistics objects: setMinMaxFromBytes runs on the read path where truncating the values makes no sense and updateStats runs for every value written, which is a huge overhead; the truncate should happen in ParquetMetadataConverter just before writing to the fil...
null
apache__parquet-java__713
apache/parquet-java
713
defect
4ca29c7114237d4bb039b7291fa2c8c182170109
4bd30fd4b3bcebb60191d2957e30fd33d2b3e8cf
PARQUET-1725: Replace Usage of Strings.join with JDK Functionality in…
… ColumnPath Class Make sure you have checked _all_ steps below. ### Jira - [X] My PR addresses the following [PARQUET-1725](https://issues.apache.org/jira/browse/PARQUET/PARQUET-1725) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/bro...
diff --git a/parquet-common/src/main/java/org/apache/parquet/hadoop/metadata/ColumnPath.java b/parquet-common/src/main/java/org/apache/parquet/hadoop/metadata/ColumnPath.java index 4383b0f2f6..0b3f3653ea 100644 --- a/parquet-common/src/main/java/org/apache/parquet/hadoop/metadata/ColumnPath.java +++ b/parquet-common/sr...
2
2
0
[{"id": "G0", "claim": "The remaining Strings.join usage in DictionaryPageReader should also be replaced with the JDK String.join, as requested.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The Strings.join utility methods in Strings.java sh...
null
apache__parquet-java__755
apache/parquet-java
755
defect
1e15f604302ab96904eaa1c3d435d2a5b3632d3f
964f41d2c94554623a0927dd5bc5c459d4edffed
PARQUET-1791: Add 'prune' command to parquet-tools
Make sure you have checked _all_ steps below. ### Jira - [ ] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-XXX - In case you a...
diff --git a/parquet-tools/src/main/java/org/apache/parquet/tools/command/PruneColumnsCommand.java b/parquet-tools/src/main/java/org/apache/parquet/tools/command/PruneColumnsCommand.java new file mode 100644 index 00000000000..d3f3bb70ae3 --- /dev/null +++ b/parquet-tools/src/main/java/org/apache/parquet/tools/command/...
9
7
3
[{"id": "G0", "claim": "Remove the commented-out '//return schema;' debug line left in pruneColumnsInSchema.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer is unsure whether the prune feature should be added to parquet-tools at all,...
null
apache__parquet-java__766
apache/parquet-java
766
defect
d69192809d0d5ec36c0d8c126c8bed09ee3cee35
0b3a95c1cea10d3550c34965603fc75ec5bc9989
[PARQUET-1808]: Replacing multiple String Object creations with StringBuilder
Make sure you have checked _all_ steps below. ### Jira - [x] My PR addresses the following [PARQUET-1808](https://issues.apache.org/jira/browse/PARQUET-1808) - https://issues.apache.org/jira/browse/PARQUET-1808 ### Tests - [x] Test Covered with existing tests ### Commits - [x] My commits all refere...
diff --git a/parquet-column/src/main/java/org/apache/parquet/example/data/simple/SimpleGroup.java b/parquet-column/src/main/java/org/apache/parquet/example/data/simple/SimpleGroup.java index 1bfe8d36a3..844e001368 100644 --- a/parquet-column/src/main/java/org/apache/parquet/example/data/simple/SimpleGroup.java +++ b/pa...
5
4
1
[{"id": "G0", "claim": "Append '\\n' as a char instead of a one-character string, which would perform a little bit better.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Create a private method in SimpleGroup that receives the StringBuilder so neste...
null
apache__parquet-java__769
apache/parquet-java
769
defect
8b306bf5716aaa271e7046bc354f49fc80205eb1
85ae2031a016d918a0b6742837e7929d7fdd87c1
PARQUET-1817: Crypto Properties Factory
Make sure you have checked _all_ steps below. ### Jira - [ ] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-XXX - In case you a...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/crypto/CryptoPropertiesFactory.java b/parquet-hadoop/src/main/java/org/apache/parquet/crypto/CryptoPropertiesFactory.java new file mode 100644 index 0000000000..7f9d2d72ce --- /dev/null +++ b/parquet-hadoop/src/main/java/org/apache/parquet/crypto/CryptoProper...
8
8
4
[{"id": "G0", "claim": "The new CryptoPropertiesFactory.java lacks an approved license header, so the Apache RAT check reports it as an unapproved-licenses build warning.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Since the class has no implemen...
null
apache__parquet-java__774
apache/parquet-java
774
defect
ab65823ae0fd6c3afae94c7fa0670cf9b46b5b85
749e5dfff61e1dbbe050dc9ad6916f366bbd8b08
PARQUET-1821: Add 'column-size' command to parquet-cli and parquet-tools
Make sure you have checked _all_ steps below. ### Jira - [ ] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-XXX - In case you a...
diff --git a/parquet-cli/src/main/java/org/apache/parquet/cli/Main.java b/parquet-cli/src/main/java/org/apache/parquet/cli/Main.java index fa69ce7a40..429174b67f 100644 --- a/parquet-cli/src/main/java/org/apache/parquet/cli/Main.java +++ b/parquet-cli/src/main/java/org/apache/parquet/cli/Main.java @@ -28,6 +28,7 @@ im...
8
8
1
[{"id": "G0", "claim": "The inline comment should read 'If user defined columns' instead of 'If user inputted columns'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The column matching uses startsWith, so querying column 'id' also matches 'ident...
null
apache__parquet-java__793
apache/parquet-java
793
defect
b2d366a83f293914195f9de86d918f8ddd944374
c16585f6bcb747e661b6e077a9fe92fde57612d2
PARQUET-1866: Replace Hadoop ZSTD with JNI-ZSTD
Make sure you have checked _all_ steps below. ### Jira - [ ] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-XXX - In case you a...
diff --git a/parquet-common/src/main/java/org/apache/parquet/hadoop/metadata/CompressionCodecName.java b/parquet-common/src/main/java/org/apache/parquet/hadoop/metadata/CompressionCodecName.java index 8cdede09cd..05abd15d5f 100644 --- a/parquet-common/src/main/java/org/apache/parquet/hadoop/metadata/CompressionCodecNam...
3
3
1
[{"id": "G0", "claim": "The comment should read \"local development machine\" instead of the typo \"local develop machine\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The documentation in parquet-hadoop/README.md should also be updated (for t...
null
apache__parquet-java__796
apache/parquet-java
796
defect
84c954d8a4feef2d9bdad7a236a7268ef71a1c25
d0cf386e7b51b1a2488df7c07edab509e288cd8e
Parquet-1872: Add TransCompression command to parquet-tools
Make sure you have checked _all_ steps below. ### Jira - [ ] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-XXX - In case you a...
diff --git a/parquet-cli/src/main/java/org/apache/parquet/cli/commands/TransCompressionCommand.java b/parquet-cli/src/main/java/org/apache/parquet/cli/commands/TransCompressionCommand.java new file mode 100644 index 0000000000..b7a836e5a1 --- /dev/null +++ b/parquet-cli/src/main/java/org/apache/parquet/cli/commands/Tra...
8
8
4
[{"id": "G0", "claim": "The writer's file descriptor is not released if an exception occurs: the writer should be added to the resource opening next to the reader or, as the reviewer refined after learning the writer is not Closeable, writer.end should be invoked in a finally block so the file descriptor is closed even...
null
apache__parquet-java__817
apache/parquet-java
817
defect
3d45fd5480b1b58074c5b53d0738774cf355d11e
6bf10d5f1bf874138bea28f65f616e1687cd3fa7
PARQUET-1914: Allow ProtoParquetReader To Support InputFile
Make sure you have checked _all_ steps below. ### Jira - [X] My PR addresses the following [PARQUET-1914](https://issues.apache.org/jira/browse/PARQUET-1914) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-XXX - In case y...
diff --git a/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoParquetReader.java b/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoParquetReader.java index 73ddec2a11..119cba306e 100644 --- a/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoParquetReader.java +++ b/parquet-protobuf/...
2
2
1
[{"id": "G0", "claim": "Untouched code should not be reformatted; the wrapped constructor signature should be reverted to its original single-line form.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Related unit tests should be added or updated...
null
apache__parquet-java__832
apache/parquet-java
832
defect
89c5c25d44f8959d1a66493c06630ab0060cf346
236e865020140b60060bd68885cf42ec604536db
PARQUET-1926: Add LogicalType support to ThriftType
Make sure you have checked _all_ steps below. ### Jira - [x] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET-1926/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-1926 - In case...
diff --git a/parquet-thrift/src/main/java/org/apache/parquet/thrift/ThriftSchemaConvertVisitor.java b/parquet-thrift/src/main/java/org/apache/parquet/thrift/ThriftSchemaConvertVisitor.java index 83d6dd5a00..f915a6ed11 100644 --- a/parquet-thrift/src/main/java/org/apache/parquet/thrift/ThriftSchemaConvertVisitor.java ++...
2
1
1
[{"id": "G0", "claim": "The pull request should add a test covering the new LogicalType support it introduces.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Changing the existing visit(EnumType) line to qualify enumType() as LogicalTypeAnnotation.enumT...
null
apache__parquet-java__844
apache/parquet-java
844
defect
5c6916c23cb2b9c225ea80328550ee0e11aee225
68692d28701551d4e36cd208f490bffcdb9d9d6a
PARQUET-1947: DeprecatedParquetInputFormat in CombineFileInputFormat …
…would produce wrong data Make sure you have checked _all_ steps below. ### Jira - [ ] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title: - https://issues.apache.org/jira/browse/PARQUET-1947 ### Tests - [ ] My PR add...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/mapred/DeprecatedParquetInputFormat.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/mapred/DeprecatedParquetInputFormat.java index 6b69bc93a8..3afdc7e926 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/mapred/Deprecate...
1
1
1
[{"id": "G0", "claim": "The test contains copy-pasted code from Cascading, and the source should be stated more precisely so the project can be sure it does not copy copyrighted code.", "category": "licensing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__parquet-java__846
apache/parquet-java
846
defect
a6fde11fd11aeb19c4e23a83ee2922b9acec3251
305ca8e6c014b7b0dddf22b885e3a65a61864bf4
[PARQUET-1801] Add parquet-tools 'prune' to parquet-cli
Make sure you have checked _all_ steps below. ### Jira - [X] My PR addresses the following [Parquet-1801](https://issues.apache.org/jira/browse/PARQUET-1801) issues and references them in the PR title. ### Tests - [X] My PR adds the following unit tests __OR__ does not need testing for this extremely good r...
diff --git a/parquet-cli/src/main/java/org/apache/parquet/cli/Main.java b/parquet-cli/src/main/java/org/apache/parquet/cli/Main.java index f29ff1332a5..1b52a1caae3 100644 --- a/parquet-cli/src/main/java/org/apache/parquet/cli/Main.java +++ b/parquet-cli/src/main/java/org/apache/parquet/cli/Main.java @@ -33,6 +33,7 @@ ...
1
1
1
[{"id": "G0", "claim": "ColumnPruner exposes too many public methods with unclear purpose; the reviewer suggests moving the code duplicated across parquet-cli and parquet-tools (and the unit test) into it so it has only one public method invoked with the input file, the output file and the columns to be pruned.", "cate...
null
apache__parquet-java__852
apache/parquet-java
852
defect
2d0742ea586db444b30dd3a682e1dee9351954b0
d980a7f20dfa50e6a93b166ac8c53bc16c741abc
PARQUET-1851: fix parquet metadata converter NPE
This fixes the NPE as below: ``` java.lang.NullPointerExceptionjava.lang.NullPointerException at org.apache.parquet.format.converter.ParquetMetadataConverter.addRowGroup(ParquetMetadataConverter.java:476) at org.apache.parquet.format.converter.ParquetMetadataConverter.toParquetMetadata(ParquetMetadataConverter.ja...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/format/converter/ParquetMetadataConverter.java b/parquet-hadoop/src/main/java/org/apache/parquet/format/converter/ParquetMetadataConverter.java index b4a4f8b11a..da1e34b2c8 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/format/converter/ParquetM...
1
1
1
[{"id": "G0", "claim": "The null check added for the metadata converter NPE is not a complete fix: it does not solve the potential problem of writing an empty row group.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__parquet-java__865
apache/parquet-java
865
defect
2b73ce3790bcbbc2126751c1e25c839838fd2534
b0850ef3b36bcffd036e39e78103a1d1a1bedf93
PARQUET-1973: Support ZSTD JNI BufferPool
### Jira - [x] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-1973 - This PR aims to add `parquet.compression.codec.zstd.bufferPoo...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/codec/ZstandardCodec.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/codec/ZstandardCodec.java index 0409cf2a17..73908da91e 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/codec/ZstandardCodec.java +++ b/parquet-hadoop...
3
1
0
[{"id": "G0", "claim": "The new parquet.compression.codec.zstd.bufferPool.enabled configuration option may be unnecessary and, if not required, should not be added so the number of existing configuration options is not extended.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {...
null
apache__parquet-java__867
apache/parquet-java
867
defect
279255df0c050aa95b5f5eb5963cf7eae5b8d180
14402646948bdca26dfff8f44c7ae19bdb6258bd
PARQUET-1978: Provide a tool to show the complete footer
Make sure you have checked _all_ steps below. ### Jira - [ ] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-XXX - In case you a...
diff --git a/parquet-cli/src/main/java/org/apache/parquet/cli/Main.java b/parquet-cli/src/main/java/org/apache/parquet/cli/Main.java index 1b52a1caae..d656476f5c 100644 --- a/parquet-cli/src/main/java/org/apache/parquet/cli/Main.java +++ b/parquet-cli/src/main/java/org/apache/parquet/cli/Main.java @@ -37,6 +37,7 @@ im...
2
2
0
[{"id": "G0", "claim": "The encrypted-footer check and its message are inaccurate: EFMAGIC only marks files with an encrypted footer, while encrypted files created in plaintext footer mode use the regular MAGIC, so the message about 'Encrypted Parquet files' is technically wrong.", "category": "correctness", "verdict":...
null
apache__parquet-java__868
apache/parquet-java
868
defect
3be6273156247a52e295e002bc38217373b68b22
4442521277d9e8558fda9fe8ffb6bbf2bbb73c4b
PARQUET-1977: Invalid data_page_offset
Make sure you have checked _all_ steps below. ### Jira - [ ] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-XXX - In case you a...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/Offsets.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/Offsets.java new file mode 100644 index 0000000000..7516cff544 --- /dev/null +++ b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/Offsets.java @@ -0,0 +1,84 @@ +/* + * Licens...
5
3
1
[{"id": "G0", "claim": "When the computed dictionary page size is invalid, getOffsets should throw an exception instead of silently recovering.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "readDictionaryPageSize reads the dictionary page header without d...
null
apache__parquet-java__869
apache/parquet-java
869
defect
3be6273156247a52e295e002bc38217373b68b22
320cfd7caf7bb9c11f98bd1cf90e1af805ac77d3
PARQUET-1979: bloom_filter_offset is filled if there are no bloom filters
Make sure you have checked _all_ steps below. ### Jira - [ ] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-XXX - In case you...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/format/converter/ParquetMetadataConverter.java b/parquet-hadoop/src/main/java/org/apache/parquet/format/converter/ParquetMetadataConverter.java index 0f57d5d3c8..3a10b1c895 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/format/converter/ParquetM...
2
2
1
[{"id": "G0", "claim": "The pull request unintentionally reformats whitespace on several unchanged lines, which could conflict with other pending PRs.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A unit test should be added to check that the b...
null
apache__parquet-java__871
apache/parquet-java
871
defect
2a23dcaa27adc643a199808773a0feb580b7d8a5
6eff7316dcd3b3a3b21fe91ec545cf74a7250e1e
PARQUET-1982: Random access to row groups in ParquetFileReader
Adds a method readRowGroup(BlockMetaData) to allow random access to PageReadStores via BlockMetaData, which can be obtained using the getRowGroups() method. This is similar to the existing method getDictionaryReader(BlockMetaData) that already exists. With random access the reader can be reused if for example...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java index 791f9ef188..f4c0b8d068 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java +++ b/parquet-hadoop/src/main...
3
3
2
[{"id": "G0", "claim": "Add a filtered counterpart to the new readRowGroup(BlockMetaData) — a readFilteredRowGroup(BlockMetaData) method — so random access also takes advantage of column-index filtering and is symmetric with readNextFilteredRowGroup.", "category": "design", "verdict": "supported", "priority": "P1", "sc...
null
apache__parquet-java__872
apache/parquet-java
872
defect
2a23dcaa27adc643a199808773a0feb580b7d8a5
08939ed53fd5af310d02b88f269049e4038a78d1
PARQUET-1975 Disable BrotliCodec for non-x86_64
BrotliCodec fails to load on non-x86_64 CPU architectures because MeteoGroup/jbrotli does not provide native binaries With this change brotli-codec is added as a dependency to parquet-hadoop only for amd64, i.e. x86_64
diff --git a/parquet-hadoop/pom.xml b/parquet-hadoop/pom.xml index fb4cdd3de4..8a0d07af40 100644 --- a/parquet-hadoop/pom.xml +++ b/parquet-hadoop/pom.xml @@ -97,12 +97,6 @@ <artifactId>fastutil</artifactId> <version>${fastutil.version}</version> </dependency> - <dependency> - <groupId>com.gi...
1
1
1
[{"id": "G0", "claim": "Brotli should be excluded (disabled) only on ARM64 rather than included only on x86_64/amd64, because os.arch activation on amd64 is too strict and could silently skip codecs/tests on other architectures.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__parquet-java__878
apache/parquet-java
878
defect
154d8f16842727a8d888b50ea05f36686153f43b
cebac87962d7cbcdc8ff65b4c4871846fca49bc1
PARQUET-1992: Manually download interop files inside the test and move encryption interop test to maven integration-test phase
This PR is another option of solving the problem "Cannot build from tarball because of git submodules". 1. Encryption interop tests run separately from unit tests - in integration-test phase 2. Files for interop tests are downloaded manually, so git submodules are totally removed from the project - `mvn package` ...
diff --git a/.gitignore b/.gitignore index aa67d3d37a..2c7a20db29 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ target/ .cache *~ mvn_install.log +parquet-hadoop/parquet-testing diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 27087993b8..0000000000 --- a/.gitmodules +++ /dev/null @...
3
3
0
[{"id": "G0", "claim": "Add a note that testInteropReadEncryptedParquetFiles is deliberately not annotated with @Test and is used elsewhere.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The numbered goal \"4)\" in the ITTestEncryptionOptions fil...
null
apache__parquet-java__884
apache/parquet-java
884
defect
5608695f5777de1eb0899d9075ec9411cfdf31d3
5457e913898df5677f7a491c853b7d7f2b147e2a
PARQUET-2005: Upgrade thrift to 0.14.1
Make sure you have checked _all_ steps below. ### Jira - [ ] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-XXX - In case you a...
diff --git a/README.md b/README.md index 50802871d5..46ebbc7a22 100644 --- a/README.md +++ b/README.md @@ -35,19 +35,19 @@ Parquet-MR uses Maven to build and depends on the thrift compiler (protoc is now To build and install the thrift compiler, run: ``` -wget -nv http://archive.apache.org/dist/thrift/0.13.0/thrift...
1
1
0
[{"id": "G0", "claim": "The README's homebrew instruction should drop the pinned older version and just say `brew install thrift`, since 0.14.1 is the latest version.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__parquet-java__886
apache/parquet-java
886
defect
24d581038f082039249b7874825c6ed4c05a961f
5efe31ddef1182092b671cca515c333ce5d93209
PARQUET-2012 Mark ProtoParquetWriter constructors deprecated
Make sure you have checked _all_ steps below. ### Jira - [x] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET-2012) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-2012 ### Tests ...
diff --git a/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoParquetWriter.java b/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoParquetWriter.java index bef7436a9b..67c6885e37 100644 --- a/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoParquetWriter.java +++ b/parquet-protobuf/...
2
1
0
[{"id": "G0", "claim": "Please also use the Java annotation @Deprecated for all the deprecated methods.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Changing the return type of writeMessages to the parent class ParquetWriter prevents creating ...
null
apache__parquet-java__895
apache/parquet-java
895
defect
60c09f8549952cea31af5f175885687b88449c29
d72d15c949756a27e5d777ae037dbbe1964a429e
Parquet-2030: Expose page size row check configurations to ParquetWri…
This MR fixes https://issues.apache.org/jira/browse/PARQUET-2030. It exposes `page.size.row.check.max` and `page.size.row.check.max` to `ParquetWriter.Builder`
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetWriter.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetWriter.java index e1afaca994..696fec3140 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetWriter.java +++ b/parquet-hadoop/src/main/java/org/ap...
3
3
3
[{"id": "G0", "claim": "The assertHasFlushed helper only verifies the total bytes written after all writes, so it cannot validate that the file was flushed numFlushes times as its name suggests.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The testPar...
null
apache__parquet-java__902
apache/parquet-java
902
defect
10fd78252ea2f7beff8e5af5c6ee2917c9dceca2
1cc49ad4cba8b6eaf8d1709da49b2a25cb1c9034
PARQUET-1633: Fix integer overflow
This PR addresses this issue: https://issues.apache.org/jira/browse/PARQUET-1633 I have not added unit tests, as to check overflow conditions I would need test data over 2GB in size (on disk, compressed), considerably larger in-memory and thus requiring significant CI resources. The issue was using an `int` for l...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java index 1fa9c1f44d..c2b27f88bf 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java +++ b/parquet-hadoop/src/main...
4
3
2
[{"id": "G0", "claim": "Add a unit test that reproduces the >2GB column-chunk overflow so the fix can be validated (possibly tagged @Ignore or otherwise not run by default).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The main effort should be at the...
null
apache__parquet-java__910
apache/parquet-java
910
defect
8e40e69ce3e02cf4f8f0c624ff9e6173509961ee
feae733c1859d9eea238172bf4c953cf6eae97c8
PARQUET-2052: Integer overflow when writing huge binary using dictionary encoding
Make sure you have checked _all_ steps below. ### Jira - [X] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-XXX - In case you a...
diff --git a/parquet-column/src/main/java/org/apache/parquet/column/values/dictionary/DictionaryValuesWriter.java b/parquet-column/src/main/java/org/apache/parquet/column/values/dictionary/DictionaryValuesWriter.java index 2999f3cdc4..bb0e55e9e3 100644 --- a/parquet-column/src/main/java/org/apache/parquet/column/values...
2
2
2
[{"id": "G0", "claim": "The new downcast `(int) dictionaryByteSize` in getBytes() should be on the safe side and check the potential overflow instead of silently truncating.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Changing the protected field...
null
apache__parquet-java__917
apache/parquet-java
917
defect
c3009c1da0060257554df727ed0c0d448781ce14
8ca13d031f42358852d93eb099c8680b2dfa50e7
PARQUET-2063: Remove Compile Warnings from MemoryManager
Make sure you have checked _all_ steps below. ### Jira - [X] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/PARQUET-2063) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-XXX - I...
diff --git a/parquet-common/src/main/java/org/apache/parquet/ParquetRuntimeException.java b/parquet-common/src/main/java/org/apache/parquet/ParquetRuntimeException.java index a1d3a8e13f..3544e2fda3 100644 --- a/parquet-common/src/main/java/org/apache/parquet/ParquetRuntimeException.java +++ b/parquet-common/src/main/ja...
1
1
0
[{"id": "G0", "claim": "The constructor parameter `format` of ParquetMemoryManagerRuntimeException is misleadingly named and should be renamed to `message` or similar.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__parquet-java__923
apache/parquet-java
923
defect
7bb1663b434e069f2b5f2832fccc15e14d41b034
a99ea78c4dba3c87d16a158cd79a2541743d2052
[PARQUET-1968] FilterApi support In predicate
Make sure you have checked _all_ steps below. ### Jira - [ ] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-1968 - In case you ...
diff --git a/parquet-column/src/main/java/org/apache/parquet/filter2/predicate/FilterApi.java b/parquet-column/src/main/java/org/apache/parquet/filter2/predicate/FilterApi.java index b209fc7b6f..a0490d9ac9 100644 --- a/parquet-column/src/main/java/org/apache/parquet/filter2/predicate/FilterApi.java +++ b/parquet-column...
10
9
4
[{"id": "G0", "claim": "The record-level In/NotIn handling should generate the per-type visit methods and use hash-based set lookup instead of checking the values one by one through a SetInspector.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In-p...
null
apache__parquet-java__928
apache/parquet-java
928
defect
5154d04f1ccc21811c0668bf68cfd19f91100907
836cbc599fd5cbd19f36faf87851a644879817a3
PARQUET-2081: Encryption translation tool - Parquet-hadoop
Summary: Design doc - High Throughput CLAC Writer: https://docs.google.com/document/d/1-XdE8-QyDHnBsYrClwNsR8X3ks0JmKJ1-rXq7_th0hc Added unit tests Integration tests with real data Make sure you have checked _all_ steps below. ### Jira - [ ] My PR addresses the following [Parquet Jira](https://issues.ap...
diff --git a/parquet-cli/src/main/java/org/apache/parquet/cli/commands/ColumnMaskingCommand.java b/parquet-cli/src/main/java/org/apache/parquet/cli/commands/ColumnMaskingCommand.java index a0b37a17ba..c6ecabd38e 100644 --- a/parquet-cli/src/main/java/org/apache/parquet/cli/commands/ColumnMaskingCommand.java +++ b/parqu...
23
23
5
[{"id": "G0", "claim": "ColumnChunkMetaData.isEncrypted() should return false and be overridden to return true in EncryptedColumnChunkMetaData instead of using an instanceof check, which would be much faster.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
apache__parquet-java__933
apache/parquet-java
933
defect
b8d7019585b462e9950c98542e59c5ed5c6b0d13
d022451f5e58e86b39f0a312d6251a0dc6bb7468
PARQUET-2094: Handle negative values in page headers
Make sure you have checked _all_ steps below. ### Jira - [ ] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-XXX - In case you a...
diff --git a/parquet-format-structures/src/main/java/org/apache/parquet/format/MetadataValidator.java b/parquet-format-structures/src/main/java/org/apache/parquet/format/MetadataValidator.java new file mode 100644 index 0000000000..52fec0edea --- /dev/null +++ b/parquet-format-structures/src/main/java/org/apache/parque...
5
4
1
[{"id": "G0", "claim": "InvalidParquetMetadataException should not be a checked IOException; make it a RuntimeException or an existing unchecked exception instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "validateValue should take a simple boolean ...
null
apache__parquet-java__945
apache/parquet-java
945
defect
300200eb72b9f16df36d9a68cf762683234aeb08
37faea935056279998ecfcf7172ad414a5731d5b
PARQUET-2117: Expose Row Index via ParquetReader and ParquetRecordReader
Make sure you have checked _all_ steps below. ### Jira - [x] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. - https://issues.apache.org/jira/browse/PARQUET-2117 - In case you are adding a dependency, check if the licen...
diff --git a/parquet-column/src/main/java/org/apache/parquet/column/page/PageReadStore.java b/parquet-column/src/main/java/org/apache/parquet/column/page/PageReadStore.java index 753bda8907d..adc5c376df1 100644 --- a/parquet-column/src/main/java/org/apache/parquet/column/page/PageReadStore.java +++ b/parquet-column/src...
17
14
5
[{"id": "G0", "claim": "Adding getRowIndexOffset to the PageReadStore interface triggers a japicmp METHOD_ADDED_TO_INTERFACE build issue, and the author asks for feedback on whether providing a default implementation is the right approach or whether an alternate approach exists.", "category": "design", "verdict": "unce...
null
apache__parquet-java__951
apache/parquet-java
951
defect
4d062dc37577e719dcecc666f8e837843e44a9be
6510a35ad59eec1f971186a5d54c7b5148283cb8
PARQUET-2134: Fix type checking in HadoopStreams.wrap
Make sure you have checked _all_ steps below. ### Jira - [x] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-2134 - In case you ...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/util/HadoopStreams.java b/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/util/HadoopStreams.java index 40f12fefd1c..b765284d2fe 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/util/HadoopStreams.java +++ b/parquet-hadoop/src...
4
4
1
[{"id": "G0", "claim": "The new recursive isWrappedStreamByteBufferReadable could loop forever if a wrapped stream's getWrappedStream ever returns the stream itself, so the reviewer asks for a self-check that throws plus a debug log before recursing.", "category": "correctness", "verdict": "supported", "priority": "P2"...
null
apache__parquet-java__963
apache/parquet-java
963
defect
fb3a9051a62acc65b20ec58f383a67566d76cc3d
e767b803cefa994c68853c316749ed6f935c95e2
PARQUET-1020 Add DynamicMessage writing support
### Jira - [x] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title: - https://issues.apache.org/jira/browse/PARQUET-1020 ### Tests - [X] My PR adds the following unit test: - testProto3SimplestDynamicMessage in parquet-...
diff --git a/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoSchemaConverter.java b/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoSchemaConverter.java index b8c2545a5e..9891fd43b7 100644 --- a/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoSchemaConverter.java +++ b/parquet-pro...
1
1
1
[{"id": "G0", "claim": "protoMessage should be left null when a descriptor is already supplied instead of being set to DynamicMessage.class, since having it set implies it is as usable as a generated message when it is only needed to derive the descriptor, which could lead to wrong assumptions later.", "category": "des...
null
apache__parquet-java__978
apache/parquet-java
978
defect
e06384455567c56d5906fc3a152ab00fd8dfdf33
b52ae80f7c8ca6126da1803e03f5831e6a041ad4
PARQUET-2161: Fix row index generation in combination with range filtering
Make sure you have checked _all_ steps below. ### Jira - [x] My PR addresses the following [Parquet Jira](https://issues.apache.org/jira/browse/PARQUET/) issues and references them in the PR title. For example, "PARQUET-1234: My Parquet PR" - https://issues.apache.org/jira/browse/PARQUET-2161 - In case you ...
diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/format/converter/ParquetMetadataConverter.java b/parquet-hadoop/src/main/java/org/apache/parquet/format/converter/ParquetMetadataConverter.java index 77856eea53..4409d5f689 100644 --- a/parquet-hadoop/src/main/java/org/apache/parquet/format/converter/ParquetM...
1
1
0
[{"id": "G0", "claim": "The assertion message \"validating row index\" on the added assertEquals in PhoneBookWriter.readUsers doesn't look like an error message and should be reworded.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__parquet-java__998
apache/parquet-java
998
defect
53f65a81dc5c2067aa258dfe8d832a6ff9fd0e9c
61976d68513d4c3ab32b28f76676861ada71e6e1
PARQUET-2195: Add scan command to parquet-cli
This PR enhances parquet-cli by adding a scan command to go through all records without printing them. This is useful when users need to verify if the parquet file is corrupted. Added ScanCommandTest to make sure no error happens. Test it manually with local parquet files.
diff --git a/parquet-cli/README.md b/parquet-cli/README.md index d17d7199c5..b003896255 100644 --- a/parquet-cli/README.md +++ b/parquet-cli/README.md @@ -96,6 +96,22 @@ Usage: parquet [options] [command] [command options] Print the first N records from a file head Print the first N records from ...
3
1
0
[{"id": "G0", "claim": "The source file argument should be a single String rather than a List<String>.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks what happens when the file has no Avro schema (how getAvroSchema handles such files)."...
null
apache__pinot__11661
apache/pinot
11,661
defect
3501b869c7ece2ddd088daf34c68a15ad6740a3a
030b78fde3a01aa61f98191381e25fc4c00240be
Don't allow NaN as default value for Float and Double in Schemas
This PR don't fix #10697 but as a first quick protection, it prevents the usage of NaN as a defaultValue raising an exception on convert
diff --git a/pinot-common/src/test/java/org/apache/pinot/common/data/FieldSpecTest.java b/pinot-common/src/test/java/org/apache/pinot/common/data/FieldSpecTest.java index 75cd4d9cdcaf..2c7288f4800a 100644 --- a/pinot-common/src/test/java/org/apache/pinot/common/data/FieldSpecTest.java +++ b/pinot-common/src/test/java/o...
1
1
1
[{"id": "G0", "claim": "Changing FieldSpec directly can make all existing schemas unparsable and break existing use cases, so the NaN check should instead be added to SchemaUtils.validate() which is applied only to newly uploaded schemas.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "intro...
null
apache__pinot__14250
apache/pinot
14,250
defect
0f984e81d3fce0d9d5bafb950cbbcf4b4dbc6763
a0d35af6e1507da17a32d4ef85f530cb05411922
Modify segment metadata call
Fixes #13990 The fetch segment metadata call for a table makes one call per segment, instead we can have one call per server
diff --git a/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotSegmentRestletResource.java b/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotSegmentRestletResource.java index 2f0d565590d0..a9b12157bc36 100644 --- a/pinot-controller/src/main/java/org/apache/pinot...
12
10
4
[{"id": "G0", "claim": "The pull request should not introduce a new (metadataV2/v2) controller API that duplicates the existing segments metadata endpoint; the existing endpoint should just gain a segments query parameter.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": ...
null
apache__pinot__15107
apache/pinot
15,107
defect
0b5600db25b730329b74416a22ea24076fefe8e6
06fb8aec8807e0a7a1d99b7ab0bef2d8919a55df
Enable force overwrite for partial upserts
Fixes #14924 This PR removes the logic that stops `prev column value` to be overwritten by `new column value` if the new value is `NULL`. Before: ``` (null, newValue) -> newValue (oldValue, null) -> oldValue (null, null) -> null ``` After: ``` (null, newValue) -> newValue (oldValue, null) -> null ...
diff --git a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/upsert/merger/PartialUpsertColumnarMerger.java b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/upsert/merger/PartialUpsertColumnarMerger.java index 3e510a8bcf9e..f5de268a91cf 100644 --- a/pinot-segment-local/src/main/java/o...
1
1
1
[{"id": "G0", "claim": "The change to PartialUpsertColumnarMerger removes null handling in place and is backward-incompatible; instead a new merger strategy should be created and allow null-overwrites there.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__pinot__15957
apache/pinot
15,957
defect
1abc8f25a2c04c48355de755739db4546b13ab98
ac78c5a92ca3d3a231f6fb45d13fb0fef0fa5cb0
Always use segment partition id as stream partition id for single stream
Fix #15952 Specialize single steam case to always use segment partition id as stream partition id
diff --git a/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/realtime/PinotLLCRealtimeSegmentManager.java b/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/realtime/PinotLLCRealtimeSegmentManager.java index d2445f3234f5..e85716c2be27 100644 --- a/pinot-controller/src/main/jav...
4
1
0
[{"id": "G0", "claim": "The multi-stream branch logic appears fully compatible with the single-stream case, so the numStreams == 1 special-casing in PinotLLCRealtimeSegmentManager and RealtimeSegmentDataManager could be merged into it.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "i...
null
apache__pinot__16004
apache/pinot
16,004
defect
265ddd468c5964e1df3c0894a559ccba2b083211
b8e3e9608f9d63c8af2b4ee8e4b02b506ac39e22
Make OOM Protection work with GRPC Queries
Fix usage of OOM accounting with server GRPC queries. Server GRPC queries are used when Pinot is used with Trino/Presto. `queryId` is not set for these queries and is set to `null`. However the assert in the following function caused tests to fail. Another issue that `parentContext` for a worker maybe null because ...
diff --git a/pinot-core/src/main/java/org/apache/pinot/core/accounting/CPUMemThreadLevelAccountingObjects.java b/pinot-core/src/main/java/org/apache/pinot/core/accounting/CPUMemThreadLevelAccountingObjects.java index 0c2e0daee468..eb7ac33e2be2 100644 --- a/pinot-core/src/main/java/org/apache/pinot/core/accounting/CPUMe...
6
1
1
[{"id": "G0", "claim": "The empty no-op overrides of createExecutionContext/createExecutionContextInner in DefaultThreadResourceUsageAccountant can be confusing and should be removed or marked @Deprecated with explanatory comments if they must remain.", "category": "maintainability", "verdict": "uncertain", "priority":...
null
apache__pinot__16040
apache/pinot
16,040
defect
c8eb53a4d3823700956badc29eac4c6ed81e0b7d
507a4087111aa107e68d7683472fe17d507cc11c
Use correlation ID instead of request id in PerQueryCpuMemAccountant
PerQueryCPUMemResourceUsageAccountant uses request id as the id as the key to accumulate resource usage statistics. However the request id is different b/w broker and server as well as b/w OFFLINE/REALTIME requests in the server. * query id is numerical in the broker. * query id has a prefix as well as two types of ...
diff --git a/pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseSingleStageBrokerRequestHandler.java b/pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseSingleStageBrokerRequestHandler.java index 87cd5b14bf2e..18aa6d9fd029 100644 --- a/pinot-broker/src/main/java/org/apache/pinot/b...
8
2
1
[{"id": "G0", "claim": "The integration test hardcodes the accountant factory class name as a string, which is brittle; use PerQueryCPUMemAccountantFactory.class.getName() instead for refactoring safety.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
apache__pinot__16051
apache/pinot
16,051
defect
c8eb53a4d3823700956badc29eac4c6ed81e0b7d
96e0699ce3347be5cf177207734244087796a79c
Make ThreadResourceUsageProvider a Helper/Utility Class.
`ThreadResourceUsageProvider` has two functions: * Provide utility functions to capture thread cpu and allocated bytes. * Snapshot start values for cpu and allocated bytes since the mxbean functions provide cumulative values. The dual functionality complicated its usage in `PerQueryCpuMemAccountant`. A `ThreadRes...
diff --git a/pinot-common/src/main/java/org/apache/pinot/common/datatable/DataTableImplV4.java b/pinot-common/src/main/java/org/apache/pinot/common/datatable/DataTableImplV4.java index c97e6a06e397..4de69f1aeb74 100644 --- a/pinot-common/src/main/java/org/apache/pinot/common/datatable/DataTableImplV4.java +++ b/pinot-c...
3
2
1
[{"id": "G0", "claim": "The Javadoc for getCpuTimeNs() (and getAllocatedBytes()) says it takes a current snapshot if not yet closed, but the method only returns the stored delta, so the comment should be corrected and the undefined notion of 'closed' clarified.", "category": "documentation", "verdict": "supported", "pr...
null
apache__pinot__16083
apache/pinot
16,083
defect
c8c9c8444de4a9396e6ec6a96c2f83a34ba634f1
c1526322a51bcc572c420149fec63267d8415dc9
[MSE] For constant expression query, solve it with a single random server
Fix #16024 For constant expression query (no table accessed), pick a random enabled server to solve it instead of fanning it out to all servers.
diff --git a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/MultiNodesOfflineClusterIntegrationTest.java b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/MultiNodesOfflineClusterIntegrationTest.java index e73f47fe0bae..91761b31c8a3 100644 --- a/pinot-integration-tests...
1
1
0
[{"id": "G0", "claim": "The reviewer asked in what scenarios the new no-servers fallback in getCandidateServers would occur (the path now carries a TODO about throwing an exception instead), probing whether that rarely-reachable fallback is the right handling.", "category": "design", "verdict": "supported", "priority":...
null
apache__pinot__16084
apache/pinot
16,084
defect
99cde4d16433a3ded02a5a6a6c3b230d048bc8c0
287176107afb8f5e23577024ff0ed39c91dfbf5a
Reduce fanout of intermediate stage
Fix #15932 Reduce the fanout of intermediate stage workers: - Do not include tables used as lookup table when calculating the candidate servers for intermediate stage - Add a config/query option to only use servers serving leaf stages as the candidate servers for intermediate stage - Can be enabled at broker l...
diff --git a/pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/MultiStageBrokerRequestHandler.java b/pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/MultiStageBrokerRequestHandler.java index 20299ac5a82b..e1b5f040271d 100644 --- a/pinot-broker/src/main/java/org/apache/pinot/broker/requ...
2
2
1
[{"id": "G0", "claim": "The nullable getters getNonLookupTables() and getLeafServerInstances() return null under some runtime conditions, which is unexpected for getters and error-prone; the PR should change either their names or their semantics (e.g. expose a separate check such as isUseLeafServerForIntermediateStage(...
null
apache__pinot__16102
apache/pinot
16,102
defect
fecaca97d0421c73ac327e519a23d3bcdf595993
00d5025ef858886824e610101f36681e9e850e0c
Fix TableDoesNotExistError for hybrid tables in MSE queries in controller API
#15773 added support for logical tables in controller query API. However the support broke queries that referenced hybrid tables. This PR fixes bug by simplifying the loop. Previously there were two sets of two loops - one to find tables and another to find logical tables. Two loops made it hard to find out if table...
diff --git a/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotQueryResource.java b/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotQueryResource.java index ceaaa8bf0761..9f708aded3ae 100644 --- a/pinot-controller/src/main/java/org/apache/pinot/controller/api/re...
2
1
1
[{"id": "G0", "claim": "The added broker-tenant lookup lines in PinotQueryResource.java violate the checkstyle line-length limit and must be rewrapped.", "category": "style", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Consider adding an inline comment at the fallback logic ...
null
apache__pinot__16142
apache/pinot
16,142
defect
ca0e7d8921b3c93e451fb1e8b06534b04f14e7cb
1aadbacc2fc3643a101a8d9d06443e872e83443e
Use QueryCancelCallback to cancel queries from ThreadResourceUsageAccountant
PerQueryCPUMemAccountant uses callbacks to cancel queries. The main motivation is that MSE executor threads have no anchor thread. * MSE queries register a callback at before starting execution. * The callback calls `OpchainSchedulerService.cancel`. * The callbacks are stored in a map `Map<String, QueryCancelCall...
diff --git a/pinot-core/src/main/java/org/apache/pinot/core/accounting/PerQueryCPUMemAccountantFactory.java b/pinot-core/src/main/java/org/apache/pinot/core/accounting/PerQueryCPUMemAccountantFactory.java index 5f243e03bffa..ca641b7bb4be 100644 --- a/pinot-core/src/main/java/org/apache/pinot/core/accounting/PerQueryCPU...
12
8
3
[{"id": "G0", "claim": "When cancelling via callback, killedCount is not incremented, so the query-killed metric may undercount; consider incrementing killedCount in the callback branch as well.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Jav...
null
apache__pinot__16219
apache/pinot
16,219
defect
d488bd1e0881ca93f4ed50d7be63e8424590050f
0ebba6ad2d7fbbc97cae97f3f033ad5ab51faab8
Dynamic PerQueryCPUMemAccountant Config on Servers
`PerQueryCPUMemAccountant` can only be configured at startup of brokers and servers. This PR adds the ability to configure the object at runtime as well on servers. The accountant now implements `PinotClusterConfigChangeListener` and saves the changed configurations in its internal state. As part of the change, all ...
diff --git a/pinot-core/src/main/java/org/apache/pinot/core/accounting/PerQueryCPUMemAccountantFactory.java b/pinot-core/src/main/java/org/apache/pinot/core/accounting/PerQueryCPUMemAccountantFactory.java index f733e81ba7e2..aa387807d5bc 100644 --- a/pinot-core/src/main/java/org/apache/pinot/core/accounting/PerQueryCPU...
1
1
0
[{"id": "G0", "claim": "Add an assertion on the pre-onChange default value (e.g. assertFalse on isOomKillQueryEnabled) before each onChange call, in all the tests, so the tests verify the update actually went through.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__pinot__16299
apache/pinot
16,299
defect
aa6a67385363d44e97596f80edb4c000f5767218
a651f2f110d241ca3f22c8f04e8ca2dccf873954
Eliminate duplicate cancel attempts in PerQueryCPUMemAccountant
In critical mode, the accountant sends a cancel to the most expensive query. This query may not terminate immediately. So the accountant will attempt multiple times to cancel the query. A sinister side effect is that it also increments `_numQueriesKilledConsecutively` and calls GC when the value is above a config. Note...
diff --git a/pinot-core/src/main/java/org/apache/pinot/core/accounting/PerQueryCPUMemAccountantFactory.java b/pinot-core/src/main/java/org/apache/pinot/core/accounting/PerQueryCPUMemAccountantFactory.java index 5f243e03bffa..3af11a890dd0 100644 --- a/pinot-core/src/main/java/org/apache/pinot/core/accounting/PerQueryCPU...
8
4
0
[{"id": "G0", "claim": "Removing entries from _threadEntriesMap inside the for-each over its own entrySet in reapFinishedTasks can trigger a ConcurrentModificationException; use an iterator and iterator.remove() instead.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id...
null
apache__pinot__16360
apache/pinot
16,360
defect
d9e06d0697f1315f8223af05e9ed3b430b329d2b
7a153068ff065af083720f5f1280e274d406cf48
Allow Reset of ThreadResourceUsageAccountant in Tracing.java
This PR breaks the shackles of allowing only one `ThreadResourceUsageAccountant` in a JVM due to the following code: ``` static final ThreadResourceUsageAccountant ACCOUNTANT = ACCOUNTANT_REGISTRATION.get() == null ? createDefaultThreadAccountant() : ACCOUNTANT_REGISTRATION.get(); ``` While this ma...
diff --git a/pinot-broker/src/main/java/org/apache/pinot/broker/broker/helix/BaseBrokerStarter.java b/pinot-broker/src/main/java/org/apache/pinot/broker/broker/helix/BaseBrokerStarter.java index c694864055ee..3ae7fd846ce4 100644 --- a/pinot-broker/src/main/java/org/apache/pinot/broker/broker/helix/BaseBrokerStarter.jav...
5
2
1
[{"id": "G0", "claim": "Setting ACCOUNTANT_REGISTRATION after already setting Holder._accountant in createDefaultThreadAccountant creates a potential race condition; the registration should be set before updating the holder to ensure consistency.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "s...
null
apache__pinot__16683
apache/pinot
16,683
defect
98ea698debdf3057811a522de51bfbc8b5d2b4fa
6679a833041988e85011e08d2978af49a6e39e0b
Handle null values in JsonExtractScalarTransformFunction with default value support
This PR is like the closed #16670, but instead of trying to fix it by modifying DataTableImplV4 to support nulls (or better say, return empty strings in that case), it fixes the UDF that was generating multivalues with nulls inside, which is something we don't support
diff --git a/pinot-core/src/main/java/org/apache/pinot/core/operator/transform/function/JsonExtractScalarTransformFunction.java b/pinot-core/src/main/java/org/apache/pinot/core/operator/transform/function/JsonExtractScalarTransformFunction.java index 783ec0232271..8b6d18c3e7e7 100644 --- a/pinot-core/src/main/java/org/...
1
1
0
[{"id": "G0", "claim": "The null-handling error message added in the transformTo*ValuesMV methods misspells 'forth' as 'fourth' and should name the function correctly (the reviewer suggested 'jsonExtractScalar').", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__pinot__16721
apache/pinot
16,721
defect
689c2f32d7adc66ad5810298295a75be221d3ac1
e16104e2e2ac35f5f05da50f94ce6bdd4b45d03a
Add $partitionId as a new virtual column
### What This PR adds support for a new built-in virtual column $partitionId that provides partition information for segments in query results. Since there can be multiple partition defined for a table, the $partitionId returns multi-value string column with entries in format "columnName_partitionId" for all partiti...
diff --git a/pinot-common/src/main/java/org/apache/pinot/common/config/provider/TableCache.java b/pinot-common/src/main/java/org/apache/pinot/common/config/provider/TableCache.java index 57fa9502e5a6..e11abcebf70c 100644 --- a/pinot-common/src/main/java/org/apache/pinot/common/config/provider/TableCache.java +++ b/pino...
2
1
1
[{"id": "G0", "claim": "Deriving $partitionId from the segment name is not useful since this info can also be extracted from $segmentName; pass in the segment metadata and use the actual partition id stored in the metadata instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
apache__pinot__17871
apache/pinot
17,871
defect
0f93d52ef0bfa1c2dc367b31f137a63bd25f9d2f
0a519d2de602b3da9814ad47516dfeaca1a56349
[feature] Add ArrowRecordReader for batch ingestion of Arrow IPC files
## Summary The Arrow plugin previously only had `ArrowMessageDecoder` for streaming ingestion (e.g. Kafka). This PR adds `ArrowRecordReader` implementing the `RecordReader` interface, enabling batch ingestion from Arrow IPC files, consistent with how other formats (Avro, JSON, ORC, Parquet, etc.) support both stream...
diff --git a/pinot-plugins/pinot-input-format/pinot-arrow/src/main/java/org/apache/pinot/plugin/inputformat/arrow/ArrowRecordReader.java b/pinot-plugins/pinot-input-format/pinot-arrow/src/main/java/org/apache/pinot/plugin/inputformat/arrow/ArrowRecordReader.java new file mode 100644 index 000000000000..3aed26ace375 ---...
7
7
5
[{"id": "G0", "claim": "convertSingleRow(…, GenericRow reuse) only calls reuse.putValue(...) when the Arrow value is non-null, so if the caller reuses a GenericRow without clearing it, nulls in the Arrow data can leave stale values from the previous row; it should always write the field key with a null value or explici...
null
apache__pinot__17951
apache/pinot
17,951
defect
884bcf4d3ce70b8eeb5dc44e8ce10540afab7617
a3bd27c0859a13d14dcfdce6c253989ba86c8b71
Always create inverted index during segment creation
This is discussed in Slack `pinot-dev` and `pinot-committers` channel. Making inverted index behavior consistent with other index types, where index is generated during segment creation, instead of segment loading. This greatly simplifies the management overhead, and also reduce the chance of bugs. # Behavior Cha...
diff --git a/pinot-core/src/test/java/org/apache/pinot/core/minion/SegmentPurgerTest.java b/pinot-core/src/test/java/org/apache/pinot/core/minion/SegmentPurgerTest.java index 5c80dc6f4552..d37ed93b0d07 100644 --- a/pinot-core/src/test/java/org/apache/pinot/core/minion/SegmentPurgerTest.java +++ b/pinot-core/src/test/ja...
6
3
1
[{"id": "G0", "claim": "Removing setCreateInvertedIndexDuringSegmentGeneration (and its backing field) from TableConfigBuilder is a compile-time breaking change for external code constructing TableConfig via the builder; keep the method and backing field as @Deprecated (optionally a no-op) for at least one release.", "...
null
apache__pinot__17995
apache/pinot
17,995
defect
2c3f73372a61c4df339aa8ad43c7166d9dcb2e2a
0968adbd0a1c2221042f7e31e0d7412b99401f44
[codex] Upgrade protobuf to 4.34.0
## Summary - Upgrade the shared `protobuf.version` to `4.34.0`. - Upgrade the shared `confluent.version` to `8.2.0`, which publishes protobuf 4.x artifacts. - Add an explicit `com.google.code.findbugs:jsr305` dependency to `pinot-confluent-protobuf` so the module still gets `javax.annotation` types after the shared pr...
diff --git a/pinot-plugins/pinot-input-format/pinot-confluent-protobuf/pom.xml b/pinot-plugins/pinot-input-format/pinot-confluent-protobuf/pom.xml index 6fbf6dae85ea..c070de2e2090 100644 --- a/pinot-plugins/pinot-input-format/pinot-confluent-protobuf/pom.xml +++ b/pinot-plugins/pinot-input-format/pinot-confluent-protob...
4
2
1
[{"id": "G7", "claim": "The jsr305 dependency is added only for annotation-only usage of javax.annotation.Nullable and should be declared with provided scope (or otherwise kept out of the shaded plugin JAR) to avoid shipping duplicate javax.annotation classes in the plugin artifact.", "category": "maintainability", "ve...
null
apache__pinot__18047
apache/pinot
18,047
defect
d9eabed55015154cf0d3295bcfab752947baaa4a
a9c049cd24c529dad0d92ffe305b5357418c34f6
[enhance] Support dynamically modify server thread pool
Make `pinot.query.scheduler.query_runner_threads` and `pinot.query.scheduler.query_worker_threads` dynamically adjustable at runtime via Helix cluster config, without requiring a server restart. Previously, tuning these thread pool sizes to match available CPU/IO capacity required editing server.conf and restarting ...
diff --git a/pinot-core/src/main/java/org/apache/pinot/core/query/scheduler/QueryScheduler.java b/pinot-core/src/main/java/org/apache/pinot/core/query/scheduler/QueryScheduler.java index 9d488f7ee0f4..3f7e891c61a9 100644 --- a/pinot-core/src/main/java/org/apache/pinot/core/query/scheduler/QueryScheduler.java +++ b/pino...
7
4
4
[{"id": "G0", "claim": "resizeThreadPools() only adjusts the underlying executors and counters while other scheduler/admission components that snapshot the thread counts at construction (PriorityScheduler's final _numRunners/_runningQueriesSemaphore, ResourceLimitPolicy built from _numQueryWorkerThreads) are not update...
null
apache__pinot__18127
apache/pinot
18,127
defect
e7ea035cc76874c9988fa7d377e46aeac5bb8d4c
1c55cb417fe27d7f7d0b3fd2cb79a2be9ce0124c
Refactor: convert RealtimeOffsetAutoResetHandler to interface with init(); fix nonLeaderCleanup
Addresses review feedback from #15782 (Jackie-Jiang) that was not carried over when the feature was split and merged as #16492, #16692, and #16724: - Removed redundant `public abstract` modifiers from `RealtimeOffsetAutoResetHandler` interface methods; updated `...
diff --git a/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/periodictask/RealtimeOffsetAutoResetHandler.java b/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/periodictask/RealtimeOffsetAutoResetHandler.java index 7d5e9eac30a2..fa50442dc933 100644 --- a/pinot-controller/src/...
2
2
1
[{"id": "G0", "claim": "The abstract ensureBackfillJobsRunning override in RealtimeOffsetAutoResetKafkaHandler should be removed since it is identical to the interface declaration.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Switching the aut...
null
apache__pinot__18139
apache/pinot
18,139
defect
52554abc7c43e2b6d7c257cc0248619305e76017
f9aa32e127ec9073a05d43b0464fc8122790064b
Fix NPE in ServerGrpcChannelBackoffResetHandler
Pinot integration tests failed flakily with ``` java.lang.NullPointerException at org.apache.pinot.server.starter.helix.ServerGrpcChannelBackoffResetHandler.onInstanceConfigChange(ServerGrpcChannelBackoffResetHandler.java:90) at org.apache.helix.manager.zk.CallbackHandler.invoke(CallbackHandler.java:362) at org...
diff --git a/pinot-server/src/main/java/org/apache/pinot/server/starter/helix/ServerGrpcChannelBackoffResetHandler.java b/pinot-server/src/main/java/org/apache/pinot/server/starter/helix/ServerGrpcChannelBackoffResetHandler.java index da0c6904fe4c..82cd20735427 100644 --- a/pinot-server/src/main/java/org/apache/pinot/s...
1
1
0
[{"id": "G0", "claim": "The pull request adds handling for a null pathChanged without establishing that Helix can ever produce one, so we should dig deeper into whether a Helix code path can result in null pathChanges.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__pinot__18158
apache/pinot
18,158
defect
b5f9bcecb5d39ecb2d6c73c6c03acd0100e7244e
e2e5c9ec2e233322e6a8bd03bf8879ad87838453
[multistage] add lookup join support to physical optimizer
Addresses: https://github.com/apache/pinot/issues/17961 ## Problem Using lookup joins in the physical optimizer via query hint `joinOptions(join_strategy='lookup')` would fail with `"Right input must be leaf operator"`. The optimizer inserted a `BROADCAST_EXCHANGE` on the dimension table side, splitting it into a...
diff --git a/pinot-query-planner/src/main/java/org/apache/pinot/calcite/rel/traits/TraitAssignment.java b/pinot-query-planner/src/main/java/org/apache/pinot/calcite/rel/traits/TraitAssignment.java index 9032bba06a14..eddcf7dd485d 100644 --- a/pinot-query-planner/src/main/java/org/apache/pinot/calcite/rel/traits/TraitAs...
2
2
2
[{"id": "G0", "claim": "Add a test covering queries that do lookups on multiple dimension tables, to check the lookup join rule works in that case.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add unit-test queries modelled on the production workloads...
null
apache__pinot__18163
apache/pinot
18,163
defect
e7ea035cc76874c9988fa7d377e46aeac5bb8d4c
bd1462401090ad4ead42805b7ce34dffd7d03e99
Add OOM pause mechanism to pause query threads before killing on critical heap
### Summary - When heap transitions from below-critical to critical, pauses all query execution threads for a configurable duration and calls `System.gc()` (only once, on first transition into critical), giving the JVM breathing room to reclaim memory before resorting to query kills. - If heap recovers below critical ...
diff --git a/pinot-core/src/main/java/org/apache/pinot/core/accounting/PerQueryCPUMemAccountantFactory.java b/pinot-core/src/main/java/org/apache/pinot/core/accounting/PerQueryCPUMemAccountantFactory.java index f45338301a51..91e41fa077df 100644 --- a/pinot-core/src/main/java/org/apache/pinot/core/accounting/PerQueryCPU...
12
11
3
[{"id": "G0", "claim": "Clearing the pause before killMostExpensiveQuery() wakes every blocked query while the heap is still critical, letting threads resume allocating before the victim observes termination; the pause must stay active until after the victim has been killed (kill first, then clear pause).", "category":...
null
apache__pinot__18167
apache/pinot
18,167
defect
397704edf833a9ac8f3dcb3e67313ed249a8c518
e6cf8b3969000db26a896b10c0a1cc2b2b2975c6
Add TableConfigValidator and InstanceConfigValidator SPI for batch restart enforcement
## Summary - Adds `TableConfigValidator` and `InstanceConfigValidator` SPI interfaces in `pinot-spi` with list-based registries, enabling pre-mutation validation of table and instance configs - Adds `InstanceUtils.toInstance(InstanceConfig)` reverse converter for the `updateInstanceTags` validation path - Wires validat...
diff --git a/pinot-common/src/main/java/org/apache/pinot/common/utils/config/InstanceUtils.java b/pinot-common/src/main/java/org/apache/pinot/common/utils/config/InstanceUtils.java index 3d701b30d84b..b1eb9ae6602e 100644 --- a/pinot-common/src/main/java/org/apache/pinot/common/utils/config/InstanceUtils.java +++ b/pino...
3
2
2
[{"id": "G0", "claim": "copyTable()'s new validateTableConfig call can throw ConfigValidationException for a user-supplied config, which is caught by the generic catch (Exception) and returned as HTTP 500 instead of a BAD_REQUEST response.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": ...
null
apache__pinot__18204
apache/pinot
18,204
defect
9ff14da6dbcb8dddbdcb7edc04b2db7f93fb70de
3338be6e4cb63a74ab15358b7c9760dfe3aa557e
[bugfix] Clear realtime inverted index bitmaps on close
## Summary - make `RealtimeInvertedIndex.close()` actively clear and trim in-memory bitmap state - add a regression test that verifies `close()` empties the bitmaps and returns empty results afterward ## Root cause `MutableSegmentImpl.destroy()` already walks mutable indexes and calls `close()`, but `RealtimeInvertedI...
diff --git a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/realtime/impl/invertedindex/RealtimeInvertedIndex.java b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/realtime/impl/invertedindex/RealtimeInvertedIndex.java index 7aa5f6b34d2c..de4ffeb5d97f 100644 --- a/pinot-segment-local...
2
2
1
[{"id": "G0", "claim": "close() clears _bitmaps but keeps the backing ArrayList capacity, so for a large-cardinality index the retained Object[] still holds significant heap after close; the reviewer asks to trim the list (e.g. trimToSize()) so close releases both the bitmaps and the list storage.", "category": "perfor...
null
apache__pinot__18250
apache/pinot
18,250
defect
d86660ab3095d16085bf0670773638f3ec782906
0f171ac1cfc3db95d903ebd379fcaf8fa0576510
[codex] Upgrade Flink connector to Flink 2.2.0 for Java 21
## Summary - upgrade `pinot-flink-connector` from Flink `1.20.3` to `2.2.0` to align with the Flink 2.x line used for Java 21 support - replace the removed legacy `SinkFunction`-based connector implementation with a Flink 2 `Sink`/`SinkWriter` implementation - update connector examples and integration tests to use `Da...
diff --git a/pinot-connectors/pinot-flink-connector/README.md b/pinot-connectors/pinot-flink-connector/README.md index 278eac86a43d..93183001269b 100644 --- a/pinot-connectors/pinot-flink-connector/README.md +++ b/pinot-connectors/pinot-flink-connector/README.md @@ -28,7 +28,7 @@ including the upsert tables. You can re...
3
3
3
[{"id": "G0", "claim": "Removing the public constants DEFAULT_OUTPUT_DIR_URI / DEFAULT_SEGMENT_FLUSH_MAX_NUM_RECORDS / DEFAULT_EXECUTOR_POOL_SIZE from PinotSinkFunction is a source-incompatible change that currently breaks in-repo tests (e.g. PinotSinkFunctionTest references PinotSinkFunction.DEFAULT_OUTPUT_DIR_URI); r...
null
apache__pinot__18251
apache/pinot
18,251
defect
d86660ab3095d16085bf0670773638f3ec782906
a2ad66cdb3569628975ff0662e624a583deb2336
Support role-specific accounting config prefixes for broker and server
## Summary - Adds `pinot.broker.query.accounting.*` and `pinot.server.query.accounting.*` config prefixes so broker and server can be tuned independently. - The legacy `pinot.query.scheduler.accounting.*` prefix continues to work for backward compatibility. Role-specific values override the legacy value on the matching...
diff --git a/pinot-broker/src/main/java/org/apache/pinot/broker/broker/helix/BaseBrokerStarter.java b/pinot-broker/src/main/java/org/apache/pinot/broker/broker/helix/BaseBrokerStarter.java index 85bedd5d2c72..790b632019b6 100644 --- a/pinot-broker/src/main/java/org/apache/pinot/broker/broker/helix/BaseBrokerStarter.jav...
2
1
1
[{"id": "G0", "claim": "WorkloadScheduler assumes WorkloadBudgetManager has already been initialized via WorkloadBudgetManager.set(), so in unit tests such as QuerySchedulerFactoryTest selecting WORKLOAD_SCHEDULER_ALGORITHM (and any other path that constructs WorkloadScheduler before initialization) WorkloadBudgetManag...
null
apache__pinot__18268
apache/pinot
18,268
defect
093e164216e4bd7de9ea69930fb16facf4919494
c4c6e3e6b6f637e0552c534fc0a04af35451fdfc
MSE resilience to silently unreachable servers
- **Problem:** Observed in prod — a server node became kernel-dead (kubelet dead, pod stuck terminating). The broker's MSE dispatch gRPC channel stayed `READY` (no keep-alive configured), `FailureDetector` never fired, and `WorkerManager` kept picking the dead server as an intermediate-stage worker on unrelated queries...
diff --git a/pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/MultiStageBrokerRequestHandler.java b/pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/MultiStageBrokerRequestHandler.java index 9067a126a81f..6bb8af4ef284 100644 --- a/pinot-broker/src/main/java/org/apache/pinot/broker/requ...
9
6
0
[{"id": "G0", "claim": "In testRoutableServerInstanceMapReflectsExclusion, prefer assertFalse(...) over assertTrue(!...) for clearer intent and better failure output.", "category": "testing", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new block comment on _routableServe...
null
apache__pinot__18277
apache/pinot
18,277
defect
0607efe710d40a29852417e55f16c49daf657957
48e9579deae8b2df4330bbca23424be6f27512bf
Add cooperative termination polls inside MSE exchange and splitter loops
## Summary Under heap pressure, the per-query heap accountant's `killAllQueries()` flags every in-flight query via `QueryExecutionContext.terminate(...)`, but worker threads only notice the flag at their next `checkTermination*` poll. Operator subclasses of `MultiStageOperator` already poll once per block in `nextBl...
diff --git a/pinot-query-runtime/src/main/java/org/apache/pinot/query/runtime/blocks/BlockSplitter.java b/pinot-query-runtime/src/main/java/org/apache/pinot/query/runtime/blocks/BlockSplitter.java index 9a4195ef3295..ec8577134cff 100644 --- a/pinot-query-runtime/src/main/java/org/apache/pinot/query/runtime/blocks/Block...
3
3
1
[{"id": "G0", "claim": "The periodic termination check in the sendBlock split loop counts 4MB splits rather than rows, so a query terminated just after the first split can still send up to 8191 more chunks before observing the kill signal, leaving a large kill-to-reclaim window in the OOM path; check termination for ea...
null
apache__pinot__18285
apache/pinot
18,285
defect
85e2083e188ae8b64ed81f5e7c13200248086334
7b6c7c631cc20afa96a8688c973406b5dd04f9ec
Filter segments near retention expiry from MergeRollup and UpsertCompactMerge task generators
## Summary Add a retention-aware filter to `MergeRollupTaskGenerator` and `UpsertCompactMergeTaskGenerator` that excludes segments nearing their retention expiry from task generation. This closes a race condition where RetentionManager could delete segments between the time a task is generated (controller-side) and ...
diff --git a/pinot-plugins/pinot-minion-tasks/pinot-minion-builtin-tasks/src/main/java/org/apache/pinot/plugin/minion/tasks/MinionTaskUtils.java b/pinot-plugins/pinot-minion-tasks/pinot-minion-builtin-tasks/src/main/java/org/apache/pinot/plugin/minion/tasks/MinionTaskUtils.java index 396a91fc4774..c38ab29b52c6 100644 -...
3
3
1
[{"id": "G0", "claim": "The per-segment validity/expiry test should be restructured into a single condition that excludes invalid or expired segments and keeps the rest, as offered in the reviewer's suggestion block.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ...
null
apache__pinot__18287
apache/pinot
18,287
defect
9cd44c435e7a37e47b1f62032264b0756070008a
65fcdf942d03a5c315fc7f14675fb18acd569af9
Add `pinot_server_mse_queries` server metrics
Adds a new ServerMeter enum values that fire exactly once per incoming Worker.QueryRequest, giving operators a per-server MSE query count independent of stage/worker parallelism. This will help debug adaptive routing for MSE. In MSE, the broker sends a single Worker.QueryRequest to each server it dispatches to, and...
diff --git a/pinot-common/src/main/java/org/apache/pinot/common/metrics/ServerMeter.java b/pinot-common/src/main/java/org/apache/pinot/common/metrics/ServerMeter.java index 800cd0c00544..9ab61a7c9d3f 100644 --- a/pinot-common/src/main/java/org/apache/pinot/common/metrics/ServerMeter.java +++ b/pinot-common/src/main/jav...
4
3
1
[{"id": "G0", "claim": "The MSE_QUERIES metric description should not include internal details like `Worker.QueryRequest messages` and should be human readable, e.g. `Number of MSE queries received by this server` — especially because explain plan queries can send Worker.QueryRequest messages but the metric is not incr...
null
apache__pinot__18312
apache/pinot
18,312
defect
6b79b5726ad529fbeb7ae9d20c58ae5b0d4e82c8
5e68b3aa1995e913200f6b8fad7ff5fe092610b0
Split reload and refresh executor wrappers in BaseTableDataManager
## Description Reload and refresh now use separately-wrapped ExecutorService fields backed by the same underlying thread pool. Separation lets subclasses decorate one path without affecting the other, also refresh tasks and reload tasks now labeled with distinct `SegmentOperationTaskType` for any down stream applicati...
diff --git a/pinot-core/src/main/java/org/apache/pinot/core/data/manager/BaseTableDataManager.java b/pinot-core/src/main/java/org/apache/pinot/core/data/manager/BaseTableDataManager.java index ea46c9320f07..e44d51f20edd 100644 --- a/pinot-core/src/main/java/org/apache/pinot/core/data/manager/BaseTableDataManager.java +...
3
2
2
[{"id": "G0", "claim": "Removing REFRESH_OR_RELOAD from the explicitly extensible SegmentOperationsTaskType class is a binary/source compatibility break for downstream extensions, whose code compiled against it will fail with NoSuchFieldError after upgrade; keep the legacy constant as a compatibility alias alongside th...
null
apache__pinot__18325
apache/pinot
18,325
defect
2a84fc7e313383bd324b9c225a1f313221b0a145
99f4698518dca52a2d85df4d2589c53ec1f38d2e
Fix Parquet LIST/MAP wrapper extraction in native and Avro readers
## Problem The native (`ParquetNativeRecordReader`) and Avro-backed (`ParquetAvroRecordReader`) Parquet readers were leaking the LIST/MAP wrapper structs into Pinot rows. A column of `array<string>` came back as `[{"element":"abc"}, {"element":"xyz"}]` instead of `["abc", "xyz"]`, and a `map<string,string>` came back ...
diff --git a/pinot-plugins/pinot-input-format/pinot-parquet/src/main/java/org/apache/pinot/plugin/inputformat/parquet/ParquetAvroRecordExtractor.java b/pinot-plugins/pinot-input-format/pinot-parquet/src/main/java/org/apache/pinot/plugin/inputformat/parquet/ParquetAvroRecordExtractor.java index 8d8f282eef18..8eb2915cada...
10
9
0
[{"id": "G0", "claim": "Make the new ParquetRecordExtractorUtils class public.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Put the LIST_ELEMENT_FIELD_NAME constant at the top of the class.", "category": "maintainability", "verdict": "supported", "prio...
null
apache__pinot__18337
apache/pinot
18,337
defect
4499bf56a6b3fa0ffaf6479f79ab257585188a0d
1f0f84c32dff2a92a41038a7130583356d565726
[bugfix] KafkaPartitionLevelConsumer: stop re-seeking past read_committed-filtered batches
## Summary This is a **bug fix** in `KafkaPartitionLevelConsumer` (both `pinot-kafka-3.0` and `pinot-kafka-4.0`) plus a redundant fsync removal in `ExactlyOnceKafkaRealtimeClusterIntegrationTest`. The integration-test flake that surfaced these issues is the reason this PR exists, but the actual changes are production ...
diff --git a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/ExactlyOnceKafkaRealtimeClusterIntegrationTest.java b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/ExactlyOnceKafkaRealtimeClusterIntegrationTest.java index 8cc62fa499ef..a52391328cb8 100644 --- a/pinot-int...
10
8
4
[{"id": "G0", "claim": "Retrying the full setup on a fresh topic turns this exactly-once regression test into a best-of-three liveness check that can mask a real regression, so scope the retry to the metadata-bootstrap case only or keep the first-topic failure as a hard failure once the standalone read_committed verifi...
null
apache__pinot__18346
apache/pinot
18,346
defect
18818842e5cfcb97ca9cc7e21f01eee5a94ef353
d46f476d22fc984d18cd7f5e866e1dc1a03bc2d2
Add validation to ensure segment assignment strategy is either null or allservers for dimension tables
Fixes #18345 Added validation to catch incorrect segment assignment strategy early and provide clear error messages. The fix is backward incompatible: ✅ Valid dimension tables (without `segmentAssignmentStrategy` or set as `allservers`) continue to work unchanged ❌ Invalid dimension tables (with strategy othe...
diff --git a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/TableConfigUtils.java b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/TableConfigUtils.java index 9396658bbc9d..f36c51a9312f 100644 --- a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/Ta...
2
2
1
[{"id": "G0", "claim": "Prefer an import over using the qualified name CommonConstants.Segment.AssignmentStrategy.REPLICA_GROUP_SEGMENT_ASSIGNMENT_STRATEGY in TableConfigUtils.java (style nit).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
apache__pinot__18359
apache/pinot
18,359
defect
22df83145b767f807794426faf7ebcd40ab1af33
ee5feb62730fd82c7fee080fe34d85deaa16f8a8
Allow invertedIndexDistinctCostRatio=0
## Summary - Allow `invertedIndexDistinctCostRatio=0` as a valid query option value. - Treat `0` as the documented way to force the bitmap inverted-index distinct path for non-empty filter results. - Add parser coverage and query-path coverage for the zero-ratio behavior. ## User Manual For single-column `DISTINCT` ...
diff --git a/pinot-common/src/main/java/org/apache/pinot/common/utils/config/QueryOptionsUtils.java b/pinot-common/src/main/java/org/apache/pinot/common/utils/config/QueryOptionsUtils.java index ba178425d623..95fb7fc54ec0 100644 --- a/pinot-common/src/main/java/org/apache/pinot/common/utils/config/QueryOptionsUtils.jav...
1
1
0
[{"id": "G0", "claim": "Keep the removed `checkedParseDoublePositive` helper alongside the new non-negative parser, in case it is needed in the future.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__plc4x__1122
apache/plc4x
1,122
defect
24126b7746e39297e28122fc38939f0ab13311de
19bb2be3d25393b276a1c5c9547846e3842ce13c
Nifi integration revision
# NiFi integration revision As we aim for a new release I bring a revision of the NiFi integration with a couple of improvements: * #900: this made the processors be able to auto-reconnect with small changes. And allowed to make: * #593 : this was already done for the addresses. But the connection string had t...
diff --git a/plc4j/integrations/apache-nifi/README.md b/plc4j/integrations/apache-nifi/README.md index a80e6f8ed41..04aeed86541 100644 --- a/plc4j/integrations/apache-nifi/README.md +++ b/plc4j/integrations/apache-nifi/README.md @@ -20,8 +20,9 @@ under the License. ## Common properties The following properties appl...
5
5
4
[{"id": "G0", "claim": "The methods duplicated across the processors should be moved to a shared place so there are not multiple copies in each processor.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "More tests should be added for the new eval...
null
apache__plc4x__1139
apache/plc4x
1,139
defect
5391e374deb40720ab8d2323786629a941cd5361
cd03c947eb9e43baee829b7361bcebb568648864
plc4j-driver-opcua: Fix keepalive threads are never shut down
Attempts to fix #1138 * OPC-UA keepalive threads now have an exit condition. * Both keepalive and subscription loops are now executed in their own, dedicated thread, instead of using the `ForkJoin` common pool. * Keepalive thread now uses the more sensible session timeout, instead of the 10 hour `CONNECTION_LIFET...
diff --git a/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/context/SecureChannel.java b/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/context/SecureChannel.java index 16e3e366160..5b399e8e6ad 100644 --- a/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/context/SecureChannel...
2
2
1
[{"id": "G0", "claim": "The error-level log of an unexpected sequence number looks like debugging code and should be removed from this PR (and justified elsewhere if kept).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The interrupted flag must...
null
apache__plc4x__1179
apache/plc4x
1,179
defect
6073d4bf4755c31600e858745bac45a12e937d6f
9af68f2f79fd0e36411cbf248668d8216ead5d34
Feature/transport configuration rework
Reworked the configuration of transports so a transports configuration options are referenced by a prefix, that matches the transport code. So for example in S7 I can customize the timeout like this: s7://192.168.23.30?tcp.default-timeout=3000
diff --git a/plc4j/drivers/ab-eth/src/main/java/org/apache/plc4x/java/abeth/AbEthDriver.java b/plc4j/drivers/ab-eth/src/main/java/org/apache/plc4x/java/abeth/AbEthDriver.java index 908da1d0ad5..ea08d3fdd5d 100644 --- a/plc4j/drivers/ab-eth/src/main/java/org/apache/plc4x/java/abeth/AbEthDriver.java +++ b/plc4j/drivers/a...
3
1
0
[{"id": "G0", "claim": "The default C-Bus port returned by CBusTcpTransportConfiguration.getDefaultPort() is hardcoded as 123; it should use the constant defined in the mspec instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Some trace/deb...
null
apache__plc4x__130
apache/plc4x
130
defect
d1003f043a2e5be51334cea79f45f744deb570c4
4c6e0628490b96aca4e079038a4519b3684229ab
PLC4x-142 OPC-UA read variables
[fix] Changed restircitive RegEx for OPC UA node id
diff --git a/RELEASE_NOTES b/RELEASE_NOTES index 734c5a81404..d7ed1132ce5 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -27,6 +27,7 @@ Bug Fixes - PLC4X-163 Fixed Netty ByteBuf Leaks for S7 Driver - PLC4X-158 Added Warning if no Pooled Driver is used for Scraper - Fixed wrong connection address parameter handlin...
1
1
1
[{"id": "G0", "claim": "A unit test (like the automated tests in S7FieldTest) should be added to show that the changed OpcuaField address regex works.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__plc4x__1468
apache/plc4x
1,468
defect
57a0f62353fd4f5c0b484b0fff9b0c1accb4f770
dd2adb49fad4204b86aa6c88872c76c236174322
Convert the string address into a PlcTag
Convert the string address into a PlcTag. For string tagAddress verification
diff --git a/plc4j/api/src/main/java/org/apache/plc4x/java/api/messages/PlcReadRequest.java b/plc4j/api/src/main/java/org/apache/plc4x/java/api/messages/PlcReadRequest.java index b11ec41f9d0..46d656d5342 100644 --- a/plc4j/api/src/main/java/org/apache/plc4x/java/api/messages/PlcReadRequest.java +++ b/plc4j/api/src/main...
4
3
1
[{"id": "G0", "claim": "Rename the new parse method to parseTagAddress to match the naming pattern of the other methods, without a \"Safe\" suffix.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Do not provide the null-returning variant (parseOr...
null
apache__plc4x__2028
apache/plc4x
2,028
defect
5c73dfe77d65a3f2f89c264e38407a22333fc057
69c52a42fe11ebe00ed0dba30348f788ee796f0e
feat(plc4j/opcua): Remove additional hostname resolution within OPC-UA
Closes #1897. Removed code which caused additional DNS lookups in favor of endpoint-port and endpoint-host options provided with plc4j 0.13.
diff --git a/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/config/OpcuaConfiguration.java b/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/config/OpcuaConfiguration.java index 65488540096..54854ffd763 100644 --- a/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/config/OpcuaC...
2
2
1
[{"id": "G0", "claim": "The removed `Thread.currentThread().interrupt();` must stay in the catch (InterruptedException e) blocks of both the ReadWorker and WriteWorker inner classes.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Not sure about the ...
null
apache__plc4x__214
apache/plc4x
214
defect
ca528725a3ab26aa41489a2b36333e9dd16428ee
12f1a15dcf78a4fd818ad3624c5db87946cad3ed
Add enum's for opc ua driver in mspec
Fix for connection string optional fields tcp and params.
diff --git a/plc4j/drivers/opcua/pom.xml b/plc4j/drivers/opcua/pom.xml index df0126cd47b..9a9246919fb 100644 --- a/plc4j/drivers/opcua/pom.xml +++ b/plc4j/drivers/opcua/pom.xml @@ -33,6 +33,24 @@ <build> <plugins> + <plugin> + <groupId>org.apache.plc4x.plugins</groupId> + <artifactId>...
2
2
2
[{"id": "G0", "claim": "Invalid values passed to the generated enumForValue eventually raise a NullPointerException, so a containsKey method should be added to the enum template to guard against invalid values across all of the Field classes.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope...
null
apache__plc4x__225
apache/plc4x
225
defect
2733964fb995622a8a680593eb940377af0cf1fe
aa172acbb4d7a99a1ac373c9d831615d71455b90
Add encryption handler for OPC UA - Minor fix for Kafka Connector
I've added the Encryption handler for the OPC UA server and re-wrote some of the logic. I have worked on a add just what we need to the logic, we can build from here. If an error occurs, in some cases, while polling for the OPC UA server all the tags will stop. This has been fixed so that only the failed tag stops ...
diff --git a/plc4j/integrations/opcua-server/pom.xml b/plc4j/integrations/opcua-server/pom.xml index 662af42a177..ede65e245c5 100644 --- a/plc4j/integrations/opcua-server/pom.xml +++ b/plc4j/integrations/opcua-server/pom.xml @@ -183,7 +183,7 @@ <scope>runtime</scope> </dependency> - <!-- Logging depend...
3
3
1
[{"id": "G0", "claim": "Changing the license of the Milo-derived Plc4xNamespace code and accounting for it only with a small Milo notice in the NOTICE file is not OK, because EPL is category B: the code cannot be included at all, even a bit, and would have to be rewritten.", "category": "licensing", "verdict": "support...
null
apache__plc4x__752
apache/plc4x
752
defect
3b84d5da8617f1b6f8f23374c7416200f2a2db9b
a4063813d165dfc0e4672265fc5efec532b3c10a
Feature/nifi integration type mapping
Improvements in type mapping from Plc4x to Avro. Added unit test for record source processor. Changes in mapping: * PlcBYTE: string -> bytes * PlcLINT: string -> long * PlcREAL: double -> float * PlcLREAL: string -> double General improvements in `org.apache.plc4x.nifi.util.Plc4xCommon`: * Reduced repea...
diff --git a/plc4j/integrations/apache-nifi/README.md b/plc4j/integrations/apache-nifi/README.md index 3bb0d4d7e5c..97c818866bc 100644 --- a/plc4j/integrations/apache-nifi/README.md +++ b/plc4j/integrations/apache-nifi/README.md @@ -85,29 +85,25 @@ Also, it is important to keep in mind the Processor Scheduling Configur...
1
1
0
[{"id": "G0", "claim": "The README's mapping table says the Avro type for PlcBYTE is 'bytes', and the reviewer asks whether it should be 'byte[]' instead.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__plc4x__755
apache/plc4x
755
defect
41a110d77bcec6fbedcc9165803e4bd6fdb61237
4871a0ca4fd3befc773fd624a33ef31372647751
Feature/nifi integration address text
Proposal to add a property in NiFi-integration processors to allow users to choose address definition strategy and add support for Expression Language in addresses definition. ## Issues related: * #648: As stated, adding a lot of addresses as dynamic properties can be tedious. * #593 (Jira [PLC4X-196](https://iss...
diff --git a/plc4j/integrations/apache-nifi/README.md b/plc4j/integrations/apache-nifi/README.md index 8721d071313..4be71723df0 100644 --- a/plc4j/integrations/apache-nifi/README.md +++ b/plc4j/integrations/apache-nifi/README.md @@ -18,6 +18,36 @@ under the License. --> # PLC4X Apache NiFi Integration +# Common pro...
7
6
3
[{"id": "G0", "claim": "For this pull request to land, it must address the caching issue: with expression language the address can change on every call, so the PLC type resolution needs caching or it stays too costly.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": ...
null
apache__plc4x__809
apache/plc4x
809
defect
6da7bd642011b8f1c0e470f557c0adfd2cb03004
bea2dcf6cc5a8238f521c74f589440640b2f233c
Feature/nifi integration sink record processor and minor fixes
At the moment the NiFi integration has attribute based sink and source and a record based source. This PR attempts to bring a record based sink processor and some minor fixes to the nifi integration. ## Changes: * Added Plc4xSinkRecordProcessor and unit tests. * Added PlcWriteResponse check on both sink processors...
diff --git a/plc4j/integrations/apache-nifi/README.md b/plc4j/integrations/apache-nifi/README.md index 4be71723df0..79d23d7390d 100644 --- a/plc4j/integrations/apache-nifi/README.md +++ b/plc4j/integrations/apache-nifi/README.md @@ -1,4 +1,4 @@ -!-- +<!-- Licensed to the Apache Software Foundation (ASF) under one or ...
4
3
2
[{"id": "G0", "claim": "The README wrongly states that the read response is converted into Avro, when in fact an Avro schema is produced for the PLC data types.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Plc4xSinkProcessor now reads each tag's...
null
apache__plc4x__822
apache/plc4x
822
defect
65346dec74e0667bd3c56e0fa4e9e06aea041279
15114aa7422fa4a336d9d94e6fd48895c479cef6
feat(plc4j) Better handling of timeouts in plc4j (#821).
The tricky part I was not able to solve yet is how to wire custom timeout manager into the driver. The configuration instances we have are not well defined and passing them around is not clear to me.
diff --git a/plc4j/spi/src/main/java/org/apache/plc4x/java/spi/Plc4xNettyWrapper.java b/plc4j/spi/src/main/java/org/apache/plc4x/java/spi/Plc4xNettyWrapper.java index 33ef3166734..53804e0ec83 100644 --- a/plc4j/spi/src/main/java/org/apache/plc4x/java/spi/Plc4xNettyWrapper.java +++ b/plc4j/spi/src/main/java/org/apache/p...
1
1
1
[{"id": "G0", "claim": "The TimeoutManager should be stopped when the connection is closed or disconnected (in the DisconnectEvent/CloseConnectionEvent branch of userEventTriggered), otherwise its registered timers leak memory.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"...
null
apache__plc4x__958
apache/plc4x
958
defect
9d6f632b804ead3bfa04fb01065ed19a8d04aabf
8f1c7dff36705087032612f3d7e40263f5395df1
Feature/nifi integration record listener
This PR adds a listener record processor (subscription operation) to the NiFi integration The implementation follows the mail discussion: https://lists.apache.org/thread/jt99jqwrlq9m5or72xc1lnf6hdrpmkct ## Additions * Add Plc4xListenerRecordProcessor: launches a dispatcher and reads from a queue stored messages ...
diff --git a/plc4j/integrations/apache-nifi/README.md b/plc4j/integrations/apache-nifi/README.md index 4aaaf362003..a80e6f8ed41 100644 --- a/plc4j/integrations/apache-nifi/README.md +++ b/plc4j/integrations/apache-nifi/README.md @@ -21,7 +21,7 @@ under the License. ## Common properties The following properties applie...
2
2
1
[{"id": "G0", "claim": "The placeholder test can be changed to @Disabled (and the accompanying TODO removed) instead of leaving its body commented out.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "closeDispatcher should join() the reader thread after ...
null
apache__plc4x__962
apache/plc4x
962
defect
2af44bf731aa6337d1148844cd3abbdc325e9346
cb1be1ce4281b3720beb1734b734672d815084fa
Add support of PlcDINT for BigInteger in PlcValueHandler
1. The uncaught `PlcUnsupportedDataTypeException` from `PlcValueHandler` caused the CompletableFuture not to complete, the `OpcuaPlcDriverTest` hangs on `CompletableFuture.get()` 2. The root of the problem is the missing support of BigInteger in [PlcValueHandler.java](https://github.com/apache/plc4x/compare/develop......
diff --git a/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/protocol/OpcuaProtocolLogic.java b/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/protocol/OpcuaProtocolLogic.java index d83c626a10e..13ad242dd94 100644 --- a/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/protocol/...
3
2
2
[{"id": "G0", "claim": "The OpcuaPlcDriverTest should be enabled rather than left disabled, and tests should not be disabled without opening a tracking issue (the test is not blocking).", "category": "testing", "verdict": "opposed", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "PlcLINT would be a b...
null
apache__poi__1006
apache/poi
1,006
defect
62ae400993f3d42edb08949f6d7fc63b030d879f
add4f9d0a782506e81ba2fe6ae800452b0a85227
Bug 69935: Add short-based column setters to ClientAnchor
This PR addresses [Bug 69935](https://bz.apache.org/bugzilla/show_bug.cgi?id=69935), where `ClientAnchor` exposes `short`-returning getters for the column indices (`getCol1()`, `getCol2()`) but only `int`-based setters (`setCol1(int)`, `setCol2(int)`). This mismatch makes it difficult to use Kotlin property syntax,...
diff --git a/poi/src/main/java/org/apache/poi/ss/usermodel/ClientAnchor.java b/poi/src/main/java/org/apache/poi/ss/usermodel/ClientAnchor.java index 4469f4ba098..e706453060f 100644 --- a/poi/src/main/java/org/apache/poi/ss/usermodel/ClientAnchor.java +++ b/poi/src/main/java/org/apache/poi/ss/usermodel/ClientAnchor.java...
2
2
0
[{"id": "G0", "claim": "The new setters' javadoc says `@since TBD` and should say the actual next release, 6.0.0.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test file lacks a source (license) header like the ones used in other POI clas...
null
apache__poi__1031
apache/poi
1,031
defect
70a44cb720ea076ecca8b3f92f8cb69db7ed8138
3e4aac476773763cc8f6186c485093e999ec2881
Fix Row.setRowStyle() not propagating styles to cells in XSSFCell and SXSSFCell
## Summary `Row.setRowStyle()` does not propagate styles to cells via `Cell.getCellStyle()`. This is a regression from POI 3.17 affecting both [XSSFCell](cci:2://file:///home/fakhrulislam/Documents/personal_project/poi/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFCell.java:75:0-1257:1) and [SXSSFCell](c...
diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFCell.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFCell.java index c120e05a8a6..43f1334e73b 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFCell.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/stre...
3
3
1
[{"id": "G0", "claim": "The new test imports should use explicit imports instead of a static wildcard import in TestSXSSFRow.java.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test method should be moved up to where the other tests are...
null