adriangb commented on code in PR #21993:
URL: https://github.com/apache/datafusion/pull/21993#discussion_r3188055353
##########
datafusion/datasource-parquet/src/source.rs:
##########
@@ -230,7 +230,7 @@ use parquet::encryption::decrypt::FileDecryptionProperties;
/// access_plan.skip(4);
/// // provide the plan as extension to the FileScanConfig
/// let partitioned_file = PartitionedFile::new("my_file.parquet", 1234)
-/// .with_extensions(Arc::new(access_plan));
+/// .with_extension(Arc::new(access_plan));
Review Comment:
Good catch — fixed in aa1f55176. The wrapped `Arc<ParquetAccessPlan>` would
have been stored under the wrong type key and missed by
`extensions.get::<ParquetAccessPlan>()`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]