106 Commits

Author SHA1 Message Date
Andreas Dangel
2267413e8a Merge branch 'pr-1865' 2019-06-14 14:13:05 +02:00
Andreas Dangel
194db1963c [plsql] Simplify grammar, #1864 2019-06-14 13:59:18 +02:00
Andreas Dangel
8dae514168 [plsql] Fix object table substitution clause for CREATE TABLE 2019-06-14 13:59:09 +02:00
Hugo Araya Nash
a300a65ed2 [plsql] Add Support for Extract Expression 2019-06-11 20:16:45 -04:00
Hugo Araya Nash
5b6f483f95 [plsql] Add support for Subquery Views 2019-06-11 17:25:12 -04:00
Hugo Araya Nash
7276848857 [plsql] Add Table InlineConstraint 2019-06-11 14:33:09 -04:00
Andreas Dangel
c4ab85a43e Merge branch 'pr-1844' 2019-06-08 17:11:40 +02:00
Andreas Dangel
c651e92ca5 Fix plsql grammar 2019-05-30 22:18:41 +02:00
Andreas Dangel
8a57f3fdca [plsql] Parentheses stopped working
Fixes #1828
2019-05-27 20:28:04 +02:00
Hugo Araya Nash
506b0aa8f7 [plsql] Add ROWTYPE identifier support for INSERT 2019-05-02 23:34:48 -04:00
Hugo Araya Nash
b43032f5b9 [plsql] Fix TrimExpression syntax 2019-05-02 23:33:33 -04:00
Hugo Araya Nash
85f222eaa7 [plsql] Add RETURNING support for INSERT 2019-05-02 23:32:17 -04:00
Hugo Araya Nash
518db3927b [plsql] Add support for BULK_ROWCOUNT, BULK_EXCEPTIONS 2019-05-02 23:31:23 -04:00
Andreas Dangel
f46870c5ec [plsql] use isKeyword 2019-03-30 17:52:10 +01:00
Andreas Dangel
0e2f868fc4 Merge branch 'pr-1740' 2019-03-30 17:49:45 +01:00
Andreas Dangel
2e08fdd548 Merge branch 'pr-1685' 2019-03-30 17:48:22 +01:00
Andreas Dangel
2b092456fd [plsql] Update grammar changelog 2019-03-29 17:54:12 +01:00
Andreas Dangel
9bb2492ba5 [plsql] Fix choice conflicts - AS is a reserved word 2019-03-29 17:46:52 +01:00
Andreas Dangel
a0cb67308d [plsql] Add support for XMLElement 2019-03-29 15:14:00 +01:00
Andreas Dangel
527ae5d785 [plsql] Support XMLFOREST 2019-03-29 14:32:10 +01:00
Andreas Dangel
4367841578 [plsql] Support XMLCAST, XMLQUERY, CAST 2019-03-29 14:32:10 +01:00
Andreas Dangel
44c6d0ed3b [plsql] Add support for XMLEXISTS 2019-03-29 14:32:10 +01:00
Andreas Dangel
2a39eab39c [plsql] Add Support for XMLTABLE
Refs #1510
2019-03-29 14:32:10 +01:00
Andreas Dangel
1d01435820 [plsql] % not supported in "TestSearch%notfound"
Fixes #1733
2019-03-28 17:21:51 +01:00
Andreas Dangel
ca6ad5fd22 [pslql] ParseException when parsing ELSIF
Fixes #1731
2019-03-28 16:51:08 +01:00
Andreas Dangel
9f80002250 [plsql] provide access to source code for querying via regex, e.g.
Tab Damage:
//Input[matches(@Sourcecode, '\t')]

Refs #1716
2019-03-18 19:06:09 +01:00
Andreas Dangel
c32daec699 [plsql] Avoiding tokens for "FIRST" and "REPLACE" 2019-02-16 20:28:05 +01:00
Andreas Dangel
7333ed4595 [plsql] New reserved words are: COLUMNS, INDEXES, OVERLAPS
Separated reserved words tokens from keyword tokens
2019-02-16 20:28:00 +01:00
Andreas Dangel
c94e87e1b0 [plsql] Add operator for ComparisonCondition 2019-02-16 20:27:53 +01:00
Andreas Dangel
fcd6006b56 [plsql] Support TRIM function 2019-02-16 20:27:45 +01:00
Andreas Dangel
e7e1262b00 [plsql] Fix function calls in order by clause 2019-02-16 20:27:29 +01:00
Andreas Dangel
c7f104a357 [plsql] SELECT is a reserved word 2019-02-16 20:27:22 +01:00
Andreas Dangel
808c03f532 [plsql] Add SimpleExpressionNode, allow expressions with REGEXP_LIKE 2019-02-16 20:25:50 +01:00
Andreas Dangel
d81e708db0 [plsql] Improved UPDATE statement 2019-02-16 20:13:39 +01:00
Andreas Dangel
80f3f07166 [plsql] Allow subqueries in SELECT columns 2019-02-16 20:13:27 +01:00
Andreas Dangel
e8ed43d7e2 [plsql] Fix parsing of union in SELECT INTO statements
Also allow "normal" SELECT statement (without INTO).
2019-02-16 20:13:18 +01:00
Andreas Dangel
f43e261243 [plsql] Support more than simple names for order by and select into. 2019-02-16 20:13:00 +01:00
Andreas Dangel
4814ece9ac [plsql] Support ListaggOverflowClause for LISTAGG function 2019-02-16 20:12:38 +01:00
Andreas Dangel
892b53dc6f [plsql] Support WithinClause for LISTAGG function (and similar) 2019-02-16 20:09:54 +01:00
Andreas Dangel
d56bdc1c84 [plsql] Support AnalyticClause 2019-02-16 20:09:48 +01:00
Andreas Dangel
18afdad101 Merge remote-tracking branch 'adangel/issue-1590' into plsql-parser-fixes2 2019-02-16 20:07:03 +01:00
Andreas Dangel
ee3dd2db7a Merge remote-tracking branch 'adangel/issue-1589' into plsql-parser-fixes2 2019-02-16 20:02:09 +01:00
Andreas Dangel
b32e5b0910 [plsql] Support REGEXP_LIKE condition 2019-02-10 10:30:23 +01:00
Andreas Dangel
2e07139f8d [plsql] Add multiset condition in where clause 2019-02-10 10:30:23 +01:00
Andreas Dangel
06eb3e24eb [plsql] Parse Exception with EXISTS
Fixes #1587
2019-02-10 10:30:23 +01:00
Andreas Dangel
fcdded6d5d [plsql] ParseException with subqueries in WHERE clause
Fixes #1589
2019-02-10 10:27:42 +01:00
Andreas Dangel
adfc8511e6 [plsql] FunctionCall is now used again for user defined functions 2019-02-10 10:24:40 +01:00
Andreas Dangel
fcba29a3b7 [plsql] ParseException when using hierarchical query clause
Fixes #1590

* Moves function calls down to primary expression so that functions
  can be used in a select expression
* Restrict FunctionCall to built-in functions. User defined functions
  are parsed as primary expressions.
* Parse function name of built-in function as general ID.
* The Tokens _DEFAULT, ELSE and EXCEPTION are reserved words and not
  available for identifiers.
2019-02-10 10:24:40 +01:00
Juan Martín Sotuyo Dodero
76f6ceab79 Merge pull request #1594 from adangel/issue-1526
[plsql] ParseException when using TableCollectionExpression
2019-01-26 19:31:44 -03:00
Andreas Dangel
2def07b542 Fixes from PR review 2019-01-23 21:31:34 +01:00