GitHub user rangareddy added a comment to the discussion: How can you set Hudi 
properties within the Hudi CLI?

Hi @aedwards9 

The set command only configures the CLI shell, not the launched job, so the 
property never reaches the downgrade. Pass it through a Spark properties file 
instead. Could you try the steps below — and if the bare key is ignored, add 
the spark.hadoop.-prefixed variant as well?

```sh
# props file, e.g. /tmp/downgrade.properties
hoodie.complex.keygen.validation.enable=false
spark.hadoop.hoodie.complex.keygen.validation.enable=false
```

```sh
connect --path /tmp/hudi-dataset/my_table
downgrade table --toVersion SIX --sparkProperties /tmp/downgrade.properties 
--sparkMaster local[2]
```

GitHub link: 
https://github.com/apache/hudi/discussions/18332#discussioncomment-17583788

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to