From 323513755ff27c662a095d5dbb70623d18f94a6e Mon Sep 17 00:00:00 2001 From: Ayush Shah Date: Sat, 9 Oct 2021 23:36:25 +0530 Subject: [PATCH] register_custom_type import path changed (#722) --- ingestion/src/metadata/ingestion/source/hive.py | 2 +- ingestion/src/metadata/ingestion/source/snowflake.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ingestion/src/metadata/ingestion/source/hive.py b/ingestion/src/metadata/ingestion/source/hive.py index 064b331036f..125c30507d8 100644 --- a/ingestion/src/metadata/ingestion/source/hive.py +++ b/ingestion/src/metadata/ingestion/source/hive.py @@ -14,7 +14,7 @@ # limitations under the License. from typing import Optional -from metadata.utils.helpers import register_custom_type +from metadata.utils.column_helpers import register_custom_type from pyhive import hive # noqa: F401 from pyhive.sqlalchemy_hive import HiveDate, HiveDecimal, HiveTimestamp diff --git a/ingestion/src/metadata/ingestion/source/snowflake.py b/ingestion/src/metadata/ingestion/source/snowflake.py index 13530920dee..a9a4d17d5e5 100644 --- a/ingestion/src/metadata/ingestion/source/snowflake.py +++ b/ingestion/src/metadata/ingestion/source/snowflake.py @@ -22,7 +22,7 @@ from .sql_source import ( SQLSource, ) from ..ometa.openmetadata_rest import MetadataServerConfig -from metadata.utils.helpers import register_custom_type +from metadata.utils.column_helpers import register_custom_type register_custom_type(custom_types.TIMESTAMP_TZ, "TIME") register_custom_type(custom_types.TIMESTAMP_LTZ, "TIME") register_custom_type(custom_types.TIMESTAMP_NTZ, "TIME")