-
Notifications
You must be signed in to change notification settings - Fork 57
Add Create DashApp and create Singlestore Cloud Functions template to spaces #121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
4e3d5ea
to
de0d487
Compare
de0d487
to
e137ac3
Compare
"with open(ca_cert_path, \"wb\") as f:\n", | ||
" f.write(response.content)\n", | ||
"\n", | ||
"sql_connection_string = connection_url.replace(\"singlestoredb\", \"mysql+pymysql\")\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you pulling out the singlestoredb driver and using pymysql?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a template for dashboards and cloud functions.
%%sql doesnt work in a multi threaded manner, which is why we need to use the sqlalchemy engine with a connection pool for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still don't understand. Why doesn't SinlgeStoreDB work? PyMySQL has the exact same thread issues that the SingleStoreDB client does.
I will merge and test this |
WHAT
WHY