You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "wangxianghu (Jira)" <ji...@apache.org> on 2020/08/25 04:22:00 UTC

[jira] [Resolved] (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 ]

wangxianghu resolved HUDI-1103.
-------------------------------
    Resolution: Fixed

> 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
>              Labels: pull-request-available
>             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)