Skip to content

Commit 337eb50

Browse files
authored
V1.4.0 pr.preview (#27)
* Updated README with the badges * Added SECURITY.MD file to the repository * Removed debug logs from adapter * Updated version. * Updated version. * Updated version & READ.ME file pointing to proper links
1 parent 5872cbd commit 337eb50

File tree

5 files changed

+45
-16
lines changed

5 files changed

+45
-16
lines changed

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ E.g. version 1.1.x of the adapter will be compatible with dbt-core 1.1.x.
99

1010
We've bundled all documentation on the dbt docs site:
1111
TODO
12-
* [Profile setup & authentication](https://docs.getdbt.com/reference/warehouse-profiles/mssql-profile)
13-
* [Adapter documentation, usage and important notes](https://docs.getdbt.com/reference/resource-configs/mssql-configs)
12+
* [Profile setup & authentication](https://docs-getdbt-com.netlify.app/reference/warehouse-setups/fabric-setup)
13+
* [Adapter documentation, usage and important notes](https://docs-getdbt-com.netlify.app/reference/resource-configs/fabric-configs)
1414

1515
## Installation
1616

@@ -31,18 +31,12 @@ sudo apt-get install -y unixodbc-dev
3131
</p>
3232
</details>
3333

34-
Latest version: ![PyPI](https://img.shields.io/pypi/v/dbt-fabric?label=latest%20stable&logo=pypi): TODO
34+
Latest version: ![PyPI](https://img.shields.io/pypi/v/dbt-fabric?label=latest&logo=pypi)
3535

3636
```shell
3737
pip install -U dbt-fabric
3838
```
3939

40-
Latest pre-release: ![GitHub tag (latest SemVer pre-release)](https://img.shields.io/github/v/tag/microsoft/dbt-fabric?include_prereleases&label=latest%20pre-release&logo=pypi): TODO
41-
42-
```shell
43-
pip install -U --pre dbt-fabric
44-
```
45-
4640
## Changelog
4741

4842
See [the changelog](CHANGELOG.md)

SECURITY.MD

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.8 BLOCK -->
2+
3+
## Security
4+
5+
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
6+
7+
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below.
8+
9+
## Reporting Security Issues
10+
11+
**Please do not report security vulnerabilities through public GitHub issues.**
12+
13+
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).
14+
15+
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
16+
17+
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).
18+
19+
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
20+
21+
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22+
* Full paths of source file(s) related to the manifestation of the issue
23+
* The location of the affected source code (tag/branch/commit or direct URL)
24+
* Any special configuration required to reproduce the issue
25+
* Step-by-step instructions to reproduce the issue
26+
* Proof-of-concept or exploit code (if possible)
27+
* Impact of the issue, including how an attacker might exploit the issue
28+
29+
This information will help us triage your report more quickly.
30+
31+
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
32+
33+
## Preferred Languages
34+
35+
We prefer all communications to be in English.
36+
37+
## Policy
38+
39+
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd).
40+
41+
<!-- END MICROSOFT SECURITY.MD BLOCK -->

dbt/adapters/fabric/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "1.4.0-preview"
1+
version = "1.4.0-rc2"

dbt/include/fabric/macros/adapters/columns.sql

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
AND c.COLUMN_NAME <> REPLACE('{{column_name}}','"','')
6262
) T
6363
{% endset %}
64-
{{ log(generate_tmp_relation_script, info=True) }}
6564

6665
{%- set query_result = run_query(generate_tmp_relation_script) -%}
6766
{%- set query_result_text = query_result.rows[0][0] -%}
@@ -75,8 +74,6 @@
7574
AS SELECT {{query_result_text}}, CAST({{ column_name }} AS {{new_column_type}}) AS {{column_name}} FROM {{ relation.schema }}.{{ relation.identifier }}
7675
{% endset %}
7776

78-
{{ log(tempTable, info=True) }}
79-
8077
{% call statement('create_temp_table') -%}
8178
{{ tempTable }}
8279
{%- endcall %}

dbt/include/fabric/macros/adapters/relation.sql

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@
3838
path={"schema": reference[0], "identifier": reference[1]})) }}
3939
{% endfor %}
4040

41-
{{ log("Name of the relation: "~ relation.include(database=False) , info=True) }}
42-
{{ log("Type of the relation: "~ relation.type, info=True) }}
43-
4441
{% if relation.type == 'view' -%}
4542
{% set object_id_type = 'V' %}
4643
{% elif relation.type == 'table'%}

0 commit comments

Comments
 (0)