The community member is experiencing an error while using a query engine over an SQL database and is seeking a resolution. They have used the SQLTable schema from the llamaindex objects module to define the schema. Other community members suggest that the issue may be related to the schemas not matching between the different parts of the system. They advise the original poster to verify the schema and ensure it is correct. The community members also recommend following a tutorial on using SQLIndexDemo from the llamaindex documentation, which includes a Colab link to try it directly. However, the original poster notes that the tutorial does not show how to use a custom schema.
I am getting this error while using query engine over sql database for some of the queries. How can i resolve this. For defining schema I have used SQLTable schema from llamaindex objects module
@WhiteFang_Jr Yes but I have picked schema using sqlTableSchema module of llamaindex. Doesn't it take schema automatically or I have to provide in context by myself?