Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Example fbsql loader command

This example demonstrates how to run the loader command:

  • with a TOML configuration file setup with data source and target key/values
  • to import data from a specified data source to an existing target table

Before you begin

Step 1 - connect to your Cloud database

  • Open a terminal then substitute your connection details in either of the following commands:

Connect with API key

fbsql --host="" \

Connect with user credentials

fbsql --host="" \
--email="<your-account-email-address-here>" \

Step 2 - run loader command

Substitute your data source type where specified in the following fbsql command:

loader-<data-source-type> example-config.toml

Where <data-source-type> is:

  • impala
  • kafka
  • postgres