dd-annarose commented on issue #17508:
URL: https://github.com/apache/datafusion/issues/17508#issuecomment-3570511024

   1. IIUC the name tracker should go over it and we'd have B.C and 
B.C__temp__0, or am I not understanding properly? Is is a hard requirement, 
even before the substrait parsing? I'm not sure then why we'd accept a query 
like `SELECT data.a, CAST(data.a as string) from data;`
   2. I think your example is a bit of a mix between my two proposals; I was 
thinking of making CASTs appear in the case where we still don't want duplicate 
col names, so something like
   
   ```
   SELECT B.C, CAST(B.C as TEXT) FROM table;
   ```
   
   we'd get columns "B.C" and "B.C::TEXT"


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