cloud-fan commented on PR #60213: URL: https://github.com/apache/spark/pull/60213#issuecomment-6796105889
On the rollback-flag question: I'm fine shipping this without a legacy config. A persistent function that calls a temporary function was never valid, which is what `INVALID_TEMP_OBJ_REFERENCE` exists to reject. The old name match simply missed the table-function and `IDENTIFIER` cases. Persistent views also already reject the same calls without a flag. One small correction to the PR description: "the newly rejected functions only ever worked in the session that created them" isn't quite accurate. `f2` also works in any later session that defines a temporary `tmp_tvf` first, and then it silently calls whatever `tmp_tvf` that session defines. That's a stronger reason to reject it, so I'd say that instead. -- 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]
