From 738b30192333b3d36a510f3fe6d1d9f247e7a220 Mon Sep 17 00:00:00 2001 From: Tishj Date: Fri, 19 Apr 2024 11:15:22 +0200 Subject: [PATCH] remove NULL_KEY_LIST error from numpy scan --- tools/pythonpkg/src/numpy/numpy_scan.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/pythonpkg/src/numpy/numpy_scan.cpp b/tools/pythonpkg/src/numpy/numpy_scan.cpp index 032d3b97f014..b4b1d3dbe276 100644 --- a/tools/pythonpkg/src/numpy/numpy_scan.cpp +++ b/tools/pythonpkg/src/numpy/numpy_scan.cpp @@ -153,8 +153,6 @@ static void VerifyMapConstraints(Vector &vec, idx_t count) { return; case MapInvalidReason::DUPLICATE_KEY: throw InvalidInputException("Dict->Map conversion failed because 'key' list contains duplicates"); - case MapInvalidReason::NULL_KEY_LIST: - throw InvalidInputException("Dict->Map conversion failed because 'key' list is None"); case MapInvalidReason::NULL_KEY: throw InvalidInputException("Dict->Map conversion failed because 'key' list contains None"); default: