Skip to content

Commit

Permalink
Minor Refactoring (#2308)
Browse files Browse the repository at this point in the history
Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>
  • Loading branch information
vamsi-amazon authored Oct 17, 2023
1 parent 501cf91 commit 69572c8
Show file tree
Hide file tree
Showing 3 changed files with 158 additions and 175 deletions.
2 changes: 1 addition & 1 deletion spark/src/main/antlr/SqlBaseParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,6 @@ primaryExpression
| qualifiedName DOT ASTERISK #star
| LEFT_PAREN namedExpression (COMMA namedExpression)+ RIGHT_PAREN #rowConstructor
| LEFT_PAREN query RIGHT_PAREN #subqueryExpression
| IDENTIFIER_KW LEFT_PAREN expression RIGHT_PAREN #identifierClause
| functionName LEFT_PAREN (setQuantifier? argument+=functionArgument
(COMMA argument+=functionArgument)*)? RIGHT_PAREN
(FILTER LEFT_PAREN WHERE where=booleanExpression RIGHT_PAREN)?
Expand Down Expand Up @@ -1196,6 +1195,7 @@ qualifiedNameList

functionName
: IDENTIFIER_KW LEFT_PAREN expression RIGHT_PAREN
| identFunc=IDENTIFIER_KW // IDENTIFIER itself is also a valid function name.
| qualifiedName
| FILTER
| LEFT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@

import java.util.Map;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
* This POJO carries all the fields required for emr serverless job submission. Used as model in
* {@link EMRServerlessClient} interface.
*/
@Data
@EqualsAndHashCode
public class StartJobRequest {

public static final Long DEFAULT_JOB_TIMEOUT = 120L;
Expand Down
Loading

0 comments on commit 69572c8

Please sign in to comment.