× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
alonsomendez reported 2020-06-24T13:05:50Z  · AmarAccolite last modified 2021-04-21T17:16:22Z

Snowflake schema tree does not show Procedures.


Priority Minor
Complexity Unknown
Component DB - Snowflake
Version 22.0

Stored Procedures were recently added to the Snowflake platforms. Aqua Data Studio needs to support stored procedure objects.

ADS areas that need to change:

Schema Tree - object nodes, model nodes
  Build object extraction queries
  Layout - object nodes, model nodes - DB2ProceduresNode as an example
     Database
        Schema
          Procedures
             Dependencies
             Parameters
  Detail Window - HiveColumnsModel as an example.
 
Scripting - Add Procedures
  Define script syntax, system catalog dependencies and keywords
  Schema browser "Script object to" Layout - object nodes->popup - DB2TablesNode.constructPopupMenu as an example. Define the functions in the popup.
     CREATE
     DROP
     EXECUTE
     GRANT
     REVOKE
  Functional areas are Schema script generator, Script object to Query Analyzer Schema Compare,  Visual editing and preview
    Build keyword extraction queries
    Create extracts for scripts
    Build script syntax for each object - ScriptTable, ScriptView as examples
  Schema script generator - See ScriptGeneratorDialog, ScriptGeneratorWorker
 
Visual Editing
  Create, Alter, Drop and Object Properties - See TableDialog
     Define the object parameters
     Build keyword extraction queries
     Create menus for object parameters
     Define and build preview scripting - See scripting above.
 
Query Analyzer Window
  Needs to be able to execute the Stored Procedure.
 
Results Window
   Specialized query result sets - See PlatResultsFormatPanel, QueryThread, AFScriptContext and ShellScriptContext
 
Schema Compare
    Add new schema objects to the selection - See SchemaObject
    As listed in scripting section, will need to have all listed objects ddl scripted.
 
Object Search
     Build search extracts for all procedure objects. See FindFrame and ObjectSearchctx
 
AquaScript 
   Support for new procedures for Schema Compare and Database Schema and Data Exporter.- CoreMetadata.java,  ExportDatabaseToCSVTemplate.vm , SchemaCompareTemplate.vm
   Test projects in studio

 

6 attachments

Issue #15799

Verified
Fixed
Resolved 2021-03-18T09:00:04Z
 
 
Completion
No due date
Fixed Build dev-24
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017