yashdotrv commented on issue #27692:
URL: https://github.com/apache/datafusion/issues/27692#issuecomment-7144048302

   Hi @punya, I'd like to work on this!
   
   form what I can see is that, in `SqlToRel::select_to_plan` 
(`datafusion/sql/src/select.rs`), we can check if `select.flavor == 
SelectFlavor::FromFirstNoSelect` with an empty projection, and populate 
`select.projection` with `SelectItem::Wildcard(...)`. 
   
   This will allow existing wildcard expansion to project all relation columns 
as `SELECT *`, resolving the empty schema issue for both standalone `FROM` 
queries and subsequent pipe stages. So, could you please assign this issue to 
me? I can have a PR ready shortly with integration tests.


-- 
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]

Reply via email to