Skip to content

Commit e6fab9d

Browse files
fixing error message
1 parent b4e4785 commit e6fab9d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/snowflake/snowpark/catalog.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
import re
77
from typing import List, Optional, Union
88

9-
from snowflake.core import view
10-
119
from snowflake.snowpark._internal.analyzer.analyzer_utils import unquote_if_quoted
1210
from snowflake.snowpark.exceptions import SnowparkSQLException
1311

@@ -459,7 +457,7 @@ def get_view(
459457
)[0]
460458
except IndexError:
461459
raise NotFoundError(
462-
f"View with name {view} could not be found in schema '{db_name}.{schema_name}'"
460+
f"View with name {view_name} could not be found in schema '{db_name}.{schema_name}'"
463461
)
464462

465463
def get_procedure(

0 commit comments

Comments
 (0)