spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dilip Biswal (Jira)" <j...@apache.org>
Subject [jira] [Comment Edited] (SPARK-28819) Document CREATE OR REPLACE FUNCTION in SQL Reference
Date Thu, 22 Aug 2019 05:08:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-28819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16912976#comment-16912976
] 

Dilip Biswal edited comment on SPARK-28819 at 8/22/19 5:07 AM:
---------------------------------------------------------------

[~abhishek.akg]

Hmmn... There is one rule in our grammar file for CREATE FUNCTION ..
{code:java}
CREATE (OR REPLACE)? TEMPORARY? FUNCTION (IF NOT EXISTS)?
 qualifiedName AS className=STRING
 (USING resource (',' resource)*)? #createFunction
{code}
So not sure why we should separate this in the doc. My guess is when the databricks docs were
 written .. REPLACE option was not there.. and it has not been updated to reflect this addition.
The

reason i say that it should be covered together is because there is a lot of boilerplate stuff
that will

need to be duplicated.

cc [~smilegator] for his input.


was (Author: dkbiswal):
[~abhishek.akg]

Hmmn... There is one rule in our grammar file for CREATE FUNCTION ..
{code:java}
CREATE (OR REPLACE)? TEMPORARY? FUNCTION (IF NOT EXISTS)?
 qualifiedName AS className=STRING
 (USING resource (',' resource)*)? #createFunction
{code}
So not sure why we should separate in the doc. My guess is when the databricks docs were
 written .. REPLACE option was not there.. and it has not been updated to reflect this addition.
The

reason i say that it should be covered together is because there is a lot of boilerplate stuff
that will

need to be duplicated.

cc [~smilegator] for his input.

> Document CREATE OR REPLACE FUNCTION in SQL Reference
> ----------------------------------------------------
>
>                 Key: SPARK-28819
>                 URL: https://issues.apache.org/jira/browse/SPARK-28819
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Documentation
>    Affects Versions: 2.4.3
>            Reporter: ABHISHEK KUMAR GUPTA
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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


Mime
View raw message