Description
One of the area, we would like to leverage in OAS in full extent, is the possibility of integration of OAS with Python environment, which is part of OAS suite (used internally for plenty of functionalities, mainly in DV - like Explain, Machine Learning Models, Advanced Analytics functions (Forecatst, Outliers etc...). What is especially of our interest is the possibility to create/write our own custom Python scripts, register them into "platform" and use it for creating own calculation (via EXECUTE_SCRIPT BI Server function) either in OBIEE metadata or in Answers/DV calculations.
But here I have completely stucked here - since there is very little information about the process/steps/standards , which needs to be followed (nothing at all in standard OAS documentation, very little on public resources - just couple of youtube videos - some of them mentioned in Idea:
https://cloudcustomerconnect.oracle.com/posts/a052ce91c3, but those dealing with very simple scenarios for Python script used in DV data flows). So I consider this as a "gap" from Oracle and I would appreciate, if this gap is filled (the sooner the better).
I have also created SR in Oracle support for this "lack of resources" issue :SR 3-25358627501 : Usage of custom python scripts in OAS (EVALUTE_SCRIPT etc..) - missing documentation/resources - but so far without any valuable feedback.
I am particularly trying to find answers/resources for following topics:
" What are the rules/principles for creation of custom python code/scrips, to be callable via EVALUTE_SCRIPT ( I know, because I was a little big digging - but it is trial-error approach - that there are some scripts in ??<<OAS Home>>/bi/bifoundation/advanced_analytics/python_scripts/obipy/examples - for example SayHello.py script, which can be served as a kind of example, but this
o what is exact "syntax" of final XML form for this script, which needs to be registered in script repository (<<OAS HOME>>/bi/bifoundation/advanced_analytics/script_repository)
o detailed explanation of arguments, which needs to be passed to Python script (and needs to be put into XML definition of script)
" What is the method of registering custom python script in script repository (via DV UI - which is uploaded somewhere and registered for user, who has uploaded the script or is it better to uploading XML definition into <<OAS HOME>>/bi/bifoundation/advanced_analytics/script_repository - thus the storage for Python script - which is then referenced in EVALUATE_SCRIPT call: EVALUATE_SCRIPT('filerepo://<<Python script>>.xml'))
" How to eventually install additional packages into Python installation used by OAS (which is I guess, placed in <<OAS HOME>>/bi/modules/oracle.bi.dvml - but this is not documented at all) - if those are not included within this Python installation needed for custom python script ? Is this possible (and supported)
So those are just basic stuff, which would be very handy to have somewhere described/documented to be able to leverage this feature/option available in OAS (I know, in OBIEE 12c it was about R language, in OAS Python has overruled, which for good reason).
I would be very glad, if Oracle will cover this "grey area" in terms of documentation/knowledge sharing.
Use Case and Business Need
Beeing able to leverage integration of Python language in OAS at the full extent - creation/registration of custom Python script (callable via EXECUTE_SCRIPT BI Server function) and use them for extending predefined BI Server function.
Original Idea Number: 2f449ffc32