274 Commits

Author SHA1 Message Date
08df72dfbd Merge branch 'pr-1657' 2019-02-18 00:45:48 -03:00
b74527cb8e Merge branch 'pr-1598' 2019-02-17 16:33:33 -03:00
c32daec699 [plsql] Avoiding tokens for "FIRST" and "REPLACE" 2019-02-16 20:28:05 +01:00
7333ed4595 [plsql] New reserved words are: COLUMNS, INDEXES, OVERLAPS
Separated reserved words tokens from keyword tokens
2019-02-16 20:28:00 +01:00
c94e87e1b0 [plsql] Add operator for ComparisonCondition 2019-02-16 20:27:53 +01:00
fcd6006b56 [plsql] Support TRIM function 2019-02-16 20:27:45 +01:00
e7e1262b00 [plsql] Fix function calls in order by clause 2019-02-16 20:27:29 +01:00
c7f104a357 [plsql] SELECT is a reserved word 2019-02-16 20:27:22 +01:00
808c03f532 [plsql] Add SimpleExpressionNode, allow expressions with REGEXP_LIKE 2019-02-16 20:25:50 +01:00
984928ad52 [plsql] Add more code samples 2019-02-16 20:13:48 +01:00
d81e708db0 [plsql] Improved UPDATE statement 2019-02-16 20:13:39 +01:00
80f3f07166 [plsql] Allow subqueries in SELECT columns 2019-02-16 20:13:27 +01:00
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
f43e261243 [plsql] Support more than simple names for order by and select into. 2019-02-16 20:13:00 +01:00
4814ece9ac [plsql] Support ListaggOverflowClause for LISTAGG function 2019-02-16 20:12:38 +01:00
892b53dc6f [plsql] Support WithinClause for LISTAGG function (and similar) 2019-02-16 20:09:54 +01:00
d56bdc1c84 [plsql] Support AnalyticClause 2019-02-16 20:09:48 +01:00
18afdad101 Merge remote-tracking branch 'adangel/issue-1590' into plsql-parser-fixes2 2019-02-16 20:07:03 +01:00
ee3dd2db7a Merge remote-tracking branch 'adangel/issue-1589' into plsql-parser-fixes2 2019-02-16 20:02:09 +01:00
833119e00c [plsql] Fix test cases
* table is a reserved word and cannot be used as an identifier
* correctly name test class for TableCollectionExpressionTest
2019-02-10 10:41:58 +01:00
b32e5b0910 [plsql] Support REGEXP_LIKE condition 2019-02-10 10:30:23 +01:00
2e07139f8d [plsql] Add multiset condition in where clause 2019-02-10 10:30:23 +01:00
06eb3e24eb [plsql] Parse Exception with EXISTS
Fixes #1587
2019-02-10 10:30:23 +01:00
fcdded6d5d [plsql] ParseException with subqueries in WHERE clause
Fixes #1589
2019-02-10 10:27:42 +01:00
adfc8511e6 [plsql] FunctionCall is now used again for user defined functions 2019-02-10 10:24:40 +01:00
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
63cd6d0f5c [maven-release-plugin] prepare for next development iteration 2019-01-27 13:25:00 +01:00
ea2776f70c [maven-release-plugin] prepare release pmd_releases/6.11.0 2019-01-27 13:24:51 +01:00
df169f7027 [plsql] Fix build: table is a reserved word so can't be used as a table name 2019-01-27 11:34:01 +01:00
76f6ceab79 Merge pull request #1594 from adangel/issue-1526
[plsql] ParseException when using TableCollectionExpression
2019-01-26 19:31:44 -03:00
89c8f47b2b Move JavaCCTokenizer to internal package 2019-01-26 19:19:46 +01:00
57d6ff9e30 Merge remote-tracking branch 'origin/master' into issue-1559 2019-01-26 11:28:36 +01:00
08b7dd49dd [core] Add a generic JavaCCTokenizer for CPD 2019-01-26 11:24:32 +01:00
2def07b542 Fixes from PR review 2019-01-23 21:31:34 +01:00
46ddd7d1f6 [plsql] ParseException when using TableCollectionExpression
Fixes #1526

Also adding InsertStatement
2019-01-23 21:31:34 +01:00
b173d11508 [plsql] Parse Exception with function calls in WHERE clause
Fixes #1588
2019-01-23 20:56:44 +01:00
872f4e90e2 [plsql] Parse Exception when functions are used with LIKE
Fixes #1586
2019-01-20 11:01:17 +01:00
4665509c44 Merge branch 'pr-1554' 2019-01-20 10:30:29 +01:00
b4d545b0c1 Multiple columns are not possible with ROW update 2019-01-20 10:28:14 +01:00
b745f331b8 CPD: Fix error handling for lexical errors
* TokenMgrError must not be caught by the tokenizer. This is handled
  by CPD itself
* The token managers need to know the filename for proper error messages
2019-01-20 10:18:56 +01:00
b521126130 Merge branch 'pr-1550' 2019-01-14 18:50:17 +01:00
a0109aeef9 Merge branch 'pr-1523' 2019-01-07 22:23:42 +01:00
f6c62ef71d updates should allow for multiple statements 2019-01-02 22:29:04 -05:00
ad078fad59 Deprecate StatisticalRule 2018-12-30 16:34:57 +01:00
e079d0c2e9 Merge branch 'pr-1525' 2018-12-17 16:08:39 +01:00
e56d97aac3 Merge branch 'pr-1524' 2018-12-17 16:05:54 +01:00
69878f3562 [plsql] Parse Exception with IS NOT NULL
Fixes #1511
2018-12-13 17:25:48 +01:00
351d04568f [plsql] Parse Exception with OUTER/INNER Joins
Fixes #1509
2018-12-13 17:03:13 +01:00
43a96d92f0 [plsql] Parse Exception when using '||' operator in where clause
Fixes #1507
2018-12-13 15:47:42 +01:00
7a8ef70e95 [plsql] Parse Exception when using SELECT COUNT(*)
Fixes #1508
2018-12-12 09:44:35 +01:00