BODS job is creating CSV Files.
IS there a way to convert CSV Files to Parquet and Upload to S3 Bucket in SAP BODS.
The Current approach i am using is below for Converting the CSV to Parquet
Create a CSV File in the Folder that BODS is accessable.
Created a Python Script and placed the Script in the Package Folder and below is the code import os,sys os.chdir("/usr/sap/DBO/dataservices/DataQuality/python/lib/python3.7/site-packages") sys.path.append('/usr/sap/DBO/dataservices/DataQuality/python/lib/python3.7/site-packages') import pandas as pd df = pd.read_csv('/ds_ext_share/BODS_DEV/Output/xxxx.csv') df.to_parquet('/ds_ext_share/BODS_DEV/Output/xxxx.parquet')
I am calling the above script as Exec in my BODS Job in a script
exec('/usr/sap/DBO/dataservices/DataQuality/python/lib/python3.7/site-packages','XXXX.py' , '8');
The above code is not working need help in fixing the issue
Thanks Madhu
The CSV file is not converting to Parquet, need help in the script