Ranga Reddy created HUDI-9745:
---------------------------------
Summary: Incorrect single quotes in 'write.operation' example
cause write failures
Key: HUDI-9745
URL: https://issues.apache.org/jira/browse/HUDI-9745
Project: Apache Hudi
Issue Type: Bug
Reporter: Ranga Reddy
Users are experiencing write failures when setting
{{*hoodie.datasource.write.operation*}} with single quotes, as shown in some
documentation examples.
*Example of incorrect usage:*
{code:java}
{code}
*SET hoodie.datasource.write.operation='upsert';*
Hudi's configuration parser does not correctly handle single quotes, causing
the operation to be misinterpreted and leading to write failures. The correct
usage requires the value to be specified without single quotes.
*Example of correct usage:*
{code:java}
{code}
*SET hoodie.datasource.write.operation=upsert;*
This issue has been reproduced and tracked in GitHub Issue
[#13752|https://github.com/apache/hudi/issues/13752].
*Solution*
Update the Hudi documentation to remove single quotes from all examples of the
*{{hoodie.datasource.write.operation}}* property and other similar properties
where the value is a literal string.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)