Skip to content

Commit

Permalink
Update onetl/connection/db_connection/hive/connection.py
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksey Nikoalev <[email protected]>
  • Loading branch information
dolfinus and piece-of-iron committed Jan 21, 2025
1 parent 5c2fa8b commit 5a3d541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onetl/connection/db_connection/hive/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ def _target_exist(self, name: str) -> bool:

log.info("|%s| Checking if table %r exists ...", self.__class__.__name__, name)

# Do not use SELECT * FROM table, because it may fail if users have no parmissions,
# Do not use SELECT * FROM table, because it may fail if users have no permissions,
# or Hive Metastore is overloaded.
# Also we ignore VIEW's as they are not insertable.
schema, table = name.split(".", maxsplit=1)
Expand Down

0 comments on commit 5a3d541

Please sign in to comment.