Skip to content

Commit

Permalink
Merge branch 'current' into jeremyyeo-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Jan 18, 2024
2 parents c6fc915 + 46fe8d4 commit 68838a1
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
5 changes: 4 additions & 1 deletion website/docs/docs/core/connect-data-platform/fabric-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,15 @@ If you already have ODBC Driver 17 installed, then that one will work as well.

#### Supported configurations

* The adapter is tested with Microsoft Fabric Synapse Data Warehouse.
* The adapter is tested with Microsoft Fabric Synapse Data Warehouses (also referred to as Warehouses).
* We test all combinations with Microsoft ODBC Driver 17 and Microsoft ODBC Driver 18.
* The collations we run our tests on are `Latin1_General_100_BIN2_UTF8`.

The adapter support is not limited to the matrix of the above configurations. If you notice an issue with any other configuration, let us know by opening an issue on [GitHub](https://github.com/microsoft/dbt-fabric).

##### Unsupported configurations
SQL analytics endpoints are read-only and so are not appropriate for Transformation workloads, use a Warehouse instead.

## Authentication methods & profile configuration

### Common configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Please make sure to take a look at the [SQL expressions section](#sql-expression
- [type\_numeric](#type_numeric)
- [type\_string](#type_string)
- [type\_timestamp](#type_timestamp)
- [current\_timestamp](#current_timestamp)
- [Set functions](#set-functions)
- [except](#except)
- [intersect](#intersect)
Expand Down Expand Up @@ -76,6 +77,7 @@ Please make sure to take a look at the [SQL expressions section](#sql-expression
- [type\_numeric](#type_numeric)
- [type\_string](#type_string)
- [type\_timestamp](#type_timestamp)
- [current\_timestamp](#current_timestamp)
- [Set functions](#set-functions)
- [except](#except)
- [intersect](#intersect)
Expand Down Expand Up @@ -316,6 +318,29 @@ This macro yields the database-specific data type for a `TIMESTAMP` (which may o
TIMESTAMP
```

### current_timestamp

This macro returns the current date and time for the system. Depending on the adapter:

- The result may be an aware or naive timestamp.
- The result may correspond to the start of the statement or the start of the transaction.


**Args**
- None

**Usage**
- You can use the `current_timestamp()` macro within your dbt SQL files like this:

```sql
{{ dbt.current_timestamp() }}
```
**Sample output (PostgreSQL)**

```sql
now()
```

## Set functions

### except
Expand Down

0 comments on commit 68838a1

Please sign in to comment.