You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "Jefffrey (via GitHub)" <gi...@apache.org> on 2025/11/05 02:42:42 UTC

Re: [I] `SubqueryAlias`, `Values`, and/or `EmptyRelation` have incorrect schemas after replacing `Placeholder` values [datafusion]

Jefffrey commented on issue #18102:
URL: https://github.com/apache/datafusion/issues/18102#issuecomment-3488932364

   > Possibly related is that placeholders cannot be aliased:
   > 
   > let ctx = SessionContext::new();
   > let df = ctx.sql("SELECT $1 AS one, $2 AS two").await.unwrap();
   > // called `Result::unwrap()` on an `Err` value: SchemaError(FieldNotFound { field: Column { relation: None, name: "one" }, valid_fields: [] }, Some(""))
   
   @dqkqd do you know if your PR #18286 will also fix this or should we raise a new issue for it? (I'm in favour of raising a new issue instead of adding more to the PR if it requires a separate fix)


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org