BaseSparkSQLTool#

class langchain_community.tools.spark_sql.tool.BaseSparkSQLTool[source]#

Bases: BaseModel

Base tool for interacting with Spark SQL.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

param db: SparkSQL [Required]#