You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2016/08/17 04:36:20 UTC

[jira] [Updated] (SPARK-17084) Rename ParserUtils.assert to validate

     [ https://issues.apache.org/jira/browse/SPARK-17084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reynold Xin updated SPARK-17084:
--------------------------------
    Description: We currently have an assert method in ParserUtils. This is, however, not used as an assert (a failed assert meaning that the program has reached an invalid state) but is used to check requirements. I propose to rename this method to {{validate}}.  (was: We currently have an assert method in ParserUtils. This is, however, not used as an assert (a failed assert meaning that the program has reached an invalid state) but is used to check requirements. I propose to rename this method to {{require}})

> Rename ParserUtils.assert to validate
> -------------------------------------
>
>                 Key: SPARK-17084
>                 URL: https://issues.apache.org/jira/browse/SPARK-17084
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.0.1, 2.1.0
>            Reporter: Herman van Hovell
>            Assignee: Herman van Hovell
>            Priority: Minor
>             Fix For: 2.0.1, 2.1.0
>
>
> We currently have an assert method in ParserUtils. This is, however, not used as an assert (a failed assert meaning that the program has reached an invalid state) but is used to check requirements. I propose to rename this method to {{validate}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org