Ssv-21 commented on issue #11349:
URL: https://github.com/apache/hudi/issues/11349#issuecomment-2136389551
Hi soumil,
Thank you very much for your response,
From the approaches that you suggested above,
**approach 1) Using DataSource or DeltaStreamer by setting
_hoodie_is_deleted :**
I didn't try this one because I don't want to send my entire data again.
**approach 2) Using 'hoodie.datasource.write.operation': 'delete':**
I tried this one but was unable to delete the data, and you can find the
details for the same in my question.
But interestingly, these things caught my attention.
```
os.environ['JAVA_HOME'] = '/opt/homebrew/opt/openjdk@11'
HUDI_VERSION = '0.14.0'
SPARK_VERSION = '3.4'
SUBMIT_ARGS = f"--packages
org.apache.hudi:hudi-spark{SPARK_VERSION}-bundle_2.12:{HUDI_VERSION}
pyspark-shell"
os.environ["PYSPARK_SUBMIT_ARGS"] = SUBMIT_ARGS
os.environ['PYSPARK_PYTHON'] = sys.executable
```
Do I need to set these things in my glue job ?
Because i am not using any additional jars or packages in my glue job just
the following ones in the job parameters,
`-- datalake-formats hudi`
and
```
--conf 'spark.serializer=org.apache.spark.serializer.KryoSerializer'
--conf
'spark.sql.catalog.spark_catalog=org.apache.spark.sql.hudi.catalog.HoodieCatalog'
--conf
'spark.sql.extensions=org.apache.spark.sql.hudi.HoodieSparkSessionExtension'
--conf 'spark.sql.hive.convertMetastoreParquet=false'
```
and I am using the native python,spark,hudi versions supported in glue 4.0.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]