-
Notifications
You must be signed in to change notification settings - Fork 87
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
Cannot create table #84
Comments
You need to call |
The SSL warnings is unrelated to your issue. |
Did you expect |
It should execute the CREATE TABLE synchronously like other database modules. currently cur.fetchone() has to be given as a workaround to run the create table statement or any other insert statements. |
I agree with @subbareddydagumati in that other DB API implementations do not require Could something similar be implemented in the Presto client? |
At first, i ran the code as showed below, it's ok, but with warnings:
but when i run the code using create table or drop table , it comes out nothing!!!:
output:
<prestodb.client.PrestoResult at 0x4a23358>
output:
<prestodb.client.PrestoResult at 0x4a1a898>
output:
by the way, i modify the code only to let
verify=False
,when the presto platform receive code not like 'select' ,the presto system will use hive to execute the code such as create table or drop table in my company.
The text was updated successfully, but these errors were encountered: