Importing Data with Custom Queries
  • 20 Oct 2022
  • 1 Minute to read
  • Dark
    Light

Importing Data with Custom Queries

  • Dark
    Light

Sisense allows you to import data from a variety of data sources and manipulate the data that is imported by running custom SQL queries against the database, for example:

  • Import selected data only to reduce import and build times when you do not require all the data.
  • Perform various procedures in the database such as table joins.

After running your custom query, you can preview the updated tables before importing the data into the ElastiCube.

Notes:
  • This feature is available for the following relational databases: AWS Athena, Databricks, Microsoft SQL Server, MySQL, PostgreSQL, Oracle, AWS Redshift, Salesforce, Snowflake, BigQuery and Generic JDBC.
  • This feature runs a query in the source database, which may require a lot of processing power from your database, especially for complex queries.

To add tables with custom queries:

  1. After selecting your database, click + at the bottom of the list of tables and views in the database. An empty custom table is added and the Settings area is displayed.

    image.png

    OR
    When previewing an existing table, click Edit Query to modify the custom query.

  2. In the Settings area, enter your custom SQL query.

  3. Click + to add additional custom tables. You can delete any of the tables by selecting the import query’s menu and clicking Delete.

    image.png

  4. Click Done to import your custom data into Sisense.


Was this article helpful?