EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB485936: Palantir Foundry Connection Best Practice


Daquan Wang

Software Engineer, Senior • MicroStrategy


Palantir Foundry connector is released as out of the box in MicroStrategy 2021 Update 9. This article describes how to connect and use Palantir Foundry from MicroStrategy BI Platform.

Create connection


To create connection against Palantir Foundry, the best practice is to use Workstation, this will help us create a JDBC based connection to Palantir Foundry.
 

  1. In Workstation, after connect to your environment, click on “Data Sources” add button.
ka04W000000OeQOQA0_0EM4W000006zyLU.jpeg

 

  1. Select Palantir Foundry.
ka04W000000OeQOQA0_0EM4W000006zyLe.jpeg


 

  1. Create Data Source

Input Name, Description field. And choose Projects from drop-down list to assign these Data Source to projects.

ka04W000000OeQOQA0_0EM4W000006zyLo.jpeg

In Default Database Connection field, you can choose existing connection or “Add new database connection”. For adding new connection, please specify connection Name, enter the Server, Catalog, Token. You can add additional parameters in the Advanced tab. For more connection parameters, you can refer to Palantir .
Best Practise

  • Catalog
    is a required field in Strategy. Although It is not a required parameter for Foundry JDBC driver. Setting this property can resolve table browsing issues in Strategy.
  • Dialect
    is predefined with value of “SPARK“ in Strategy. This is recommended by Palantir Foundry and take full advantage of SparkSQL functionality in Palantir Foundry. As a result, the quoting identifier defined as  VLDB setting in “DATABASE.PDS” file of Strategy is backticks. It is not recommended to change this value in connection string.

You can click “Test” button to test out the connection, then click “Save”.
 

ka04W000000OeQOQA0_0EM4W000006zyKh.jpeg


 

Create Data Import Cube


To create Data Import Cube against Palantir Foundry, the best practice is to use Workstation.
 

  1. In workstation, click “Add” button on Datasets.
ka04W000000OeQOQA0_0EM4W000006zyM8.jpeg

 

  1. Choose “Data Import Cube” type of dataset and click OK.
ka04W000000OeQOQA0_0EM4W000006zyMN.jpeg


 

  1. Click on the Data Source, and the table list will show up.

Best Practise:

  • Default catalog option is “ODBC call“ for Palantir Foundry.  “Catalog SQL” is not supported by Palantir Foundry JDBC Driver. It is not recommended to change catalog option for Palantir Foundry.
ka04W000000OeQOQA0_0EM4W000006zyMX.jpeg

If “Enable New Data Import Experience” is selected:
In Workstation, we can “Enable New Data Import Experience” in the “Help” tab.
 

ka04W000000OeQOQA0_0EM4W000006zyMc.jpeg


 

  1. A list of available tables will show up in the left panel, double click on the table to add it into Cube.
ka04W000000OeQOQA0_0EM4W000006zyJu.jpeg


 

Use Palantir Foundry for Schema Modeling


To create schema object against Palantir Foundry, the best practice is to use Workstation.
 

  1. In Workstation, connect to your environment, and select “Schema” in left panel.
ka04W000000OeQOQA0_0EM4W000006zyMh.jpeg


 

  1. Double Click on the Project you want to edit schema. On the left panel “Data Catalog”, all the Data Sources assigned for the project will show up.


 

  1. Click on Palantir Foundry Data Source, a list of tables will be listed. All tables will be showed up. Right-Mouse-Click the table and Click “Add to Project“, it will be added into schema. 

Click “Save and Update Schema” button on the upper-left corner of Schema Editor.
Then we can create Schema Objects based on the newly added table.
 
 

 

Supported key functionality

Paramerized Query is supported.
 

Unsupported functionality/Limitations

  • Data mart and transaction(data write back not support, only support read-only queries).
  • OAuth Authentication Method for JDBC driver is not supported currently.

 


Comment

0 comments

Details

Knowledge Article

Published:

March 3, 2023

Last Updated:

March 3, 2023