Closed xingyaoc closed 2 years ago
We have new a Data Flow API replacing the old one referred to in this PR. This one lets you pass the configuration as dict.
Doc link - https://accelerated-data-science.readthedocs.io/en/latest/user_guide/apachespark/dataflow.html#ads-python-sdk Code - https://github.com/oracle/accelerated-data-science/blob/main/ads/jobs/builders/infrastructure/dataflow.py#L460
In particular, the Spark configuration properties in OCI dataflow can not be set using
ads.dataflow
, but it's able to be set with oci.data_flow_models.CreateApplicationDetails. Sinceprepare_app
already callsCreateApplicationDetails
it possible to add the rest of theCreateApplicationDetails
parameters intoprepare_app
? https://github.com/oracle/accelerated-data-science/blob/d594ed0c8c1365daf4cf9e860daebc760fa9a24b/ads/dataflow/dataflow.py#L171