From ae89519c1f8cc6570548e1f2c674c0c1a5bdc3f2 Mon Sep 17 00:00:00 2001 From: Yifei Wang Date: Sat, 25 Nov 2023 18:00:06 -0500 Subject: [PATCH] mock object unsubscripable error --- evadb/models/storage/batch.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/evadb/models/storage/batch.py b/evadb/models/storage/batch.py index 893a218da..30f9d2228 100644 --- a/evadb/models/storage/batch.py +++ b/evadb/models/storage/batch.py @@ -13,7 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. from datetime import datetime -from decimal import Decimal from typing import Callable, Iterable, List, TypeVar, Union import numpy as np @@ -502,7 +501,6 @@ def deduce_and_map_type(element, check_type): str: NdArrayType.STR, # Python's str maps to np.str_ bytes: NdArrayType.UINT8, # Python's bytes type maps to np.uint8 (common for byte data) complex: NdArrayType.FLOAT64, # Python's complex type maps to np.float64 (real part) - Decimal: NdArrayType.DECIMAL, # Decimal maps to a Decimal type in your NdArrayType datetime: NdArrayType.DATETIME, # datetime maps to np.datetime64 np.int8: NdArrayType.INT8, np.uint8: NdArrayType.UINT8,