Adez017 commented on PR #15832: URL: https://github.com/apache/datafusion/pull/15832#issuecomment-2849308705
> Could you please refer to the error lints in CI? Such as > > ``` > error[E0433]: failed to resolve: use of undeclared type `Statistics` > --> datafusion/core/src/lib.rs:1365:12 > | > 98 | Ok(Statistics::new_unknown(&self.schema())) > | ^^^^^^^^^^ use of undeclared type `Statistics` > | > help: consider importing one of these items > | > 2 + use datafusion::physical_plan::Statistics; > | > 2 + use datafusion_common::Statistics; > | > 2 + use datafusion_physical_plan::Statistics; > | > 2 + use parquet::file::statistics::Statistics; > ``` > > It's saying, you need to import `Statistics` for the example in the doc, such as <img alt="image" width="832" src="https://private-user-images.githubusercontent.com/41979257/440193326-7aa713a1-249c-4433-bc1e-f6714780a663.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDYzNzcxNzUsIm5iZiI6MTc0NjM3Njg3NSwicGF0aCI6Ii80MTk3OTI1Ny80NDAxOTMzMjYtN2FhNzEzYTEtMjQ5Yy00NDMzLWJjMWUtZjY3MTQ3ODBhNjYzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA1MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNTA0VDE2NDExNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFkMzZhNDY0YTVmNzcxZjdjNmFhMDE3MjAwODBhYmQ5MWI0M2QzMDMxNDE4YzdhMzNjYTFmNWY5ZWZmMDE0MTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.KGBtMnV5IS_mTrM07xwYPj0f2cad2GXZZaRObWLKKNs"> Thanks mate but u think it shows for the `lib.rs` file and we didnt done nay changes out there . does this mean that we need to change over there?. i am pretty confused over there . and one more thing when we are using the code as example does we need to check the imports ? -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org