Unable to fully parse

  • ALM used: GitHub
  • CI system used: Circle CI
  • Scanner command used: sonarcloud/scan
  • Languages of the repository: en
  • Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
WARN: Unable to fully parse: foo.sql
WARN: Parse error starting from line 1
  • Steps to reproduce
    foo.sql contains SQL commands in a transaction. File starts with BEGIN; and finishes with COMMIT; and it seems to fail when meeting BEGIN;

Any idea?

By default, .sql files are analyzed with the PL/SQL analyzer.
In PL/SQL, a block is delimited with BEGIN and END.
Do you have a matching END for your block?
Is it supposed to be valid PL/SQL or is it something else?