dqkqd opened a new pull request, #18522: URL: https://github.com/apache/datafusion/pull/18522
## Which issue does this PR close? This did not work (https://github.com/apache/datafusion/issues/18102#issuecomment-3412355785): ```sql DataFusion CLI v50.3.0 > prepare myplan as select $1 as one, $2 as two; Schema error: No field named one. ``` But now it does (https://github.com/apache/datafusion/issues/18102#issuecomment-3493941636): ```sql DataFusion CLI v50.3.0 > PREPARE my_plan(INT, INT) AS SELECT $1 AS one, $2 AS two; 0 row(s) fetched. Elapsed 0.004 seconds. > ``` ## Rationale for this change This PR add a testcase for placeholder aliases. ## What changes are included in this PR? Add test case in `prepare.slt` ## Are these changes tested? Yes ## Are there any user-facing changes? No -- 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]
