-
Notifications
You must be signed in to change notification settings - Fork 4
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formatter fail #19
Comments
Can you please post error message from the output window (oracle-format tab)? |
Sure.
|
Looks like there is something wrong with syntax of file being formatted, or not? Can you please try with a simple bullet proof sql like "select 1 from dual;" Did you use this version of sqlcl 19.4 even before or you upgraded recently? |
Looks like wrong syntax issue. Simple query works fine. |
No, I don't think it would.. You are trying to format an invalid plsql block. Try to compile it and you will find an error... |
In fact it's not pure plsql per se. It's an in-house ETL platform for more than 10 yrs. At the beginning, it was backed by Oracle DB, later on, the company decided to eat its own dog food so swapped out the backing DB, but the platform remains to use something plsql compatible. At this point, people no longer want to add more features onto it, so there's no formatter available. |
After using the formatter for a couple of times, it started to return parse error for every SQL script( even those successes before so it cannot be malformed SQL issue). My guess is it might have something to do with oracle sqlcl connection.
Some info that might help:
VS Code version: 1.44.2
Oracle sqlcl version: 19.4.0
OS version: macOS Mojave 10.14.6
The text was updated successfully, but these errors were encountered: