SmartConnector SQL Design Best Practices
Overview
Never Use SELECT *
-- Do this
CREATE OR REPLACE TABLE output.table_for_output
ENGINE = Log() AS
SELECT
customer_id,
first_name,
last_name,
email
FROM source_data;
-- Not this
CREATE OR REPLACE TABLE output.table_for_output
ENGINE = Log() AS
SELECT * FROM source_dataKeep SQL Output Close to Final Form
Use SQL Parameters for Configurable Values
Store Credentials in Integration Secrets
Test SQL Before Configuring Load Steps
What's Next
PreviousSmartConnector Design Best PracticesNextSmartConnector Execution Variable Design Best Practices
Last updated
Was this helpful?