[
https://issues.apache.org/jira/browse/HUDI-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trevorzhang updated HUDI-1103:
------------------------------
Description:
{color}Currently, the delete data demo code is not runnable in spark-shell
{code:java}
scala> val df = spark
df: org.apache.spark.sql.SparkSession =
org.apache.spark.sql.SparkSession@74e7d97bscala> .read
<console>:1: error: illegal start of definition
.read
^scala> .json(spark.sparkContext.parallelize(deletes, 2))
<console>:1: error: illegal start of definition
.json(spark.sparkContext.parallelize(deletes, 2))
^
{code}
This dot symbol should be at the end of the line or put a "\" at the end
was:
{color:red}着色文本{color}Currently, the delete data demo code is not runnable in
spark-shell
{code:java}
scala> val df = spark
df: org.apache.spark.sql.SparkSession =
org.apache.spark.sql.SparkSession@74e7d97bscala> .read
<console>:1: error: illegal start of definition
.read
^scala> .json(spark.sparkContext.parallelize(deletes, 2))
<console>:1: error: illegal start of definition
.json(spark.sparkContext.parallelize(deletes, 2))
^
{code}
This dot symbol should be at the end of the line or put a "\" at the end
> Improve the code format of Delete data demo in Quick-Start Guide
> ----------------------------------------------------------------
>
> Key: HUDI-1103
> URL: https://issues.apache.org/jira/browse/HUDI-1103
> Project: Apache Hudi
> Issue Type: Sub-task
> Components: Docs
> Reporter: wangxianghu
> Assignee: Trevorzhang
> Priority: Minor
> Fix For: 0.6.1
>
>
> {color}Currently, the delete data demo code is not runnable in spark-shell
> {code:java}
> scala> val df = spark
> df: org.apache.spark.sql.SparkSession =
> org.apache.spark.sql.SparkSession@74e7d97bscala> .read
> <console>:1: error: illegal start of definition
> .read
> ^scala> .json(spark.sparkContext.parallelize(deletes, 2))
> <console>:1: error: illegal start of definition
> .json(spark.sparkContext.parallelize(deletes, 2))
> ^
> {code}
> This dot symbol should be at the end of the line or put a "\" at the end
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)