You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Description:** Snowflake account identifier (for example, `xy12345.ap-northeast-1`).
337
+
338
+
<h4>`username`</h4>
339
+
340
+
-**Field:**`username`
341
+
-**Description:** Database user.
342
+
343
+
<h4>`password`</h4>
344
+
345
+
-**Field:**`password`
346
+
-**Description:** Database password.
347
+
348
+
<h4>`database`</h4>
349
+
350
+
-**Field:**`database`
351
+
-**Description:** Default database to resolve/import. (Optional)
352
+
353
+
<h3>Example</h3>
354
+
355
+
```json
356
+
{
357
+
"catalog": "production",
358
+
"name": "snowflake_dwh",
359
+
"type": "snowflake",
360
+
"provider": {
361
+
"account": "YOUR-ACCOUNT",
362
+
"username": "analytics_user",
363
+
"password": "secure_password",
364
+
"database": "ANALYTICS"
365
+
}
366
+
}
367
+
```
368
+
369
+
</TabItem>
370
+
271
371
<TabItemvalue="dynamodb"label="DynamoDB">
272
372
273
373
<h3>Configuration</h3>
@@ -397,7 +497,7 @@ When registering a data source to ScalarDB Analytics, the catalog structure of t
397
497
398
498
The catalog-level mappings are the mappings of the namespace names, table names, and column names from the data sources to the universal data catalog. To see the catalog-level mappings in each data source, select a data source.
399
499
400
-
<TabsgroupId="data-source"queryString>
500
+
<TabsgroupId="data-source-type"queryString>
401
501
<TabItemvalue="scalardb"label="ScalarDB"default>
402
502
The catalog structure of ScalarDB is automatically resolved by ScalarDB Analytics. The catalog-level objects are mapped as follows:
403
503
@@ -406,8 +506,7 @@ The catalog-level mappings are the mappings of the namespace names, table names,
The catalog structure of PostgreSQL is automatically resolved by ScalarDB Analytics. The catalog-level objects are mapped as follows:
412
511
413
512
- The PostgreSQL schema is mapped to the namespace. Therefore, the namespace of the PostgreSQL data source is always single level, consisting of only the schema name.
@@ -477,7 +576,7 @@ The catalog-level mappings are the mappings of the namespace names, table names,
477
576
<TabItemvalue="sql-server"label="SQL Server">
478
577
The catalog structure of SQL Server is automatically resolved by ScalarDB Analytics. The catalog-level objects are mapped as follows:
479
578
480
-
-The SQL Server database and schema are mapped to the namespace together. Therefore, the namespace of the SQL Server data source is always two-level, consisting of the database name and the schema name.
579
+
-Each SQL Server database-schema pair is mapped to a namespace in ScalarDB Analytics. Therefore, the namespace of the SQL Server data source is always two-level, consisting of the database name and the schema name.
481
580
- Only user-defined databases are mapped to namespaces. The following system databases are ignored:
482
581
- `sys`
483
582
- `guest`
@@ -499,6 +598,28 @@ The catalog-level mappings are the mappings of the namespace names, table names,
499
598
- The SQL Server table is mapped to the table.
500
599
- The SQL Server column is mapped to the column.
501
600
601
+
</TabItem>
602
+
<TabItemvalue="databricks"label="Databricks">
603
+
The catalog structure of Databricks is automatically resolved by ScalarDB Analytics. The catalog-level objects are mapped as follows:
604
+
605
+
- Each Databricks catalog-schema pair is mapped to a namespace in ScalarDB Analytics. Therefore, the namespace of the Databricks data source always has two levels, consisting of the catalog name and the schema name.
606
+
- The following system catalogs/schemas are ignored:
The catalog structure of Snowflake is automatically resolved by ScalarDB Analytics. The catalog-level objects are mapped as follows:
615
+
616
+
- Each Snowflake database-schema pair is mapped to a namespace in ScalarDB Analytics. Therefore, the namespace of the Snowflake data source always has two levels, consisting of the database name and the schema name.
617
+
- The following system databases/schemas are ignored:
618
+
- **Databases:**`SNOWFLAKE`
619
+
- **Schemas:**`INFORMATION_SCHEMA`
620
+
- The Snowflake table is mapped to the table.
621
+
- The Snowflake column is mapped to the column.
622
+
502
623
</TabItem>
503
624
<TabItemvalue="dynamodb"label="DynamoDB">
504
625
Since DynamoDB is schema-less, you need to specify the catalog structure explicitly when registering a DynamoDB data source by using the following format JSON:
@@ -670,6 +791,43 @@ Columns with data types that are not included in the mapping tables below will b
670
791
|`smalldatetime`|`TIMESTAMP`|
671
792
|`datetimeoffset`|`TIMESTAMPTZ`|
672
793
794
+
</TabItem>
795
+
<TabItemvalue="databricks"label="Databricks">
796
+
797
+
|**Databricks SQL Data Type**|**ScalarDB Analytics Data Type**|
0 commit comments