You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Bhavani Sudha (Jira)" <ji...@apache.org> on 2020/08/14 19:22:00 UTC
[jira] [Updated] (HUDI-1103) Improve the code format of Delete data
demo in Quick-Start Guide
[ https://issues.apache.org/jira/browse/HUDI-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bhavani Sudha updated HUDI-1103:
--------------------------------
Component/s: Docs
> 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: Task
> Components: Docs
> Reporter: wangxianghu
> Assignee: Trevorzhang
> Priority: Minor
> Fix For: 0.6.0
>
>
> 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)