Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session info in OML Python jobs #119

Merged
merged 4 commits into from
Nov 28, 2023
Merged

Session info in OML Python jobs #119

merged 4 commits into from
Nov 28, 2023

Conversation

aosingh
Copy link
Member

@aosingh aosingh commented Nov 22, 2023

Pass down session info from dbt profile to OML Client in Python models

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 22, 2023
ramapemmaraju
ramapemmaraju previously approved these changes Nov 23, 2023
@aosingh
Copy link
Member Author

aosingh commented Nov 28, 2023

Removed print statement from generated UDF in case of an exception:

{"errorMessage": "Output malformed JSON: Error during function execution."
"This could be caused by explicitly calling print() in the executed Python script. Remove print() call from the script should solve the issue.", 
"errorCode": 1026}

@aosingh aosingh merged commit c9f8465 into main-1.5 Nov 28, 2023
7 checks passed
@aosingh aosingh deleted the fix/oml_client_session branch November 29, 2023 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants