spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Owen <so...@cloudera.com>
Subject Re: @scala.annotation.varargs or @_root_.scala.annotation.varargs?
Date Thu, 08 Sep 2016 16:27:24 GMT
I think the @_root_ version is redundant because
@scala.annotation.varargs is redundant. Actually wouldn't we just
import varargs and write @varargs?

On Thu, Sep 8, 2016 at 1:24 PM, Jacek Laskowski <jacek@japila.pl> wrote:
> Hi,
>
> The code is not consistent with @scala.annotation.varargs annotation.
> There are classes with @scala.annotation.varargs like DataFrameReader
> or functions as well as examples of @_root_.scala.annotation.varargs,
> e.g. Window or UserDefinedAggregateFunction.
>
> I think it should be consistent and @scala.annotation.varargs only. WDYT?
>
> Pozdrawiam,
> Jacek Laskowski
> ----
> https://medium.com/@jaceklaskowski/
> Mastering Apache Spark 2.0 http://bit.ly/mastering-apache-spark
> Follow me at https://twitter.com/jaceklaskowski
>
> ---------------------------------------------------------------------
> To unsubscribe e-mail: dev-unsubscribe@spark.apache.org
>

---------------------------------------------------------------------
To unsubscribe e-mail: dev-unsubscribe@spark.apache.org


Mime
View raw message