LatrecheYasser opened a new pull request, #11744: URL: https://github.com/apache/datafusion/pull/11744
## Which issue does this PR close? Closes #11743. ## Rationale for this change This PR will check the `select_builder` in the `select_to_sql_expr` after calling the `select_to_sql_recursively` and if no projection is set, it will add a projection with one element set to `ast::SelectItem::Wildcard(ast::WildcardAdditionalOptions::default())` ## What changes are included in this PR? The changes described above, and some test cases. ## Are these changes tested? Yes. ## Are there any user-facing changes? I would say no. -- 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