class_docstr: Parses a INSERT query into its component parts.
  
  Parameters
  ----------
  query : ast.Insert
      Given SQL INSERT query.
  supported_columns : List[Text], Optional
      List of columns supported by the table for inserting.
  mandatory_columns : List[Text], Optional
      List of columns that must be present in the query for inserting.
  all_mandatory : Optional[Any], Optional (default=True)
      Whether all mandatory columns must be present in the query. If False, only one of the mandatory columns must be present.
code: def __init__(
      self,
      query: ast.Insert,
      supported_columns: Optional[List[Text]] = None,
      mandatory_columns: Optional[List[Text]] = None,
      all_mandatory: Optional[Any] = True,
  ):
      self.query = query
      self.supported_columns = supported_columns
      self.mandatory_columns = mandatory_columns
      self.all_mandatory = all_mandatory
  
imports: from mindsdb_sql.parser import ast
  from typing import Text, List, Dict, Any, Optional
  from .exceptions import UnsupportedColumnException, MandatoryColumnException, ColumnCountMismatchException
label_desc: Use image node_id 1 to create a new INSERTQueryParser object  with example: obj = INSERTQueryParser(query, supported_columns, mandatory_columns, all_mandatory)