code: def test_load_feature_definition_unsupported_types(
      sagemaker_session_mock,
  ):
      feature_group = FeatureGroup(
          name="FailedGroup", sagemaker_session=sagemaker_session_mock
      )
      df = pd.DataFrame(
          {
              "float": pd.Series([2.0], dtype="float64"),
              "int": pd.Series([2], dtype="int64"),
              "bool": pd.Series([True], dtype="bool"),
          }
      )
      with pytest.raises(ValueError) as error:
          feature_group.load_feature_definitions(data_frame=df)
      assert (
          "Failed to infer Feature type based on dtype bool for column bool."
          in str(error)
      )
  
imports: from __future__ import absolute_import
  import pandas
  import pytest
  from mock import Mock, patch, MagicMock
  from botocore.exceptions import ProfileNotFound
  from sagemaker.feature_store.feature_definition import FractionalFeatureDefinition, IntegralFeatureDefinition, StringFeatureDefinition, FeatureTypeEnum, VectorCollectionType, SetCollectionType, ListCollectionType
  from sagemaker.feature_store.feature_group import FeatureGroup, IngestionManagerPandas, AthenaQuery, IngestionError
  from sagemaker.feature_store.inputs import FeatureParameter, DeletionModeEnum, TtlDuration, OnlineStoreConfigUpdate, OnlineStoreStorageTypeEnum
  from tests.unit import SAGEMAKER_CONFIG_FEATURE_GROUP
label_desc: Use image node_id 27 for calling a global function with example usage: test_load_feature_definition_unsupported_types(sagemaker_session_mock) without return types