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

BingKun Pan commented on SPARK-42849:
-------------------------------------

Sorry to bother you [~cloud_fan] [~srielau] 
Do we need to implement syntax similar to `SHOW VARS LIKE ... `?

 

Like a temporary view, we have synatx:

```

CREATE TEMPORARY VIEW ...
DROP VIEW ...
| SHOW VIEWS ((FROM | IN) identifierReference)? (LIKE? pattern=stringLit)?
```
 
Interactive operation may be helpful for end users.
 

> Session variables
> -----------------
>
>                 Key: SPARK-42849
>                 URL: https://issues.apache.org/jira/browse/SPARK-42849
>             Project: Spark
>          Issue Type: New Feature
>          Components: Spark Core
>    Affects Versions: 3.5.0
>            Reporter: Serge Rielau
>            Assignee: Serge Rielau
>            Priority: Major
>             Fix For: 4.0.0
>
>
> Provide a type-safe, engine controlled session variable:
> CREATE [ OR REPLACE } TEMPORARY VARIABLE [ IF NOT EXISTS ]var_name  [ type ][ 
> DEFAULT expresion ]
> SET {  variable = expression | ( variable [, ...] ) = ( subquery | expression 
> [, ...] )
> DROP VARIABLE  [ IF EXISTS ]variable_name



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to