Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add _all_ date function aliases to parser (extended)#1982

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
paulrutter wants to merge11 commits intoAlaSQL:develop
base:develop
Choose a base branch
Loading
fromblueconic:feature/1979-add-date-function-aliases-to-parser-extended
Open
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
11 commits
Select commitHold shift + click to select a range
677dabd
1979
paulrutterOct 4, 2024
444e8b1
1979-add-date-function-aliases-to-parser
paulrutterOct 22, 2024
620426d
1979-add-date-function-aliases-to-parser
paulrutterOct 22, 2024
51bf815
1979-add-date-function-aliases-to-parser
paulrutterOct 22, 2024
30813b9
1979-add-date-function-aliases-to-parser
paulrutterOct 23, 2024
ce49690
- Fix DAYOFYEAR; it's a separate function
paulrutterDec 20, 2024
9431515
- Merge in develop, fix conflicts
paulrutterDec 20, 2024
9960b5e
- Regenerate after merge
paulrutterDec 20, 2024
dced7b1
- Remove DAYOFWEEK from intervals, add WEEKDAY to valid intervals
paulrutterDec 20, 2024
741599f
Merge branch 'develop_2' into feature/1979-add-date-function-aliases-…
paulrutterJan 14, 2025
96b48bf
Merge branch 'develop' into feature/1979-add-date-function-aliases-to…
paulrutterFeb 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
- Merge in develop, fix conflicts
  • Loading branch information
@paulrutter
paulrutter committedDec 20, 2024
commit94315151628d4d2908fd586c07a6fe4d8ba5a933

Some comments aren't visible on the classic Files Changed page.

17 changes: 4 additions & 13 deletionssrc/alasqlparser.jison
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -178,14 +178,9 @@ DATABASE(S)?return 'DATABASE'
'LIMIT'return 'LIMIT'
'MATCHED'return 'MATCHED'
'MATRIX'return 'MATRIX'

/*"MAX"return 'MAX'*/
/*"MIN"return 'MIN'*/

'MAX'(\s+)?/'('return 'MAX'
'MAX'(\s+)?/(','|')')return 'MAXNUM'
'MIN'(\s+)?/'('return 'MIN'

'MAX'\s*/'('return 'MAX'
'MAX'\s*/(','|')')return 'MAXNUM'
'MIN'\s*/'('return 'MIN'
"MERGE"return 'MERGE'
"MINUS"return 'EXCEPT'
"MINUTE"return 'MINUTE'
Expand DownExpand Up@@ -291,10 +286,7 @@ SETS return 'SET'
'WEEKDAY'return 'DAYOFWEEK'
'WORK' return 'TRANSACTION' /* Is this keyword required? */
'YEAR'return 'YEAR'

(\d*[.])?\d+[eE]\d+return 'NUMBER'
(\d*[.])?\d+return 'NUMBER'

(\d+\.?\d*|\.\d+)([eE][+-]?\d+)?return 'NUMBER'
'->'return 'ARROW'
'#'return 'SHARP'
'+'return 'PLUS'
Expand DownExpand Up@@ -3031,7 +3023,6 @@ Query

Call
: CALL FuncValue
//{ $$ = $2; }
{ $$ = new yy.ExpressionStatement({expression:$2}); }
;

Expand Down
70 changes: 35 additions & 35 deletionssrc/alasqlparser.js
View file
Open in desktop

Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.

You are viewing a condensed version of this merge commit. You can view thefull changes here.

[8]ページ先頭

©2009-2025 Movatter.jp