dbt-adapters 1.10.2__py3-none-any.whl → 1.10.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of dbt-adapters might be problematic. Click here for more details.

dbt/adapters/__about__.py CHANGED
@@ -1 +1 @@
1
- version = "1.10.2"
1
+ version = "1.10.4"
@@ -7,6 +7,11 @@
7
7
  {% endmacro %}
8
8
 
9
9
  {% macro make_temp_relation(base_relation, suffix='__dbt_tmp') %}
10
+ {#-- This ensures microbatch batches get unique temp relations to avoid clobbering --#}
11
+ {% if suffix == '__dbt_tmp' and model.batch %}
12
+ {% set suffix = suffix ~ '_' ~ model.batch.id %}
13
+ {% endif %}
14
+
10
15
  {{ return(adapter.dispatch('make_temp_relation', 'dbt')(base_relation, suffix)) }}
11
16
  {% endmacro %}
12
17
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: dbt-adapters
3
- Version: 1.10.2
3
+ Version: 1.10.4
4
4
  Summary: The set of adapter protocols and base functionality that supports integration with dbt-core
5
5
  Project-URL: Homepage, https://github.com/dbt-labs/dbt-adapters
6
6
  Project-URL: Documentation, https://docs.getdbt.com
@@ -22,7 +22,7 @@ Classifier: Programming Language :: Python :: 3.12
22
22
  Requires-Python: >=3.9.0
23
23
  Requires-Dist: agate<2.0,>=1.0
24
24
  Requires-Dist: dbt-common<2.0,>=1.13
25
- Requires-Dist: mashumaro[msgpack]<4.0,>=3.0
25
+ Requires-Dist: mashumaro[msgpack]<3.15,>=3.9
26
26
  Requires-Dist: protobuf<6.0,>=5.0
27
27
  Requires-Dist: pytz>=2015.7
28
28
  Requires-Dist: typing-extensions<5.0,>=4.0
@@ -1,5 +1,5 @@
1
1
  dbt/__init__.py,sha256=iY4jdvOxcDhkdr5FiyOTZPHadKtMZDQ-qC6Fw6_EHPM,277
2
- dbt/adapters/__about__.py,sha256=VBmqipB-TnS8hZjmy1_C8RT99DFDNAY5eW16XdtCAvE,19
2
+ dbt/adapters/__about__.py,sha256=bFeIO5lSYNbuL203rybNxL6TQLrhFJPNO4z1NGfLhkA,19
3
3
  dbt/adapters/__init__.py,sha256=3noHsg-64qI0_Pw6OR9F7l1vU2_qrJvinq8POTtuaZM,252
4
4
  dbt/adapters/cache.py,sha256=WGy4ewnz-J13LverTACBW2iFhGswrWLgm-wiBrQnMzo,20084
5
5
  dbt/adapters/capability.py,sha256=M3FkC9veKnNB7a7uQyl7EHX_AGNXPChbHAkcY4cgXCY,2534
@@ -64,7 +64,7 @@ dbt/include/global_project/macros/adapters/freshness.sql,sha256=FKi-xsBCOYjGYp10
64
64
  dbt/include/global_project/macros/adapters/indexes.sql,sha256=DasPn32Cm0OZyjBPBWzL4BpK9PZ3xF_Pu8Nh4NgASaw,1366
65
65
  dbt/include/global_project/macros/adapters/metadata.sql,sha256=meNIc3z4lXdh1lDb-K1utKb8VzAVuN23E6XWgMZGDhQ,3512
66
66
  dbt/include/global_project/macros/adapters/persist_docs.sql,sha256=TUazJHSaMIDlELqALLRMC2kYj5DGZ9U-6K8RbgwRXw4,1369
67
- dbt/include/global_project/macros/adapters/relation.sql,sha256=18lE088vj0JZW8af2byoGLFhxYxekyXKTrX7Dj-B-E0,2809
67
+ dbt/include/global_project/macros/adapters/relation.sql,sha256=yT4YVCipxeQAjkj98rscCNt-slC8oIJXriHlkvzbkQ0,3016
68
68
  dbt/include/global_project/macros/adapters/schema.sql,sha256=XElo0cfvdEipI5hpulLXLBEXP_YnilG-1kRwDMqDD5I,594
69
69
  dbt/include/global_project/macros/adapters/show.sql,sha256=mFDQZxvvDzafTeh9v90ttks-VCjUUxbrw_YA02MV1Jk,785
70
70
  dbt/include/global_project/macros/adapters/timestamps.sql,sha256=FvPwWkmM00r9rs2DjR5wrI-U9ah3-8VMIwk5wRRzuPw,1910
@@ -157,7 +157,7 @@ dbt/include/global_project/macros/utils/right.sql,sha256=EwNG98CAFIwNDmarwopf7Rk
157
157
  dbt/include/global_project/macros/utils/safe_cast.sql,sha256=1mswwkDACmIi1I99JKb_-vq3kjMe4HhMRV70mW8Bt4Y,298
158
158
  dbt/include/global_project/macros/utils/split_part.sql,sha256=fXEIS0oIiYR7-4lYbb0QbZdG-q2TpV63AFd1ky4I5UM,714
159
159
  dbt/include/global_project/tests/generic/builtin.sql,sha256=p94xdyPwb2TlxgLBqCfrcRfJ1QNgsjPvBm8f0Q5eqZM,1022
160
- dbt_adapters-1.10.2.dist-info/METADATA,sha256=5yWQV3tST-lxVUTT96musqe-1yG9erZivDGwjxyQAoU,2553
161
- dbt_adapters-1.10.2.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
162
- dbt_adapters-1.10.2.dist-info/licenses/LICENSE,sha256=9yjigiJhWcCZvQjdagGKDwrRph58QWc5P2bVSQwXo6s,11344
163
- dbt_adapters-1.10.2.dist-info/RECORD,,
160
+ dbt_adapters-1.10.4.dist-info/METADATA,sha256=QUBqgu8bN7Lc4jjYzdEUEpk6EdewgQKa0fGNfutuTf4,2554
161
+ dbt_adapters-1.10.4.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
162
+ dbt_adapters-1.10.4.dist-info/licenses/LICENSE,sha256=9yjigiJhWcCZvQjdagGKDwrRph58QWc5P2bVSQwXo6s,11344
163
+ dbt_adapters-1.10.4.dist-info/RECORD,,