You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix execute_function string parsing with serverless (unitycatalog#689)
**PR Checklist**
- [ ] A description of the changes is added to the description of this
PR.
- [ ] If there is a related issue, make sure it is linked to this PR.
- [ ] If you've fixed a bug or added code that should be tested, add
tests!
- [ ] If you've added or modified a feature, documentation in `docs` is
updated
**Description of changes**
Update the logic of serverless execution to pass arguments using `:`
prefix by SQL literals. Wrap the exception to provide better error
message when failing.
Drop the previous sanitization logic as we no longer need it :) SQL side
can deal with the single+double quotes combination correctly.
Updated tests.
<!-- Please state what you've changed and how it might affect the users.
-->
---------
Signed-off-by: serena-ruan_data <[email protected]>
Signed-off-by: Serena Ruan <[email protected]>
Co-authored-by: Ben Wilson <[email protected]>
"MLflow is an open-source platform for managing the end-to-end machine learning lifecycle. It was developed by Databricks and is now a part of the Linux Foundation's AI Foundation.",
512
+
"print('Hello, \"world!\"')",
513
+
"'return '2' + \""'3"'"' is a valid input to this function",
0 commit comments