You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
After some evaluation i think its probably too much of a breaking change to add the change i previously suggested, i think its probably safer to internally manage the transformation prior to the lookup and then modify the interface SqlDataResult and Generator to to the parse correctly like the AbstractSqlObject interface
Describe the Issue
ssc pull prod with the data option enable errors with tables with reserved words. It works fine for pulling the table with the keyword.
Expected behavior
The command should import the data correctly.
Steps to Reproduce
Given the following sample sql (which includes the reserve word Plan):
running the command ssc pull throws an error message.
Other Information
I suspect the problem is on the following lines of the pull.ts file:
sql-source-control/src/commands/pull.ts
Lines 77 to 110 in 7b25261
Specifically the lines
sql-source-control/src/commands/pull.ts
Line 80 in 7b25261
and
sql-source-control/src/commands/pull.ts
Line 90 in 7b25261
which should escape the schema and table with brackets ([])
The text was updated successfully, but these errors were encountered: