LiaCastaneda commented on issue #17508:
URL: https://github.com/apache/datafusion/issues/17508#issuecomment-3564080258

   > making CAST(B.C as Utf8) have qualified name ("B", "C")
   
   
   IIRC two columns with the same qualified name and same field name, might 
result in an schema error as well during logical planning (see 
[here](https://github.com/apache/datafusion/blob/e6ddb48f4017fdd7f94ff360695514934f4a5823/datafusion/common/src/dfschema.rs#L233)).
   
   > OR making it so that unaliased CASTs do appear in the field name in the 
schema, something like B.C::TEXT
   
   if we had 
   ```
   SELECT 
     CAST(B.C as TEXT),
     CAST(B.C as TEXT)
   FROM table
   ```
   could it still conflict? 


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