Mike B
05/24/2024, 4:21 PMkapa.ai
05/24/2024, 4:22 PMreader_options parameter. This allows you to specify the data type for specific columns, overriding the type that would be picked during auto-discovery. For example, if you want to force a field to be treated as a string (nvarchar) rather than a float, you can use the following reader_options configuration: json { "dtype": { "your_column_name": "string" } } This configuration will ensure that the specified column is treated as a string, preserving any leading zeroes. Here is a step-by-step guide to achieve this: 1. Access the SFTP Bulk Source Configuration: When setting up or editing your SFTP Bulk source in Airbyte, locate the section where you can input reader_options. 2. Specify the Data Type: Use the reader_options parameter to specify the desired data type for your column. For example: json { "dtype": { "your_column_name": "string" } } 3. Save and Sync: Save your configuration and run the sync. The specified column should now be treated as a string in the destination. For more details on how to use reader_options, you can refer to the [Airbyte documentation on changing data types of source columns](https://docs.airbyte.com/integrations/sources/file#storage-providers). If you encounter any issues or need further assistance, you can also check the [Airbyte forum post](https://discuss.airbyte.io/t/2833) where similar topics are discussed.Mike B
05/24/2024, 4:36 PMkapa.ai
05/24/2024, 4:36 PMkapa.ai
05/24/2024, 4:36 PM