goldjee commented on issue #27712:
URL: https://github.com/apache/superset/issues/27712#issuecomment-3890173018

   Hello, Evan!
   
   The issue is still present in 6.0. According to Claude, the problematic code 
resides in `superset/commands/dataset/duplicate.py`, lines 118-119 where it 
checks for dataset existence using 
`find_one_or_none(table_name=duplicate_name)`. This fails because:
   
   1. The DatasourceFilter joins the Database table to the query
   2. SQLAlchemy's filter_by() gets confused about which model has the 
table_name attribute
   3. It incorrectly resolves to Database instead of SqlaTable, causing the 
error
   
   @rusackas 


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