kosiew opened a new pull request, #17142: URL: https://github.com/apache/datafusion/pull/17142
## Which issue does this PR close? * Closes #17141 ## Rationale for this change The Avro example in the SQL API documentation requires the `avro` feature to be enabled in order to compile successfully. Without explicitly marking it with `#![cfg(feature = "avro")]`, users may encounter build errors when copying the example into projects without the `avro` feature enabled. This change makes the requirement explicit and prevents confusion. ## What changes are included in this PR? * Added `#![cfg(feature = "avro")]` attribute to the Avro example code block in `using-the-sql-api.md`. ## Are these changes tested? * Documentation-only change. The example itself is covered by existing tests and verified by Rust’s conditional compilation. ## Are there any user-facing changes? * Yes — the documentation for using Avro with the SQL API now clearly shows that the `avro` feature must be enabled for the example to work. This improves clarity for end users. -- 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