SAP Knowledge Base Article - Public

3530675 - Python Interpreter - Installation of JSON Library in SAP Datasphere

Symptom

  • Using Data Flows to handle JSON files results in failure due to missing libraries.
    "com.sap.hana.dp.openconnectorsadapter.webservice.impl.OkHttpCeHttpRequester$OkHttpException: java.io.InterruptedIOException: interrupted" "Group messages: Group: default; Messages: failure: operator.com.sap.dataflow.sandboxPythonOperator:sandboxpythonoperator1: used denied Pandas utilities: read_json Container is terminated. ExitCode=63"

Environment

SAP Datasphere

Cause

Resolution

Adjust the Python code in Data Flow Script Operator according to the restrictions mentioned in SAP Help:

"Note that all objects and functions in the modules are supported except the following: ..."

Keywords

Python Interpreter, JSON Library, SAP Datasphere, Data Pipelines, GCP-cloud sql, json package, read_json, Python Operator. , KBA , DS-DI-DF , Data Flows , Problem

Product

SAP Datasphere all versions