register_custom_type import path changed (#722)

This commit is contained in:
Ayush Shah 2021-10-09 23:36:25 +05:30 committed by GitHub
parent 319f7a795c
commit 323513755f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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")