OrderStarCustomer

Manipulating Metadata Properties ..

Workshop - OrdersStarCustomer

Metadata Properties

  1. Start Metadata Editor:

Windows (Powershell):

cd \
cd Pentaho/design-tools/metadata-editor/
./metadata-editor.bat

Linux:

cd
cd Pentaho/design-tools/metadata-editor/
./metadata-editor.sh
  1. Start the Pentaho Server (not required if using Pentaho Labs):

Windows (Powershell):

cd \
cd Pentaho/server/pentaho-server
./start-pentaho.bat

Linux:

cd
cd /opt/pentaho/server/pentaho-server
sudo ./start-pentaho.sh

Follow the guide below to create your OrderStarCustomer domain:

Define a Domain & JDBC Connection

Before you begin defining your business model, you must first describe the database or data source that you would like to model.

  1. To define a new domain, select: File > New > Domain File from the main menu.

  2. Right-mouse click on Connections or: File > New > Connection:

Field
Parameter

Connection name

hsqldb:sampledata

Connection Type

Hypersonic

Access

Naitive (JDBC)

Host name

localhost

Database Name

sampledata

Port Number

9001

User Name

pentaho_admin

Password

password

  1. Click Test.

  2. Click OK to dismiss the Database Connection Test dialog, and then click OK to close the Database Connection dialog.

  3. Leave the Metadata Editor and the Import Tables dialog open.


Import Tables

The next step is to import table metadata from your data source into the physical layer and then add the table metadata to the abstract business layer.

  1. If the Import Tables dialog is not open, right-click hsqldb:sampledata and choose Import Tables.

  2. In the Import Tables dialog, press and hold the Ctrl key and use the mouse to select the following tables:

PRODUCTS

ORDERFACT

DIM_TIME

CUSTOMER_W_TER

The ORDERFACT table is the FACT table for the star schema.

  1. Click OK to import the table metadata.

  2. Expand Connections > hsqldb:sampledata and verify each of the tables appears in the physical layer.

Last updated

Was this helpful?