Skip to content

Commit

Permalink
#154: print rows n -> print n rows
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-braun committed Jan 26, 2021
1 parent 3e19abe commit 55a30b1
Show file tree
Hide file tree
Showing 3 changed files with 4,817 additions and 4,761 deletions.
11 changes: 6 additions & 5 deletions fugue_sql/_antlr/fugue_sql.g4
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,9 @@ fugueOutputTask:
OUTPUT (dfs=fugueDataFrames)? (partition=fuguePrepartition)? USING using=fugueExtension (params=fugueParams)?
;

fuguePrintTask:
PRINT (dfs=fugueDataFrames)? (ROWS rows=INTEGER_VALUE)? (count=ROWCOUNT)? (TITLE title=STRING)?
fuguePrintTask
: PRINT rows=INTEGER_VALUE (ROW|ROWS) (FROM dfs=fugueDataFrames)? (count=ROWCOUNT)? (TITLE title=STRING)?
| PRINT (dfs=fugueDataFrames)? (count=ROWCOUNT)? (TITLE title=STRING)?
;

fugueSaveTask:
Expand Down Expand Up @@ -293,7 +294,7 @@ fugueExtension:

fugueSampleMethod:
percentage=(INTEGER_VALUE | DECIMAL_VALUE) PERCENTLIT
| rows=INTEGER_VALUE ROWS
| rows=INTEGER_VALUE ROWS
;

fugueZipType
Expand Down Expand Up @@ -404,7 +405,7 @@ fugueJsonPair
;

fugueJsonKey
: fugueIdentifier
: fugueIdentifier
| fugueJsonString
;

Expand Down Expand Up @@ -441,7 +442,7 @@ fugueJsonNull
: 'null'
| NULL
;

fugueIdentifier:
identifier
;
Expand Down
Loading

0 comments on commit 55a30b1

Please sign in to comment.