This is a guide to installing the WhereScape Enablement Pack for Snowflake for WhereScape RED


Prerequisites for Target Database

Before you begin the following prerequisites must be met:

  • Access to a Hive (Target Environment) with the following connectivity information:
  1. Server Name
  2. Database Name
  3. User Name
  4. Password
  • Hive software installed
    • Hive ODBC driver (64-bit)
      1. Add ODBC DSN for Hive Database
  • Python 3.11 or higher
    • Select "Add Python 3.11 to PATH" from installation Window
    • Pip Manager Install with command : python -m pip install --upgrade pip

Enablement Pack Setup Scripts

The Enablement Pack Install process is entirely driven by scripts. The below table outlines these scripts, their purpose and if "Run as Administrator" is required.

1Setup_Enablement_Pack.ps1

Setup and configure a RED Metadata Repository for target database If RED repository exists then updates the repository with

  1. Templates
  2. Scripts
  3. Extended Properties
  4. Datatype Mappings
  5. UI Configurations
YesNew and Existing Installations
2nstall_WslPowershell_Modules.bat Installs or updates WslPowershell Modules on this machine.YesNew and Existing Installations
3import_powershell_templates.ps1 Imports or updates the PowerShell Templates to a RED Metadata Repository. Also includes any Script ImportsNo*Existing Installations
4 set_default_templates.ps1 Applies the RED Connection defaults in a RED Metadata Repository for Python or Powershell templates.No*Existing Installations
*Note that on some systems executing Windows Powershell scripts is disabled by default, see troubleshooting for workarounds Each Powershell script in the list above provides some help at the command line, this can be output by passing the "-help" parameter to the script.For Example > .\Setup_Enablement_Pack.ps1 -help

Post Install Steps - Optional

If you used the script 'Setup_Enablement_Pack.ps1' then the following optional post install steps are available

Configure Connections

There were two connections added that will optionally require your attention:

Below two are common for SQL Server

  1. Connection: 'Database Source System' - this connection was setup as an example source connection,
    • open it's properties and set it up for a source DB in your environment
    • or you can remove it if not required
  2. Execute Update Procedure for dim_date_hv to Initialize Date Dimension for Target
  3. Connection: 'Hive' - this connection was setup as per parameters provided in script 1
    • open it's properties and check extended properties tab, set it up for JDBC URL and JDBC DRIVER