Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
sql extension error #699
Thanks for your comments. Now, I have correct setup with quickstart and can run double_sum function (as quickstart). However, when I try the sql function like "=sql("SELECT a.x from a",A1:B3)". I got the below error:
"OperationalError: no such table: a
I think I found out what's wrong.
When I use "=sql("select * from B",A1:B10)", it works.
It seems that the table name depends on the table columns I selected.
I check sql.py. It seems that the index "i" is repeated to be used.
When I change "for i in range(len(cols))" to "for x in range(len(cols))", it runs as the docs. It's prefect now.
Thanks for the great tool.