[
https://issues.apache.org/jira/browse/HUDI-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kunal Bhattacharya updated HUDI-4668:
-------------------------------------
Description:
In the [Hudi Quick Start
Guide|[https://hudi.apache.org/docs/quick-start-guide]], under the "Insert
Data" section, the Python code has "\" missing for multi-line code example -
df.write.format("hudi").
options(**hudi_options).
mode("overwrite").
save(basePath)
*should be -*
df.write.format("hudi"). \
options(**hudi_options). \
mode("overwrite"). \
save(basePath)
This improvement can help new users directly copy and paste the code sample
without having to correct this before running.
!image-2022-08-20-13-32-24-158.png|width=515,height=355!
was:
In the [Hudi Quick Start
Guide|[https://hudi.apache.org/docs/quick-start-guide]], under the "Insert
Data" section, the Python code has "\" missing for multi-line code example -
df.write.format("hudi").
options(**hudi_options).
mode("overwrite").
save(basePath)
should be -
df.write.format("hudi"). \
options(**hudi_options). \
mode("overwrite"). \
save(basePath)
This improvement can help new users directly copy and paste the code sample
without having to correct this before running.
!image-2022-08-20-13-32-24-158.png|width=515,height=355!
> Syntax error in Hudi Quick Start Guide
> --------------------------------------
>
> Key: HUDI-4668
> URL: https://issues.apache.org/jira/browse/HUDI-4668
> Project: Apache Hudi
> Issue Type: Improvement
> Components: docs
> Reporter: Kunal Bhattacharya
> Priority: Minor
> Attachments: image-2022-08-20-13-32-24-158.png
>
>
> In the [Hudi Quick Start
> Guide|[https://hudi.apache.org/docs/quick-start-guide]], under the "Insert
> Data" section, the Python code has "\" missing for multi-line code example -
> df.write.format("hudi").
> options(**hudi_options).
> mode("overwrite").
> save(basePath)
> *should be -*
> df.write.format("hudi"). \
> options(**hudi_options). \
> mode("overwrite"). \
> save(basePath)
> This improvement can help new users directly copy and paste the code sample
> without having to correct this before running.
> !image-2022-08-20-13-32-24-158.png|width=515,height=355!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)