alamb commented on issue #5309:
URL: 
https://github.com/apache/arrow-datafusion/issues/5309#issuecomment-1435083129

   >  Maybe we can use assert to assume that the "Ambiguous reference error" 
should not happen in had_column?
   
   How about returning an enum like
   
   ```rust
   
   enum FoundColumn {
     Found,
     NotFound,
     Ambiguous
   }
   
   
   pub fn has_column(&self, column: &Column) -> FoundColumn {...}
   
   ``` 
   
   ?


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

Reply via email to