How to export data to Amazon Redshift?

Export data to Amazon Redshift

Zoho DataPrep supports importing data from Amazon Redshift, a cloud database. It is a fully managed, petabyte-scale data warehouse service in the cloud.

Export data to Amazon Redshift

1. Open an existing pipeline or create a pipeline from the Home Page, Pipelines tab or Workspaces tab. You can bring your data from 50+sources.

2. On the Pipeline Builder page, once you have completed creating your data flow and applying the necessary transforms in your stages, you can right-click a stage and select the Add Destination option.



3. You can select Oracle Cloud from the Cloud databases category or search it in the search box.


Note: If you have already added a Amazon Redshift connection earlier, you can simply select the existing connection under the Saved connections section and proceed with exporting.

4. If your data contains columns with personal data, you can choose to include or exclude some or all of them in the PII columns section. 

You can also apply the necessary security methods below to protect your data column:

A. Data masking  
Data masking hides original data with 'x' to protect personal information.

B. Data Tokenization 
Data tokenization replaces each distinct value in your data with a random value. Hence the output is statistically identical to the original data. 

C. None
You can select None if you do not want to use any security method.   



5. Click Next and select Amazon Redshift in the Database service name dropdown.

6. Enter the Endpoint, Port, Database name, Username and Password to authenticate the database connection. 

7. You can also select the Use SSL checkbox if your database server has been setup to serve encrypted data through SSL

8. Enter a unique name for your connection under Connection name and click Connect.

Note: The connection configuration will be saved for exporting data in the future. Credentials are securely encrypted and stored.



Note: If you face trouble connecting to your database, please make sure Zoho DataPrep's IP Addresses are whitelisted in your application to export data to cloud databases. Click here to know about Zoho DataPrep IP addresses.

9. Once you have successfully connected to your Amazon Redshift account, you can choose how and where to export the data.

10. Choose Existing table if you want to export data to an existing table and select one from the list of tables available in the database. If you select the existing table option, there are two ways in which you can choose how to add the new rows to the table. 
  1. If the new rows are to be added to the table, choose Append.
  2. If the newly added rows are to replace the existing rows, select Overwrite from the dropdown.


11. If you want to create a new table and export data, select the New table option, enter the Schema name, and Table name and choose how to add the new rows to the table. 
  1. If the new rows are to be added to the table, choose Append.
  2. If the newly added rows are to replace the existing rows, select Overwrite from the dropdown.
Note: For schedule and backfill run, the first export will be done to a new table and the subsequent exports will be done to an existing table and this option will be used to add the new rows to the existing table.
 


12. Click Save. Now that you have added a destination, you may want to try executing your pipeline using a manual run at first. Once you make sure manual run works, you can then set up schedule to automate the pipeline. Learn about the different types of runs here.

Info: Each run is saved as a job. When a pipeline run is executed, the data fetched from your data sources will be prepared using the series of transforms you have applied in each of the stages, and then data will be exported to your destination. This complete process is captured in the Jobs page.

13. If the manual run succeeds without any errors, your data will be exported successfully. If you are exporting data to an existing table in your cloud database, and if the manual run fails throwing the below target match error, you can fix them by completing the target matching steps.   

Target matching is a useful feature in DataPrep that prevents export failures caused due to errors from the data model mismatch.

Note: Target matching will be applied even if you export data to a new table and automate the pipeline using the Schedule run option. Only during the first schedule it will treated as a new table. In the subsequent exports, the new table will be treated as an existing table and target matching will be applied.
 




Target matching during export to cloud databases

Target matching happens before the data is exported to the destination. Target matching is a useful feature in DataPrep that prevents export failures caused due to errors from the data model mismatch. Using target matching, you can set the required cloud database table as the target and align the source dataset columns to match with your target table. This ensures seamless export of high quality data to the cloud databases.

Note: Target matching failure is not an export failure. Target matching happens before the data is actually exported to the destination. This way the schema or data model errors that could cause export to fail are caught beforehand preventing export failures. 

When target match check fails

1. If the target match check fails during export, you can go to the DataPrep Studio page, click the target matching icon  at the top right corner and choose the Show target option. The target's data model is displayed above the existing source dataset. The columns in the source dataset are automatically aligned to match the columns in the target dataset, if found.




Target matching displays the different icons and suggestions on the matched and unmatched columns. You can click on these suggestions to quickly make changes to match the existing column with the target column. To make it easier for you to fix the errors, the target module in your cloud database is attached as a target to your data. You can view the mapping of your data with the table in the DataPrep Studio page along with the errors wherever there is a mismatch. You can hover over the error icons to understand the issue and click on them to resolve each error.

Note: All columns are displayed in the grid by default. However, you can filter out the required option by clicking the All columns link.
2. Click the View summary link to view the summary of the target match errors. The summary shows the different model match errors and the number of columns associated with each error. You can click on the required error columns and click Apply to filter out specific error columns. 



Target match error summary

  1. The Target match errors section shows the errors and the number of columns associated with each error. 
  2. The section at the top lists the error categories along with the number of errors in each category.
  3. You can click them to filter errors related to each category in the panel.
  4. In the default view, all columns are displayed. However, you can click any error category and get a closer look at the columns or view the error columns alone by selecting the Show only errors checkbox. 
  5. Your filter selection in the Target match error summary will also be applied on the grid in the DataPrep Studio page. 

Target matching errors

The errors in target matching are explained below:
  1. Unmatched columns : This option shows all the unmatched columns in the source and target.

    Note:
    1. The non-mandatory columns in the target can either be matched with a source column if available or ignored.
    2. The columns in the source that are missing in the target need to be matched or removed to proceed exporting. 

    When using the unmatched columns option, you can toggle the Show only mandatory columns option to see if there are any mandatory columns(set as mandatory in the target) and include them. You can also fix only the mandatory columns and proceed to exporting.


  1. Data type mismatch : This option displays the columns from the source having data types that do not match the columns in the target.
  2. Data format mismatch : This option displays columns from the source having date, datetime and time formats that differ from those in the target.
  3. Constraint mismatch : This option displays the columns that do not match the data type constraints of the columns in the target. To know how to add constraints for a column, click here.
  4. Mandatory column mismatch: This option displays the columns that are set as mandatory in the target but not set as mandatory in your source.

    Note: The mandatory columns cannot be exported to the destination unless they are matched and set as mandatory. You can click the  icon above the column to set it as mandatory. You can also use the Set as mandatory (not null) check box under the Change data type transform to set a column as mandatory.
  5. Data size overflow warnings : This option filters the columns with data exceeding the maximum size allowed in the target.

3. After fixing the errors you can go to the Pipeline builder page and run your pipeline to export your data. Once you make sure manual run works, you can then set up schedule to automate the pipeline. Learn about the different types of runs here


    Access your files securely from anywhere

      Zoho CRM Training Programs

      Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

      Zoho CRM Training
        Redefine the way you work
        with Zoho Workplace

          Zoho DataPrep Personalized Demo

          If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

          Zoho CRM Training

            Create, share, and deliver

            beautiful slides from anywhere.

            Get Started Now


              Zoho Sign now offers specialized one-on-one training for both administrators and developers.

              BOOK A SESSION





                          Quick Links Workflow Automation Data Collection
                          Web Forms Enterprise Begin Data Collection
                          Interactive Forms Workplace Data Collection App
                          CRM Forms Customer Service Accessible Forms
                          Digital Forms Marketing Forms for Small Business
                          HTML Forms Education Forms for Enterprise
                          Contact Forms E-commerce Forms for any business
                          Lead Generation Forms Healthcare Forms for Startups
                          Wordpress Forms Customer onboarding Order Forms for Small Business
                          No Code Forms Construction RSVP tool for holidays
                          Free Forms Travel
                          Prefill Forms Non-Profit

                          Intake Forms Legal
                          Mobile App
                          Form Designer HR
                          Mobile Forms
                          Card Forms Food Offline Forms
                          Assign Forms Photography
                          Mobile Forms Features
                          Translate Forms Real Estate Kiosk in Mobile Forms
                          Electronic Forms

                          Notification Emails for Forms Alternatives Security & Compliance
                          Holiday Forms Google Forms alternative  GDPR
                          Form to PDF Jotform alternative HIPAA Forms
                          Email Forms
                          Encrypted Forms
                          Embeddable Forms
                          Secure Forms
                          Drag and Drop form builder
                          WCAG


                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                Manage your brands on social media

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

                                                      Zoho Sheet Resources

                                                       

                                                          Zoho Forms Resources


                                                            Secure your business
                                                            communication with Zoho Mail


                                                            Mail on the move with
                                                            Zoho Mail mobile application

                                                              Stay on top of your schedule
                                                              at all times


                                                              Carry your calendar with you
                                                              Anytime, anywhere




                                                                    Zoho Sign Resources

                                                                      Sign, Paperless!

                                                                      Sign and send business documents on the go!

                                                                      Get Started Now




                                                                              Zoho TeamInbox Resources



                                                                                      Zoho DataPrep Resources



                                                                                        Zoho DataPrep Demo

                                                                                        Get a personalized demo or POC

                                                                                        REGISTER NOW


                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now









                                                                                                              • Related Articles

                                                                                                              • Export data to cloud databases

                                                                                                                You can export data to the following cloud databases. Amazon RDS - MySQL Amazon RDS - MS SQL Server Amazon RDS - Oracle Amazon RDS - PostgreSQL Amazon RDS - Maria DB Amazon RDS - Amazon Aurora MySQL Amazon RDS - Amazon Aurora PostgreSQL Amazon ...
                                                                                                              • Export data to Amazon RDS PostgreSQL

                                                                                                                Zoho DataPrep supports exporting data to Amazon RDS, a cloud database. Amazon RDS is also known as Amazon Relational Database Service and it helps to set up, operate, and scale databases. To export data to Amazon RDS PostgreSQL 1. Open an existing ...
                                                                                                              • Import data from Amazon Redshift

                                                                                                                Zoho DataPrep supports importing data from Amazon Redshift, a cloud database. It is a fully managed, petabyte-scale data warehouse service in the cloud. To import data from Amazon Redshift 1. Create a pipeline or open an existing pipeline from the ...
                                                                                                              • Export data to Amazon RDS MS SQL Server

                                                                                                                Zoho DataPrep supports exporting data to Amazon RDS, a cloud database. Amazon RDS is also known as Amazon Relational Database Service and it helps to set up, operate, and scale databases. To export data to Amazon RDS MS SQL Server 1. Open an existing ...
                                                                                                              • Export data to Amazon RDS Oracle

                                                                                                                Zoho DataPrep supports exporting data to Amazon RDS, a cloud database. Amazon RDS is also known as Amazon Relational Database Service and it helps to set up, operate, and scale databases. To export data to Amazon RDS Oracle 1. Open an existing ...
                                                                                                                Wherever you are is as good as
                                                                                                                your workplace

                                                                                                                  Resources

                                                                                                                  Videos

                                                                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                  eBooks

                                                                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                  Webinars

                                                                                                                  Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                  CRM Tips

                                                                                                                  Make the most of Zoho CRM with these useful tips.



                                                                                                                    Zoho Show Resources