Skip to content
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

EXPLAIN output is not provided #118

Open
ghost opened this issue Dec 21, 2020 · 4 comments
Open

EXPLAIN output is not provided #118

ghost opened this issue Dec 21, 2020 · 4 comments
Assignees
Milestone

Comments

@ghost
Copy link

ghost commented Dec 21, 2020

Consider the following snippet from the Python console:

import monetdbe
conn = monetdbe.connect(‘test’)
cur = conn.cursor()
res = cur.execute(‘explain select 1’)
tbl = res.fetchall()
print(tbl)
[]

Either an exception or the table is expected.

For the case ‘trace select 1’ I miss the header and end of function, but that is less of a problem

@gijzelaerr gijzelaerr modified the milestones: 0.10, 0.11 Apr 9, 2021
@gijzelaerr gijzelaerr modified the milestones: 0.11, 0.12 Apr 30, 2021
@gijzelaerr gijzelaerr modified the milestones: 0.12, 0.11 Jun 9, 2021
@gijzelaerr
Copy link
Collaborator

I can't do much about this now, the current monetdbe Jul2021 engine returns an error:

'ParseException:SQLparser:42000!syntax error, unexpected SQL_EXPLAIN in: "prepare explain"

@njnes
Copy link
Member

njnes commented Jun 23, 2021 via email

@gijzelaerr
Copy link
Collaborator

ok then i don't know what to do with this issue for now, moving to 0.12 :)

@gijzelaerr gijzelaerr modified the milestones: 0.11, 0.12 Jun 23, 2021
@njnes
Copy link
Member

njnes commented Jun 23, 2021

First step is too have proper (table) output of explain (instead of the current directly streamed result).

gijzelaerr added a commit that referenced this issue Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants