-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Support the tck format for the output of EXPLAIN #5274
Comments
ref: other existing formats https://docs.nebula-graph.io/3.3.0/3.ngql-guide/17.query-tuning-statements/1.explain-and-profile/ |
Hello, has the task been assigned? If not, can I try it? |
Welcome! |
Feel free to take it @AntiTopQuark, don't hesitate to ask for helps here :) |
thx~I will try my best to do this well. |
hi i am new to open source and want to contribute to this issue can you please explain and guide me about this issue |
I'm very sorry, but this task has been assigned to me. May I ask if you have already started. |
|
I'm very sorry, I've been a bit busy for a while and I've only just finished this pr. Thank you very much! |
So |
Thank you very much for your response. I would like to confirm the behavior of this requirement again. @xtcyclist @jievince
|
I think the format @AntiTopQuark @xtcyclist @Shylock-Hg , What do you think? |
Yes, I agree with @jievince. The motivation of this issue is to make it easier for developers to add tck test cases like the following. Currently, a developer has to manually write the contents following the exact format so that the test case could be recognized by the tck python script. This is very time consuming for complex queries. One has to write more than ~10 lines of the execution plan with the names of all the operators and even some execution contexts in json-like format.
|
@xtcyclist @jievince Next, I would like to look at the relevant source code of tck testing to determine which specific information will be compared when performing the tck test. Then, I can determine what information needs to be printed when format='tck' is specified. I expect to complete this task by this weekend. |
The operator info written in |
@jievince @xtcyclist @Shylock-Hg My current results are shown in the following figure. Currently,
Thank you in advance for your answer.
|
An idea from @Shylock-Hg
In the nebula-console, when explaining the query, support the specification of the tck format, so that the generated outputs could be used in tck feature files directly.
The text was updated successfully, but these errors were encountered: