Skip to content

Commit 2695bf6

Browse files
committed
[DOP-15023] Prepare for release
1 parent e27ad39 commit 2695bf6

File tree

8 files changed

+26
-8
lines changed

8 files changed

+26
-8
lines changed

docs/changelog/0.1.5.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
0.1.5 (2024-04-22)
2+
==================
3+
4+
Breaking Changes
5+
----------------
6+
7+
- Pass current ``Run`` to ``CREATE_SPARK_SESSION_FUNCTION``. This allows using run/transfer/group information for Spark session options,
8+
like ``appName`` or custom ones. (:issue:`38`)
9+
10+
11+
Improvements
12+
------------
13+
14+
- Reduce backend image size (:issue:`44`)
15+
16+
17+
Bug Fixes
18+
---------
19+
20+
- Fix 500 error in case of ``PATCH v1/connections/:id`` request with passed ``auth_data.password`` field value (:issue:`39`)
21+
- Do not use ``asyncio.gather`` with SQLAlchemy requests (:issue:`40`)
22+
- Fix 500 error while creating HDFS connection (:issue:`41`)
23+
- Fix missing ``options`` field from Transfer params with ``hdfs`` and ``s3`` type (:issue:`39`)

docs/changelog/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
:caption: Changelog
44

55
DRAFT
6+
0.1.5
67
0.1.4
78
0.1.3
89
0.1.2

docs/changelog/next_release/38.breaking.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

docs/changelog/next_release/39.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/changelog/next_release/40.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/changelog/next_release/41.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/changelog/next_release/44.improvement.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

syncmaster/worker/spark.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
import logging
66
from typing import TYPE_CHECKING
77

8-
from onetl.connection import Oracle, Postgres, SparkS3
9-
108
from syncmaster.config import Settings
119
from syncmaster.db.models import Run
1210
from syncmaster.dto.connections import ConnectionDTO
@@ -40,6 +38,8 @@ def get_worker_spark_session(
4038

4139

4240
def get_packages(db_type: str) -> list[str]:
41+
from onetl.connection import Oracle, Postgres, SparkS3
42+
4343
if db_type == "postgres":
4444
return Postgres.get_packages()
4545
if db_type == "oracle":

0 commit comments

Comments
 (0)