Affects PMD Version: 6.17.0
Rule: n/a
Description:
If the SQL input source contains multiple DDL commands, then the parsing result only shows one command - the other commands are skipped, which is wrong.
Code Sample demonstrating the issue:
COMMENT ON COLUMN employees.job_id IS 'abbreviated job title';
COMMENT ON COLUMN employees.job_id IS 'abbreviated job title';
COMMENT ON COLUMN employees.job_id IS 'abbreviated job title';
Running PMD through: Designer
SQL Documentation:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4