From 7be3edd4d5ae4968dc478b0bbf568c929fa33087 Mon Sep 17 00:00:00 2001 From: Jothi Prakash Date: Thu, 3 Oct 2024 17:26:30 +0530 Subject: [PATCH] Removed unnecessory fikes --- src/databricks/sql/thrift_backend.py | 5 ----- src/databricks/sqlalchemy/pytest.ini | 4 ---- 2 files changed, 9 deletions(-) delete mode 100644 src/databricks/sqlalchemy/pytest.ini diff --git a/src/databricks/sql/thrift_backend.py b/src/databricks/sql/thrift_backend.py index e60b9db0..7f6ada9d 100644 --- a/src/databricks/sql/thrift_backend.py +++ b/src/databricks/sql/thrift_backend.py @@ -625,11 +625,6 @@ def _get_metadata_resp(self, op_handle): @staticmethod def _hive_schema_to_arrow_schema(t_table_schema): - if pyarrow is None: - raise ImportError( - "pyarrow is required to convert Hive schema to Arrow schema" - ) - def map_type(t_type_entry): if t_type_entry.primitiveEntry: return { diff --git a/src/databricks/sqlalchemy/pytest.ini b/src/databricks/sqlalchemy/pytest.ini deleted file mode 100644 index ab89d17d..00000000 --- a/src/databricks/sqlalchemy/pytest.ini +++ /dev/null @@ -1,4 +0,0 @@ - -[sqla_testing] -requirement_cls=databricks.sqlalchemy.requirements:Requirements -profile_file=profiles.txt