[ 
https://issues.apache.org/jira/browse/HUDI-9745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ranga Reddy updated HUDI-9745:
------------------------------
    Description: 
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}
SET hoodie.datasource.write.operation='upsert';{code}
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}
SET hoodie.datasource.write.operation=upsert;{code}
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.

 
 

 

  was:
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}
SET hoodie.datasource.write.operation='upsert';{code}
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.

 
 

 


> 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
>            Priority: Major
>
> 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}
> SET hoodie.datasource.write.operation='upsert';{code}
> 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}
> SET hoodie.datasource.write.operation=upsert;{code}
> 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)

Reply via email to