code: def test_hierarchical(self, mock_handler):
      # create project
      self.run_sql("create database proj")
      df = pd.read_csv(
          "tests/unit/ml_handlers/data/house_sales.csv"
      )  # comes mindsdb docs forecast example
      self.set_handler(mock_handler, name="pg", tables={"df": df})
  
      self.run_sql(
          """
             create model proj.model_1_group
             from pg (select * from df)
             predict ma
             order by saledate
             group by type, bedrooms
             horizon 4
             window 8
             using
               engine='neuralforecast',
               hierarchy=['type', 'bedrooms'],
               train_time=0.01
          """
      )
      self.wait_predictor("proj", "model_1_group")
  
      # run predict
      mindsdb_result_hier = self.run_sql(
          """
             SELECT p.*
             FROM pg.df as t
             JOIN proj.model_1_group as p
             where t.type='house'
          """
      )
      assert len(list(round(mindsdb_result_hier["ma"])))
  
      describe_result = self.run_sql(
          "describe proj.model_1_group.model"
      )
      assert describe_result["hierarchy"][0] == ["type", "bedrooms"]
  
file_path: mindsdb/tests/unit/ml_handlers/test_neuralforecast.py
imports: import time
  import pytest
  from unittest.mock import patch
  import pandas
  from mindsdb_sql import parse_sql
  from tests.unit.ml_handlers.test_time_series_utils import create_mock_df
  from tests.unit.executor_test_base import BaseExecutorTest
label_desc: Use image node_id 5 for calling the TestNeuralForecast obj's underlying member method code with example usage: obj.test_hierarchical(mock_handler) without return types