smallzhongfeng opened a new issue, #8015:
URL: https://github.com/apache/arrow-datafusion/issues/8015

   ### Describe the bug
   
   When running datafreme's subquery-related test class, an exception will be 
thrown. The reason for the error is that no optimization rules are matched.
   ```
   Error: Context("Optimizer rule 'common_sub_expression_eliminate' failed", 
SchemaError(FieldNotFound { field: Column { relation: Some(Bare { table: "t1" 
}), name: "c1" }, valid_fields: [Column { relation: Some(Bare { table: "t2" }), 
name: "c1" }, Column { relation: Some(Bare { table: "t2" }), name: "c2" }, 
Column { relation: Some(Bare { table: "t2" }), name: "c3" }, Column { relation: 
Some(Bare { table: "t2" }), name: "c4" }, Column { relation: Some(Bare { table: 
"t2" }), name: "c5" }, Column { relation: Some(Bare { table: "t2" }), name: 
"c6" }, Column { relation: Some(Bare { table: "t2" }), name: "c7" }, Column { 
relation: Some(Bare { table: "t2" }), name: "c8" }, Column { relation: 
Some(Bare { table: "t2" }), name: "c9" }, Column { relation: Some(Bare { table: 
"t2" }), name: "c10" }, Column { relation: Some(Bare { table: "t2" }), name: 
"c11" }, Column { relation: Some(Bare { table: "t2" }), name: "c12" }, Column { 
relation: Some(Bare { table: "t2" }), name: "c13" }] }))
   ```
   
   ### To Reproduce
   
    cargo run --example dataframe_subquery 
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


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