From a45ba89dd1951d04072fe51ae2d960adb5aa736e Mon Sep 17 00:00:00 2001 From: ckunki Date: Mon, 13 Jan 2025 09:39:20 +0100 Subject: [PATCH] #245: Removed last references to `exasol_bucketfs_utils_python` --- doc/changes/unreleased.md | 1 + doc/user_guide/example-udf-script/create.sql | 2 +- .../graph/stage/sql/sql_stage_query_handler.py | 6 ++---- pyproject.toml | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/doc/changes/unreleased.md b/doc/changes/unreleased.md index 3d7197a9..e790d2e0 100644 --- a/doc/changes/unreleased.md +++ b/doc/changes/unreleased.md @@ -3,3 +3,4 @@ ## Refactorings * #224: Replaced references to old BucketFS API with new API +* #245: Removed last references to `exasol_bucketfs_utils_python` diff --git a/doc/user_guide/example-udf-script/create.sql b/doc/user_guide/example-udf-script/create.sql index 3ac5c94c..23b7ffe7 100644 --- a/doc/user_guide/example-udf-script/create.sql +++ b/doc/user_guide/example-udf-script/create.sql @@ -9,7 +9,7 @@ from exasol.analytics.query_handler.context.query_handler_context import QueryHa from exasol.analytics.query_handler.query.result.interface import QueryResult from exasol.analytics.query_handler.result import Result, Continue, Finish from exasol.analytics.query_handler.query.select import SelectQuery, SelectQueryWithColumnDefinition -from exasol.analytics.query_handler.context.proxy.bucketfs_location_proxy import BucketFSLocationProxy +from exasol.analytics.query_handler.context.proxy.bucketfs_location_proxy import BucketFSLocationProxy from exasol.analytics.schema import ( Column, ColumnType, diff --git a/exasol/analytics/query_handler/graph/stage/sql/sql_stage_query_handler.py b/exasol/analytics/query_handler/graph/stage/sql/sql_stage_query_handler.py index ffbdb460..6fc7b6e0 100644 --- a/exasol/analytics/query_handler/graph/stage/sql/sql_stage_query_handler.py +++ b/exasol/analytics/query_handler/graph/stage/sql/sql_stage_query_handler.py @@ -2,9 +2,7 @@ from abc import ABC from typing import List, Sized -from exasol_bucketfs_utils_python.abstract_bucketfs_location import ( - AbstractBucketFSLocation, -) +import exasol.bucketfs as bfs from exasol.analytics.query_handler.graph.stage.sql.input_output import ( SQLStageInputOutput, @@ -19,7 +17,7 @@ def is_empty(obj: Sized): @dataclasses.dataclass(eq=True) class SQLStageQueryHandlerInput: sql_stage_inputs: List[SQLStageInputOutput] - result_bucketfs_location: AbstractBucketFSLocation + result_bucketfs_location: bfs.path.PathLike def __post_init__(self): if is_empty(self.sql_stage_inputs): diff --git a/pyproject.toml b/pyproject.toml index 44ce7601..46ad8fe8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,7 +59,7 @@ build-backend = "poetry.core.masonry.api" module = [ "pandas.*", "exasol.bucketfs.*", "pyexasol.*", "exasol.pytnsion_common.*", "networkx.*", "exasol_udf_mock_python.*", "joblib.*", - "exasol.python_extension_common.*", "exasol_bucketfs_utils_python.*", ] + "exasol.python_extension_common.*", ] ignore_missing_imports = true