SelectStatementToTableTool

class hana_ai.tools.hana_ml_tools.select_statement_to_table_tools.SelectStatementToTableTool(connection_context: ConnectionContext, return_direct: bool = False)

This tool stores SelectStatement data into a HANA table.

Parameters:
connection_contextConnectionContext

Connection context to the HANA database.

Returns:
str

Operation result message

Note

args_schema is used to define the schema of the inputs as follows:

Field

Description

table_name

The name of the target table in HANA

SelectStatement_data

List of SelectStatement objects to store in the table

name: str

Name of the tool.

description: str

Description of the tool.

connection_context: ConnectionContext

Connection context to the HANA database.