[{'Text': 'import snowflake.connector\nfrom dotenv import load_dotenv\nimport os\nimport re\nimport time\n\n\ndef split_sql_statements(sql: str) -> list[str]:\n    """\n    Split SQL on semicolons that are not inside line comments (--), block comments (/* */),\n    single-quoted strings (\'\' escape), or double-quoted delimited identifiers ("" escape).\n    """\n    parts: list[str] = []\n    current: list[str] = []\n    i = 0\n    n = len(sql)\n    # normal | line_comment | block_comment | squote | dquote\n    state = "normal"\n\n    while i < n:\n        c = sql[i]\n        if state == "normal":\n            if c == "-" and i + 1 < n and sql[i + 1] == "-":\n                state = "line_comment"\n                current.append(c)\n                current.append(sql[i + 1])\n                i += 2\n                continue\n            if c == "/" and i + 1 < n and sql[i + 1] == "*":\n                state = "block_comment"\n                current.append(c)\n                current.append(sql[i + 1])\n                i += 2\n                continue\n            if c == "\'":\n                state = "squote"\n                current.append(c)\n                i += 1\n                continue\n            if c == \'"\':\n                state = "dquote"\n                current.append(c)\n                i += 1\n                continue\n            if c == ";":\n                parts.append("".join(current))\n                current = []\n                i += 1\n                continue\n            current.append(c)\n'}]