MathurCodes1 commented on issue #9096:
URL: https://github.com/apache/hudi/issues/9096#issuecomment-1615819211
> @MathurCodes1 This is related to AWS Glue catalog. Similar issue here -
#8401
>
> Can you try reaching out to AWS support.
Thank you for the reply. Adding the below config helped me alter the column.
`conf.set("spark.sql.catalog.spark_catalog","org.apache.spark.sql.hudi.catalog.HoodieCatalog")
conf.set("spark.sql.extensions","org.apache.spark.sql.hudi.HoodieSparkSessionExtension")
`
plus this code
```
spark.sql("set hoodie.schema.on.read.enable=true")
spark.sql("ALTER TABLE customer_db.customer RENAME COLUMN subid TO
subidentifier")
```
The issue is resolved thanks.
--
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]