Not able to insert data into table students

Hi Team,

Tried creating table students with the below query when inserting data into table getting the below error. Please suggest wht can be the reason. Runnning code in pyspark

spark.sql("""
CREATE TABLE students (
student_id INT,
student_first_name STRING,
student_last_name STRING,
student_phone_numbers ARRAY,
student_address STRUCT<street:STRING, city:STRING, state:STRING, zip:STRING>
) STORED AS TEXTFILE
ROW FORMAT
DELIMITED FIELDS TERMINATED BY ‘\t’
COLLECTION ITEMS TERMINATED BY ‘,’
MAP KEYS TERMINATED BY ‘:’
“”")

Error Message:
spark.sql(“INSERT INTO students VALUES (1, ‘Scott’, ‘Tiger’, NULL, NULL)”)
Traceback (most recent call last):
File “”, line 1, in
File “/opt/spark3-client/python/pyspark/sql/session.py”, line 649, in sql
return DataFrame(self._jsparkSession.sql(sqlQuery), self._wrapped)
File “/opt/spark3-client/python/lib/py4j-0.10.9-src.zip/py4j/java_gateway.py”, line 1305, in call
File “/opt/spark3-client/python/pyspark/sql/utils.py”, line 128, in deco
return f(*a, **kw)
File “/opt/spark3-client/python/lib/py4j-0.10.9-src.zip/py4j/protocol.py”, line 328, in get_return_value
py4j.protocol.Py4JJavaError: An error occurred while calling o37.sql.
: java.util.NoSuchElementException: None.get
at scala.None$.get(Option.scala:529)
at scala.None$.get(Option.scala:527)
at org.apache.spark.sql.execution.datasources.BasicWriteJobStatsTracker$.metrics(BasicWriteStatsTracker.scala:173)
at org.apache.spark.sql.execution.command.DataWritingCommand.metrics(DataWritingCommand.scala:51)
at org.apache.spark.sql.execution.command.DataWritingCommand.metrics$(DataWritingCommand.scala:51)
at org.apache.spark.sql.hive.execution.InsertIntoHiveTable.metrics$lzycompute(InsertIntoHiveTable.scala:69)
at org.apache.spark.sql.hive.execution.InsertIntoHiveTable.metrics(InsertIntoHiveTable.scala:69)
at org.apache.spark.sql.execution.command.DataWritingCommandExec.metrics$lzycompute(commands.scala:104)