Skip to content
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

Provide intellisense for stored procedures/functions #33

Open
isc-tleavitt opened this issue Dec 8, 2022 · 0 comments
Open

Provide intellisense for stored procedures/functions #33

isc-tleavitt opened this issue Dec 8, 2022 · 0 comments

Comments

@isc-tleavitt
Copy link
Contributor

  • For stored procedures (INFORMATION_SCHEMA.ROUTINES where ROUTINE_TYPE = 'PROCEDURE'), provide intellisense to support use as TVFs (these should show in a table context and ideally have columns listed)
  • For other routines (functions and UDAFs - though not sure off the top of my head how UDAFs are represented in INFORMATION_SCHEMA), provide intellisense to support use in the same context a column of a referenced table would be used.
  • For both cases, provide information on the expected arguments

Doing all of this correctly (and perhaps supporting IRIS SQL completely) would likely require changes upstream in vscode-sqltools, at minimum to permit more inversion of control to the DB-specific driver for SQL parser configuration (e.g., to use a custom Hue parser as described in https://docs.gethue.com/developer/development/#sql-parsers rather than just the generic SQL autocomplete parser we're getting from there; this could be a worthy project in itself and probably one best tackled from within InterSystems).

(From comments in #31 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant