doki23 opened a new issue #2041:
URL: https://github.com/apache/arrow-datafusion/issues/2041
Actually, it's not a functionality bug. It's my confusion about the unit
test: **logical_plan::builder::tests::plan_using_join_wildcard_projection**
The following is some code in the test.
```
let plan = LogicalPlanBuilder::scan_empty(Some("t1"), &employee_schema(),
None)?
.join_using(&t2, JoinType::Inner, vec!["id"])?
.project(vec![Expr::Wildcard])? // my question about here
.build()?;
```
I find some error descriptions in other places like:
```
Expr::Wildcard { .. } => Err(DataFusionError::Internal(
"Wildcard expressions are not valid in a logical query
plan".to_owned(),
))
```
And in the sql planner, we always expand the wildcard before generating a
logical plan.
So the unit test may be wrong, please correct me if I am wrong.
--
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]