# Create a Databricks File Federation Data Stream

Create a data stream to start the flow of data from your Databricks source to Data 360 .

| User Permissions Needed  |                      |
| ------------------------ | -------------------- |
| To create a data stream: | Data Cloud Architect |

Before you begin:

- Make sure that the Databricks File Federation connection is set up.
- Review [IP addresses](https://help.salesforce.com/s/articleView?id=data.c360\_a_data_cloud_ip_address_allowlist.htm\&type=5) to make sure that the Databricks connection has the necessary access.

1. In Data Cloud, on the Data Streams tab, click **New**.

2. Select Databricks File Federation as the source of the data stream, and click **Next**.

3. From the menus, select the connection and database to use.

4. Under **Schemas**, select the schema to use.

5. From the Available Objects, select the objects that you want to include.

   :::note
   You can't choose objects listed under In Use Objects.
   :::

6. Click **Next**.

7. Enter the object name and object API name. See [Data Lake Object Naming Standards](https://help.salesforce.com/s/articleView?id=data.c360\_a_data_lake_object_naming.htm\&type=5).

8. Select the category to specify the type of data to ingest. See [Category](https://help.salesforce.com/s/articleView?id=data.c360\_a_category.htm\&type=5).

9. Select a primary key to uniquely identify the incoming records. See [Primary Key](https://help.salesforce.com/s/articleView?id=data.c360\_a_primary_key.htm\&type=5).

10. Select the source fields you want to ingest and click **Next**.

    Fields with compatible data types are listed under Supported Fields. It's recommended to select all supported fields.

    :::note
    Unsupported Fields lists the fields with data types that aren't supported in Data 360.
    :::

11. Select a data space. If you don't have multiple data spaces provisioned, select **Default**. For more information, see [Data Spaces](https://help.salesforce.com/s/articleView?id=data.c360\_a_data_spaces.htm\&type=5).

12. Click **Deploy**.

## Data Type Compatibility

This table lists the mapping of Databricks data types with Data 360 data types.

| Databricks Data Type                        | Is Auto-mapped to Data 360 Data Type |
| ------------------------------------------- | ------------------------------------ |
| INT, SMALLINT, TINYINT, BIGINT              | Number                               |
| FLOAT, DOUBLE. DECIMAL(p,s)                 | Number                               |
| STRING                                      | Text                                 |
| TIMESTAMP with Timezone                     | DateTime                             |
| DATE                                        | Date                                 |
| BOOLEAN                                     | Boolean                              |
| VARIANT, OBJECT, ARRAY, GEOGRAPHY, GEOMETRY | Not Suported                         |
| BINARY, VARBINARY                           | Not Supported                        |
| STRUCT                                      | Not Supported                        |

## See Also

- [Salesforce Help: Zero Copy Data Federation](https://help.salesforce.com/s/articleView?id=data.c360\_a_byol_data_federation.htm\&type=5)
- [Salesforce Help: Billing Considerations for Data Federation](https://help.salesforce.com/s/articleView?id=data.c360\_a_billing_considerations_for_data_federation.htm\&type=5)
- [Salesforce Help: Caching in Data Federation](https://help.salesforce.com/s/articleView?id=data.c360\_a_accelerated_data_lake_objects.htm\&type=5)
- [Salesforce Help: Data Stream Settings and Refresh Modes](https://help.salesforce.com/s/articleView?id=data.c360\_a_data_stream_edit_settings.htm\&type=5)
