class_docstr: BaseSQLValidator defines the interface for checking that a given sql
  query is valid for a given database engine.
docstr: Check that the given SQL querystring is valid for the given engine
docstr_tok: ["Check","that","the","given","SQL","querystring","is","valid","for","the","given","engine"]
code: def validate(
      cls, sql: str, schema: Optional[str], database: Database
  ) -> list[SQLValidationAnnotation]:
      """Check that the given SQL querystring is valid for the given engine"""
      raise NotImplementedError
  
imports: from typing import Any, Optional
  from superset.models.core import Database
label_desc: Use image node_id 1 for calling the BaseSQLValidator obj's underlying member method code with example usage: obj.validate(cls, sql, schema, database) without return types