code: def test_presto_expand_data_with_simple_structural_columns(self):
      cols = [
          {
              "column_name": "row_column",
              "name": "row_column",
              "type": "ROW(NESTED_OBJ VARCHAR)",
              "is_dttm": False,
          },
          {
              "column_name": "array_column",
              "name": "array_column",
              "type": "ARRAY(BIGINT)",
              "is_dttm": False,
          },
      ]
      data = [
          {"row_column": ["a"], "array_column": [1, 2, 3]},
          {"row_column": ["b"], "array_column": [4, 5, 6]},
      ]
      (
          actual_cols,
          actual_data,
          actual_expanded_cols,
      ) = PrestoEngineSpec.expand_data(cols, data)
      expected_cols = [
          {
              "column_name": "row_column",
              "name": "row_column",
              "type": "ROW(NESTED_OBJ VARCHAR)",
              "is_dttm": False,
          },
          {
              "column_name": "row_column.nested_obj",
              "name": "row_column.nested_obj",
              "type": "VARCHAR",
              "is_dttm": False,
          },
          {
              "column_name": "array_column",
              "name": "array_column",
              "type": "ARRAY(BIGINT)",
              "is_dttm": False,
          },
      ]
  
      expected_data = [
          {
              "array_column": 1,
              "row_column": ["a"],
              "row_column.nested_obj": "a",
          },
          {
              "array_column": 2,
              "row_column": "",
              "row_column.nested_obj": "",
          },
          {
              "array_column": 3,
              "row_column": "",
              "row_column.nested_obj": "",
          },
          {
              "array_column": 4,
              "row_column": ["b"],
              "row_column.nested_obj": "b",
          },
          {
              "array_column": 5,
              "row_column": "",
              "row_column.nested_obj": "",
          },
          {
              "array_column": 6,
              "row_column": "",
              "row_column.nested_obj": "",
          },
      ]
  
      expected_expanded_cols = [
          {
              "name": "row_column.nested_obj",
              "column_name": "row_column.nested_obj",
              "type": "VARCHAR",
              "is_dttm": False,
          }
      ]
      self.assertEqual(actual_cols, expected_cols)
      self.assertEqual(actual_data, expected_data)
      self.assertEqual(actual_expanded_cols, expected_expanded_cols)
  
imports: from collections import namedtuple
  from textwrap import dedent
  from unittest import mock, skipUnless
  import pandas
  from flask.ctx import AppContext
  from sqlalchemy import types
  from sqlalchemy.sql import select
  from superset.db_engine_specs.presto import PrestoEngineSpec
  from superset.errors import ErrorLevel, SupersetError, SupersetErrorType
  from superset.sql_parse import ParsedQuery
  from superset.utils.database import get_example_database
  from tests.integration_tests.db_engine_specs.base_tests import TestDbEngineSpec
label_desc: Use image node_id 13 for calling the TestPrestoDbEngineSpec obj's underlying member method code with example usage: obj.test_presto_expand_data_with_simple_structural_columns() without return types