code: def _open_adbc_connection(connection_uri: str) -> Any:
      driver_name = connection_uri.split(":", 1)[0].lower()
  
      # map uri prefix to module when not 1:1
      module_suffix_map: dict[str, str] = {
          "postgres": "postgresql",
      }
      try:
          module_suffix = module_suffix_map.get(
              driver_name, driver_name
          )
          module_name = f"adbc_driver_{module_suffix}.dbapi"
          import_module(module_name)
          adbc_driver = sys.modules[module_name]
      except ImportError:
          raise ModuleNotFoundError(
              f"ADBC {driver_name} driver not detected"
              f"\n\nIf ADBC supports this database, please run: pip install adbc-driver-{driver_name} pyarrow"
          ) from None
  
      # some backends require the driver name to be stripped from the URI
      if driver_name in ("sqlite", "snowflake"):
          connection_uri = re.sub(
              f"^{driver_name}:/{{,3}}", "", connection_uri
          )
  
      return adbc_driver.connect(connection_uri)
  
imports: from __future__ import annotations
  import re
  import sys
  from importlib import import_module
  from inspect import Parameter, signature
  from typing import TYPE_CHECKING, Any, Iterable, Literal, Sequence, TypedDict, overload
  from polars.convert import from_arrow
  from polars.exceptions import InvalidOperationError, UnsuitableSQLError
  from polars.utils.deprecation import issue_deprecation_warning
label_desc: Use image node_id 7 for calling a global function with example usage: _open_adbc_connection(connection_uri) and returns: adbc_driver