Strategy ONE
Customize Your Query While Importing Data from a Database or Hadoop
While you are building a query for importing data, you can customize the query manually.
- Create a document or open an existing one.
- Choose Data > Add Dataset.
- Click Add External Data.
- Select a database type and build a query.
- Click Edit SQL.
- Click Yes to exit Build Query mode.
- Make changes to the query.
- Write the query as a single-pass
SELECT
statement. - If you are creating a join between tables, the syntax of the
JOIN
clause that you write depends on the size of the tables that you are joining. - Click Finish.