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

Added new output modes for shell #4053

Merged
merged 12 commits into from
Aug 12, 2024
Merged

Added new output modes for shell #4053

merged 12 commits into from
Aug 12, 2024

Conversation

MSebanc
Copy link
Collaborator

@MSebanc MSebanc commented Aug 9, 2024

Description

Added 12 new output modes for the shell and the ability to toggle the query statistics printed with the tables. Both can be set via flags or : commands

kuzu> :mode
Available output modes:
    box (default):    Tables using unicode box-drawing characters
    column:    Output in columns
    csv:    Comma-separated values
    html:    HTML table
    json:    Results in a JSON array
    jsonlines:    Results in a NDJSON format
    latex:    LaTeX tabular environment code
    line:    One value per line
    list:    Values delimited by "|"
    markdown:    Markdown table
    table:    Tables using ASCII characters
    tsv:    Tab-separated values
    trash:    No output

Box:

kuzu> :mode box
mode set as box
kuzu> RETURN "Databases Rule" AS a, "kuzu is cool" AS b;
┌────────────────┬──────────────┐
│ a              │ b            │
│ STRING         │ STRING       │
├────────────────┼──────────────┤
│ Databases Rule │ kuzu is cool │
└────────────────┴──────────────┘

Column:

kuzu> :mode column
mode set as column
kuzu> match (p:person) return p.*;
  p.ID    p.fName                p.gender   p.isStudent   p.isWorker   p.age   ...   p.usedNames            p.courseScoresPer...   p.grades         p.height   p.u                   
  INT64   STRING                 INT64      BOOL          BOOL         INT64         STRING[]               INT64[][]              INT64[4]         FLOAT      UUID                  
 ------- ---------------------- ---------- ------------- ------------ ------- ----- ---------------------- ---------------------- ---------------- ---------- ----------------------
  0       Alice                  1          True          False        35      ...   [Aida]                 [[10,8],[6,7,8]]       [96,54,86,92]    1.731000   a0eebc99-9c0b-4ef...  
  2       Bob                    2          True          False        30      ...   [Bobby]                [[8,9],[9,10]]         [98,42,93,88]    0.990000   a0eebc99-9c0b-4ef...  
  3       Carol                  1          False         True         45      ...   [Carmen,Fred]          [[8,10]]               [91,75,21,95]    1.000000   a0eebc99-9c0b-4ef...  
  5       Dan                    2          False         True         20      ...   [Wolfeschlegelste...   [[7,4],[8,8],[9]]      [76,88,99,89]    1.300000   a0eebc99-9c0b-4ef...  
  7       Elizabeth              1          False         True         20      ...   [Ein]                  [[6],[7],[8]]          [96,59,65,88]    1.463000   a0eebc99-9c0b-4ef...  
  8       Farooq                 2          True          False        25      ...   [Fesdwe]               [[8]]                  [80,78,34,83]    1.510000   a0eebc99-9c0b-4ef...  
  9       Greg                   2          False         False        40      ...   [Grad]                 [[10]]                 [43,83,67,43]    1.600000   a0eebc99-9c0b-4ef...  
  10      Hubert Blaine Wol...   2          False         True         83      ...   [Ad,De,Hi,Kye,Orlan]   [[7],[10],[6,7]]       [77,64,100,54]   1.323000   a0eebc99-9c0b-4ef...  

CSV:

kuzu> :mode csv
mode set as csv
kuzu> match (p:person) return p.*;
p.ID,p.fName,p.gender,p.isStudent,p.isWorker,p.age,p.eyeSight,p.birthdate,p.registerTime,p.lastJobDuration,p.workedHours,p.usedNames,p.courseScoresPerTerm,p.grades,p.height,p.u
0,Alice,1,True,False,35,5.000000,1900-01-01,2011-08-20 11:25:30,3 years 2 days 13:02:00,[10,5],[Aida],[[10,8],[6,7,8]],[96,54,86,92],1.731000,a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11
2,Bob,2,True,False,30,5.100000,1900-01-01,2008-11-03 15:25:30.000526,10 years 5 months 13:00:00.000024,[12,8],[Bobby],[[8,9],[9,10]],[98,42,93,88],0.990000,a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a12
3,Carol,1,False,True,45,5.000000,1940-06-22,1911-08-20 02:32:21,48:24:11,[4,5],[Carmen,Fred],[[8,10]],[91,75,21,95],1.000000,a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a13
5,Dan,2,False,True,20,4.800000,1950-07-23,2031-11-30 12:25:30,10 years 5 months 13:00:00.000024,[1,9],[Wolfeschlegelstein,Daniel],[[7,4],[8,8],[9]],[76,88,99,89],1.300000,a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a14
7,Elizabeth,1,False,True,20,4.700000,1980-10-26,1976-12-23 11:21:42,48:24:11,[2],[Ein],[[6],[7],[8]],[96,59,65,88],1.463000,a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a15
8,Farooq,2,True,False,25,4.500000,1980-10-26,1972-07-31 13:22:30.678559,00:18:00.024,[3,4,5,6,7],[Fesdwe],[[8]],[80,78,34,83],1.510000,a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a16
9,Greg,2,False,False,40,4.900000,1980-10-26,1976-12-23 04:41:42,10 years 5 months 13:00:00.000024,[1],[Grad],[[10]],[43,83,67,43],1.600000,a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a17
10,Hubert Blaine Wolfeschlegelsteinhausenbergerdorff,2,False,True,83,4.900000,1990-11-27,2023-02-21 13:25:30,3 years 2 days 13:02:00,[10,11,12,3,4,5,6,7],[Ad,De,Hi,Kye,Orlan],[[7],[10],[6,7]],[77,64,100,54],1.323000,a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a18

HTML:

kuzu> :mode html
mode set as html
kuzu> match (p:person) return p.*;
<table>
<tr>
<th>p.ID</th><th>p.fName</th><th>p.gender</th><th>p.isStudent</th><th>p.isWorker</th><th>p.age</th><th>p.eyeSight</th><th>p.birthdate</th><th>p.registerTime</th><th>p.lastJobDuration</th><th>p.workedHours</th><th>p.usedNames</th><th>p.courseScoresPerTerm</th><th>p.grades</th><th>p.height</th><th>p.u</th></tr>
<tr>
<td>0</td><td>Alice</td><td>1</td><td>True</td><td>False</td><td>35</td><td>5.000000</td><td>1900-01-01</td><td>2011-08-20 11:25:30</td><td>3 years 2 days 13:02:00</td><td>[10,5]</td><td>[Aida]</td><td>[[10,8],[6,7,8]]</td><td>[96,54,86,92]</td><td>1.731000</td><td>a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11</td></tr>
<tr>
<td>2</td><td>Bob</td><td>2</td><td>True</td><td>False</td><td>30</td><td>5.100000</td><td>1900-01-01</td><td>2008-11-03 15:25:30.000526</td><td>10 years 5 months 13:00:00.000024</td><td>[12,8]</td><td>[Bobby]</td><td>[[8,9],[9,10]]</td><td>[98,42,93,88]</td><td>0.990000</td><td>a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a12</td></tr>
<tr>
<td>3</td><td>Carol</td><td>1</td><td>False</td><td>True</td><td>45</td><td>5.000000</td><td>1940-06-22</td><td>1911-08-20 02:32:21</td><td>48:24:11</td><td>[4,5]</td><td>[Carmen,Fred]</td><td>[[8,10]]</td><td>[91,75,21,95]</td><td>1.000000</td><td>a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a13</td></tr>
<tr>
<td>5</td><td>Dan</td><td>2</td><td>False</td><td>True</td><td>20</td><td>4.800000</td><td>1950-07-23</td><td>2031-11-30 12:25:30</td><td>10 years 5 months 13:00:00.000024</td><td>[1,9]</td><td>[Wolfeschlegelstein,Daniel]</td><td>[[7,4],[8,8],[9]]</td><td>[76,88,99,89]</td><td>1.300000</td><td>a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a14</td></tr>
<tr>
<td>7</td><td>Elizabeth</td><td>1</td><td>False</td><td>True</td><td>20</td><td>4.700000</td><td>1980-10-26</td><td>1976-12-23 11:21:42</td><td>48:24:11</td><td>[2]</td><td>[Ein]</td><td>[[6],[7],[8]]</td><td>[96,59,65,88]</td><td>1.463000</td><td>a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a15</td></tr>
<tr>
<td>8</td><td>Farooq</td><td>2</td><td>True</td><td>False</td><td>25</td><td>4.500000</td><td>1980-10-26</td><td>1972-07-31 13:22:30.678559</td><td>00:18:00.024</td><td>[3,4,5,6,7]</td><td>[Fesdwe]</td><td>[[8]]</td><td>[80,78,34,83]</td><td>1.510000</td><td>a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a16</td></tr>
<tr>
<td>9</td><td>Greg</td><td>2</td><td>False</td><td>False</td><td>40</td><td>4.900000</td><td>1980-10-26</td><td>1976-12-23 04:41:42</td><td>10 years 5 months 13:00:00.000024</td><td>[1]</td><td>[Grad]</td><td>[[10]]</td><td>[43,83,67,43]</td><td>1.600000</td><td>a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a17</td></tr>
<tr>
<td>10</td><td>Hubert Blaine Wolfeschlegelsteinhausenbergerdorff</td><td>2</td><td>False</td><td>True</td><td>83</td><td>4.900000</td><td>1990-11-27</td><td>2023-02-21 13:25:30</td><td>3 years 2 days 13:02:00</td><td>[10,11,12,3,4,5,6,7]</td><td>[Ad,De,Hi,Kye,Orlan]</td><td>[[7],[10],[6,7]]</td><td>[77,64,100,54]</td><td>1.323000</td><td>a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a18</td></tr>
</table>

JSON:

kuzu> :mode json
mode set as json
kuzu> match (p:person) return p.*;
[{"p.ID":"0","p.fName":"Alice","p.gender":"1","p.isStudent":"True","p.isWorker":"False","p.age":"35","p.eyeSight":"5.000000","p.birthdate":"1900-01-01","p.registerTime":"2011-08-20 11:25:30","p.lastJobDuration":"3 years 2 days 13:02:00","p.workedHours":"[10,5]","p.usedNames":"[Aida]","p.courseScoresPerTerm":"[[10,8],[6,7,8]]","p.grades":"[96,54,86,92]","p.height":"1.731000","p.u":"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"},
{"p.ID":"2","p.fName":"Bob","p.gender":"2","p.isStudent":"True","p.isWorker":"False","p.age":"30","p.eyeSight":"5.100000","p.birthdate":"1900-01-01","p.registerTime":"2008-11-03 15:25:30.000526","p.lastJobDuration":"10 years 5 months 13:00:00.000024","p.workedHours":"[12,8]","p.usedNames":"[Bobby]","p.courseScoresPerTerm":"[[8,9],[9,10]]","p.grades":"[98,42,93,88]","p.height":"0.990000","p.u":"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a12"},
{"p.ID":"3","p.fName":"Carol","p.gender":"1","p.isStudent":"False","p.isWorker":"True","p.age":"45","p.eyeSight":"5.000000","p.birthdate":"1940-06-22","p.registerTime":"1911-08-20 02:32:21","p.lastJobDuration":"48:24:11","p.workedHours":"[4,5]","p.usedNames":"[Carmen,Fred]","p.courseScoresPerTerm":"[[8,10]]","p.grades":"[91,75,21,95]","p.height":"1.000000","p.u":"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a13"},
{"p.ID":"5","p.fName":"Dan","p.gender":"2","p.isStudent":"False","p.isWorker":"True","p.age":"20","p.eyeSight":"4.800000","p.birthdate":"1950-07-23","p.registerTime":"2031-11-30 12:25:30","p.lastJobDuration":"10 years 5 months 13:00:00.000024","p.workedHours":"[1,9]","p.usedNames":"[Wolfeschlegelstein,Daniel]","p.courseScoresPerTerm":"[[7,4],[8,8],[9]]","p.grades":"[76,88,99,89]","p.height":"1.300000","p.u":"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a14"},
{"p.ID":"7","p.fName":"Elizabeth","p.gender":"1","p.isStudent":"False","p.isWorker":"True","p.age":"20","p.eyeSight":"4.700000","p.birthdate":"1980-10-26","p.registerTime":"1976-12-23 11:21:42","p.lastJobDuration":"48:24:11","p.workedHours":"[2]","p.usedNames":"[Ein]","p.courseScoresPerTerm":"[[6],[7],[8]]","p.grades":"[96,59,65,88]","p.height":"1.463000","p.u":"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a15"},
{"p.ID":"8","p.fName":"Farooq","p.gender":"2","p.isStudent":"True","p.isWorker":"False","p.age":"25","p.eyeSight":"4.500000","p.birthdate":"1980-10-26","p.registerTime":"1972-07-31 13:22:30.678559","p.lastJobDuration":"00:18:00.024","p.workedHours":"[3,4,5,6,7]","p.usedNames":"[Fesdwe]","p.courseScoresPerTerm":"[[8]]","p.grades":"[80,78,34,83]","p.height":"1.510000","p.u":"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a16"},
{"p.ID":"9","p.fName":"Greg","p.gender":"2","p.isStudent":"False","p.isWorker":"False","p.age":"40","p.eyeSight":"4.900000","p.birthdate":"1980-10-26","p.registerTime":"1976-12-23 04:41:42","p.lastJobDuration":"10 years 5 months 13:00:00.000024","p.workedHours":"[1]","p.usedNames":"[Grad]","p.courseScoresPerTerm":"[[10]]","p.grades":"[43,83,67,43]","p.height":"1.600000","p.u":"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a17"},
{"p.ID":"10","p.fName":"Hubert Blaine Wolfeschlegelsteinhausenbergerdorff","p.gender":"2","p.isStudent":"False","p.isWorker":"True","p.age":"83","p.eyeSight":"4.900000","p.birthdate":"1990-11-27","p.registerTime":"2023-02-21 13:25:30","p.lastJobDuration":"3 years 2 days 13:02:00","p.workedHours":"[10,11,12,3,4,5,6,7]","p.usedNames":"[Ad,De,Hi,Kye,Orlan]","p.courseScoresPerTerm":"[[7],[10],[6,7]]","p.grades":"[77,64,100,54]","p.height":"1.323000","p.u":"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a18"}]

NDJSON:

kuzu> :mode jsonlines
mode set as jsonlines
kuzu> match (p:person) return p.*;
{"p.ID":"0" "p.fName":"Alice" "p.gender":"1" "p.isStudent":"True" "p.isWorker":"False" "p.age":"35" "p.eyeSight":"5.000000" "p.birthdate":"1900-01-01" "p.registerTime":"2011-08-20 11:25:30" "p.lastJobDuration":"3 years 2 days 13:02:00" "p.workedHours":"[10,5]" "p.usedNames":"[Aida]" "p.courseScoresPerTerm":"[[10,8],[6,7,8]]" "p.grades":"[96,54,86,92]" "p.height":"1.731000" "p.u":"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"}
{"p.ID":"2" "p.fName":"Bob" "p.gender":"2" "p.isStudent":"True" "p.isWorker":"False" "p.age":"30" "p.eyeSight":"5.100000" "p.birthdate":"1900-01-01" "p.registerTime":"2008-11-03 15:25:30.000526" "p.lastJobDuration":"10 years 5 months 13:00:00.000024" "p.workedHours":"[12,8]" "p.usedNames":"[Bobby]" "p.courseScoresPerTerm":"[[8,9],[9,10]]" "p.grades":"[98,42,93,88]" "p.height":"0.990000" "p.u":"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a12"}
{"p.ID":"3" "p.fName":"Carol" "p.gender":"1" "p.isStudent":"False" "p.isWorker":"True" "p.age":"45" "p.eyeSight":"5.000000" "p.birthdate":"1940-06-22" "p.registerTime":"1911-08-20 02:32:21" "p.lastJobDuration":"48:24:11" "p.workedHours":"[4,5]" "p.usedNames":"[Carmen,Fred]" "p.courseScoresPerTerm":"[[8,10]]" "p.grades":"[91,75,21,95]" "p.height":"1.000000" "p.u":"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a13"}
{"p.ID":"5" "p.fName":"Dan" "p.gender":"2" "p.isStudent":"False" "p.isWorker":"True" "p.age":"20" "p.eyeSight":"4.800000" "p.birthdate":"1950-07-23" "p.registerTime":"2031-11-30 12:25:30" "p.lastJobDuration":"10 years 5 months 13:00:00.000024" "p.workedHours":"[1,9]" "p.usedNames":"[Wolfeschlegelstein,Daniel]" "p.courseScoresPerTerm":"[[7,4],[8,8],[9]]" "p.grades":"[76,88,99,89]" "p.height":"1.300000" "p.u":"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a14"}
{"p.ID":"7" "p.fName":"Elizabeth" "p.gender":"1" "p.isStudent":"False" "p.isWorker":"True" "p.age":"20" "p.eyeSight":"4.700000" "p.birthdate":"1980-10-26" "p.registerTime":"1976-12-23 11:21:42" "p.lastJobDuration":"48:24:11" "p.workedHours":"[2]" "p.usedNames":"[Ein]" "p.courseScoresPerTerm":"[[6],[7],[8]]" "p.grades":"[96,59,65,88]" "p.height":"1.463000" "p.u":"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a15"}
{"p.ID":"8" "p.fName":"Farooq" "p.gender":"2" "p.isStudent":"True" "p.isWorker":"False" "p.age":"25" "p.eyeSight":"4.500000" "p.birthdate":"1980-10-26" "p.registerTime":"1972-07-31 13:22:30.678559" "p.lastJobDuration":"00:18:00.024" "p.workedHours":"[3,4,5,6,7]" "p.usedNames":"[Fesdwe]" "p.courseScoresPerTerm":"[[8]]" "p.grades":"[80,78,34,83]" "p.height":"1.510000" "p.u":"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a16"}
{"p.ID":"9" "p.fName":"Greg" "p.gender":"2" "p.isStudent":"False" "p.isWorker":"False" "p.age":"40" "p.eyeSight":"4.900000" "p.birthdate":"1980-10-26" "p.registerTime":"1976-12-23 04:41:42" "p.lastJobDuration":"10 years 5 months 13:00:00.000024" "p.workedHours":"[1]" "p.usedNames":"[Grad]" "p.courseScoresPerTerm":"[[10]]" "p.grades":"[43,83,67,43]" "p.height":"1.600000" "p.u":"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a17"}
{"p.ID":"10" "p.fName":"Hubert Blaine Wolfeschlegelsteinhausenbergerdorff" "p.gender":"2" "p.isStudent":"False" "p.isWorker":"True" "p.age":"83" "p.eyeSight":"4.900000" "p.birthdate":"1990-11-27" "p.registerTime":"2023-02-21 13:25:30" "p.lastJobDuration":"3 years 2 days 13:02:00" "p.workedHours":"[10,11,12,3,4,5,6,7]" "p.usedNames":"[Ad,De,Hi,Kye,Orlan]" "p.courseScoresPerTerm":"[[7],[10],[6,7]]" "p.grades":"[77,64,100,54]" "p.height":"1.323000" "p.u":"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a18"}

Latex:

kuzu> :mode latex
mode set as latex
kuzu> match (p:person) return p.*;
\begin{tabular}{llllllllllllllll}
\hline
p.ID&p.fName&p.gender&p.isStudent&p.isWorker&p.age&p.eyeSight&p.birthdate&p.registerTime&p.lastJobDuration&p.workedHours&p.usedNames&p.courseScoresPerTerm&p.grades&p.height&p.u\\
\hline
0&Alice&1&True&False&35&5.000000&1900-01-01&2011-08-20 11:25:30&3 years 2 days 13:02:00&[10,5]&[Aida]&[[10,8],[6,7,8]]&[96,54,86,92]&1.731000&a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11\\
2&Bob&2&True&False&30&5.100000&1900-01-01&2008-11-03 15:25:30.000526&10 years 5 months 13:00:00.000024&[12,8]&[Bobby]&[[8,9],[9,10]]&[98,42,93,88]&0.990000&a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a12\\
3&Carol&1&False&True&45&5.000000&1940-06-22&1911-08-20 02:32:21&48:24:11&[4,5]&[Carmen,Fred]&[[8,10]]&[91,75,21,95]&1.000000&a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a13\\
5&Dan&2&False&True&20&4.800000&1950-07-23&2031-11-30 12:25:30&10 years 5 months 13:00:00.000024&[1,9]&[Wolfeschlegelstein,Daniel]&[[7,4],[8,8],[9]]&[76,88,99,89]&1.300000&a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a14\\
7&Elizabeth&1&False&True&20&4.700000&1980-10-26&1976-12-23 11:21:42&48:24:11&[2]&[Ein]&[[6],[7],[8]]&[96,59,65,88]&1.463000&a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a15\\
8&Farooq&2&True&False&25&4.500000&1980-10-26&1972-07-31 13:22:30.678559&00:18:00.024&[3,4,5,6,7]&[Fesdwe]&[[8]]&[80,78,34,83]&1.510000&a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a16\\
9&Greg&2&False&False&40&4.900000&1980-10-26&1976-12-23 04:41:42&10 years 5 months 13:00:00.000024&[1]&[Grad]&[[10]]&[43,83,67,43]&1.600000&a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a17\\
10&Hubert Blaine Wolfeschlegelsteinhausenbergerdorff&2&False&True&83&4.900000&1990-11-27&2023-02-21 13:25:30&3 years 2 days 13:02:00&[10,11,12,3,4,5,6,7]&[Ad,De,Hi,Kye,Orlan]&[[7],[10],[6,7]]&[77,64,100,54]&1.323000&a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a18\\
\hline
\end{tabular}

Line:

kuzu> :mode line
mode set as line
kuzu> match (p:person) return p.*;
p.ID = 0
p.fName = Alice
p.gender = 1
p.isStudent = True
p.isWorker = False
p.age = 35
p.eyeSight = 5.000000
p.birthdate = 1900-01-01
p.registerTime = 2011-08-20 11:25:30
p.lastJobDuration = 3 years 2 days 13:02:00
p.workedHours = [10,5]
p.usedNames = [Aida]
p.courseScoresPerTerm = [[10,8],[6,7,8]]
p.grades = [96,54,86,92]
p.height = 1.731000
p.u = a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11

p.ID = 2
p.fName = Bob
p.gender = 2
p.isStudent = True
p.isWorker = False
p.age = 30
p.eyeSight = 5.100000
p.birthdate = 1900-01-01
p.registerTime = 2008-11-03 15:25:30.000526
p.lastJobDuration = 10 years 5 months 13:00:00.000024
p.workedHours = [12,8]
p.usedNames = [Bobby]
p.courseScoresPerTerm = [[8,9],[9,10]]
p.grades = [98,42,93,88]
p.height = 0.990000
p.u = a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a12

p.ID = 3
p.fName = Carol
p.gender = 1
p.isStudent = False
p.isWorker = True
p.age = 45
p.eyeSight = 5.000000
p.birthdate = 1940-06-22
p.registerTime = 1911-08-20 02:32:21
p.lastJobDuration = 48:24:11
p.workedHours = [4,5]
p.usedNames = [Carmen,Fred]
p.courseScoresPerTerm = [[8,10]]
p.grades = [91,75,21,95]
p.height = 1.000000
p.u = a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a13

p.ID = 5
p.fName = Dan
p.gender = 2
p.isStudent = False
p.isWorker = True
p.age = 20
p.eyeSight = 4.800000
p.birthdate = 1950-07-23
p.registerTime = 2031-11-30 12:25:30
p.lastJobDuration = 10 years 5 months 13:00:00.000024
p.workedHours = [1,9]
p.usedNames = [Wolfeschlegelstein,Daniel]
p.courseScoresPerTerm = [[7,4],[8,8],[9]]
p.grades = [76,88,99,89]
p.height = 1.300000
p.u = a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a14

p.ID = 7
p.fName = Elizabeth
p.gender = 1
p.isStudent = False
p.isWorker = True
p.age = 20
p.eyeSight = 4.700000
p.birthdate = 1980-10-26
p.registerTime = 1976-12-23 11:21:42
p.lastJobDuration = 48:24:11
p.workedHours = [2]
p.usedNames = [Ein]
p.courseScoresPerTerm = [[6],[7],[8]]
p.grades = [96,59,65,88]
p.height = 1.463000
p.u = a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a15

p.ID = 8
p.fName = Farooq
p.gender = 2
p.isStudent = True
p.isWorker = False
p.age = 25
p.eyeSight = 4.500000
p.birthdate = 1980-10-26
p.registerTime = 1972-07-31 13:22:30.678559
p.lastJobDuration = 00:18:00.024
p.workedHours = [3,4,5,6,7]
p.usedNames = [Fesdwe]
p.courseScoresPerTerm = [[8]]
p.grades = [80,78,34,83]
p.height = 1.510000
p.u = a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a16

p.ID = 9
p.fName = Greg
p.gender = 2
p.isStudent = False
p.isWorker = False
p.age = 40
p.eyeSight = 4.900000
p.birthdate = 1980-10-26
p.registerTime = 1976-12-23 04:41:42
p.lastJobDuration = 10 years 5 months 13:00:00.000024
p.workedHours = [1]
p.usedNames = [Grad]
p.courseScoresPerTerm = [[10]]
p.grades = [43,83,67,43]
p.height = 1.600000
p.u = a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a17

p.ID = 10
p.fName = Hubert Blaine Wolfeschlegelsteinhausenbergerdorff
p.gender = 2
p.isStudent = False
p.isWorker = True
p.age = 83
p.eyeSight = 4.900000
p.birthdate = 1990-11-27
p.registerTime = 2023-02-21 13:25:30
p.lastJobDuration = 3 years 2 days 13:02:00
p.workedHours = [10,11,12,3,4,5,6,7]
p.usedNames = [Ad,De,Hi,Kye,Orlan]
p.courseScoresPerTerm = [[7],[10],[6,7]]
p.grades = [77,64,100,54]
p.height = 1.323000
p.u = a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a18

List:

kuzu> :mode list
mode set as list
kuzu> match (p:person) return p.*;
p.ID|p.fName|p.gender|p.isStudent|p.isWorker|p.age|p.eyeSight|p.birthdate|p.registerTime|p.lastJobDuration|p.workedHours|p.usedNames|p.courseScoresPerTerm|p.grades|p.height|p.u
0|Alice|1|True|False|35|5.000000|1900-01-01|2011-08-20 11:25:30|3 years 2 days 13:02:00|[10,5]|[Aida]|[[10,8],[6,7,8]]|[96,54,86,92]|1.731000|a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11
2|Bob|2|True|False|30|5.100000|1900-01-01|2008-11-03 15:25:30.000526|10 years 5 months 13:00:00.000024|[12,8]|[Bobby]|[[8,9],[9,10]]|[98,42,93,88]|0.990000|a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a12
3|Carol|1|False|True|45|5.000000|1940-06-22|1911-08-20 02:32:21|48:24:11|[4,5]|[Carmen,Fred]|[[8,10]]|[91,75,21,95]|1.000000|a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a13
5|Dan|2|False|True|20|4.800000|1950-07-23|2031-11-30 12:25:30|10 years 5 months 13:00:00.000024|[1,9]|[Wolfeschlegelstein,Daniel]|[[7,4],[8,8],[9]]|[76,88,99,89]|1.300000|a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a14
7|Elizabeth|1|False|True|20|4.700000|1980-10-26|1976-12-23 11:21:42|48:24:11|[2]|[Ein]|[[6],[7],[8]]|[96,59,65,88]|1.463000|a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a15
8|Farooq|2|True|False|25|4.500000|1980-10-26|1972-07-31 13:22:30.678559|00:18:00.024|[3,4,5,6,7]|[Fesdwe]|[[8]]|[80,78,34,83]|1.510000|a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a16
9|Greg|2|False|False|40|4.900000|1980-10-26|1976-12-23 04:41:42|10 years 5 months 13:00:00.000024|[1]|[Grad]|[[10]]|[43,83,67,43]|1.600000|a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a17
10|Hubert Blaine Wolfeschlegelsteinhausenbergerdorff|2|False|True|83|4.900000|1990-11-27|2023-02-21 13:25:30|3 years 2 days 13:02:00|[10,11,12,3,4,5,6,7]|[Ad,De,Hi,Kye,Orlan]|[[7],[10],[6,7]]|[77,64,100,54]|1.323000|a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a18

Markdown:

kuzu> :mode markdown
kuzu> match (p:person) return p.*;
| p.ID  | p.fName              | p.gender | p.isStudent | p.isWorker | p.age | ... | p.usedNames          | p.courseScoresPer... | p.grades       | p.height | p.u                  |
|-------|----------------------|----------|-------------|------------|-------|-----|----------------------|----------------------|----------------|----------|----------------------|
| 0     | Alice                | 1        | True        | False      | 35    | ... | [Aida]               | [[10,8],[6,7,8]]     | [96,54,86,92]  | 1.731000 | a0eebc99-9c0b-4ef... |
| 2     | Bob                  | 2        | True        | False      | 30    | ... | [Bobby]              | [[8,9],[9,10]]       | [98,42,93,88]  | 0.990000 | a0eebc99-9c0b-4ef... |
| 3     | Carol                | 1        | False       | True       | 45    | ... | [Carmen,Fred]        | [[8,10]]             | [91,75,21,95]  | 1.000000 | a0eebc99-9c0b-4ef... |
| 5     | Dan                  | 2        | False       | True       | 20    | ... | [Wolfeschlegelste... | [[7,4],[8,8],[9]]    | [76,88,99,89]  | 1.300000 | a0eebc99-9c0b-4ef... |
| 7     | Elizabeth            | 1        | False       | True       | 20    | ... | [Ein]                | [[6],[7],[8]]        | [96,59,65,88]  | 1.463000 | a0eebc99-9c0b-4ef... |
| 8     | Farooq               | 2        | True        | False      | 25    | ... | [Fesdwe]             | [[8]]                | [80,78,34,83]  | 1.510000 | a0eebc99-9c0b-4ef... |
| 9     | Greg                 | 2        | False       | False      | 40    | ... | [Grad]               | [[10]]               | [43,83,67,43]  | 1.600000 | a0eebc99-9c0b-4ef... |
| 10    | Hubert Blaine Wol... | 2        | False       | True       | 83    | ... | [Ad,De,Hi,Kye,Orlan] | [[7],[10],[6,7]]     | [77,64,100,54] | 1.323000 | a0eebc99-9c0b-4ef... |

Table:

kuzu> :mode table
mode set as table
kuzu> match (p:person) return p.*;
+-------+----------------------+----------+-------------+------------+-------+-----+----------------------+----------------------+----------------+----------+----------------------+
| p.ID  | p.fName              | p.gender | p.isStudent | p.isWorker | p.age | ... | p.usedNames          | p.courseScoresPer... | p.grades       | p.height | p.u                  |
| INT64 | STRING               | INT64    | BOOL        | BOOL       | INT64 |     | STRING[]             | INT64[][]            | INT64[4]       | FLOAT    | UUID                 |
+-------+----------------------+----------+-------------+------------+-------+-----+----------------------+----------------------+----------------+----------+----------------------+
| 0     | Alice                | 1        | True        | False      | 35    | ... | [Aida]               | [[10,8],[6,7,8]]     | [96,54,86,92]  | 1.731000 | a0eebc99-9c0b-4ef... |
| 2     | Bob                  | 2        | True        | False      | 30    | ... | [Bobby]              | [[8,9],[9,10]]       | [98,42,93,88]  | 0.990000 | a0eebc99-9c0b-4ef... |
| 3     | Carol                | 1        | False       | True       | 45    | ... | [Carmen,Fred]        | [[8,10]]             | [91,75,21,95]  | 1.000000 | a0eebc99-9c0b-4ef... |
| 5     | Dan                  | 2        | False       | True       | 20    | ... | [Wolfeschlegelste... | [[7,4],[8,8],[9]]    | [76,88,99,89]  | 1.300000 | a0eebc99-9c0b-4ef... |
| 7     | Elizabeth            | 1        | False       | True       | 20    | ... | [Ein]                | [[6],[7],[8]]        | [96,59,65,88]  | 1.463000 | a0eebc99-9c0b-4ef... |
| 8     | Farooq               | 2        | True        | False      | 25    | ... | [Fesdwe]             | [[8]]                | [80,78,34,83]  | 1.510000 | a0eebc99-9c0b-4ef... |
| 9     | Greg                 | 2        | False       | False      | 40    | ... | [Grad]               | [[10]]               | [43,83,67,43]  | 1.600000 | a0eebc99-9c0b-4ef... |
| 10    | Hubert Blaine Wol... | 2        | False       | True       | 83    | ... | [Ad,De,Hi,Kye,Orlan] | [[7],[10],[6,7]]     | [77,64,100,54] | 1.323000 | a0eebc99-9c0b-4ef... |
+-------+----------------------+----------+-------------+------------+-------+-----+----------------------+----------------------+----------------+----------+----------------------+

TSV:

kuzu> :mode tsv
mode set as tsv
kuzu> match (p:person) return p.*;
p.ID    p.fName p.gender        p.isStudent     p.isWorker      p.age   p.eyeSight      p.birthdate     p.registerTime  p.lastJobDuration       p.workedHours   p.usedNames     p.courseScoresPerTerm    p.grades        p.height        p.u
0       Alice   1       True    False   35      5.000000        1900-01-01      2011-08-20 11:25:30     3 years 2 days 13:02:00 [10,5]  [Aida]  [[10,8],[6,7,8]]        [96,54,86,92]   1.731000a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11
2       Bob     2       True    False   30      5.100000        1900-01-01      2008-11-03 15:25:30.000526      10 years 5 months 13:00:00.000024       [12,8]  [Bobby] [[8,9],[9,10]]  [98,42,93,88]    0.990000        a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a12
3       Carol   1       False   True    45      5.000000        1940-06-22      1911-08-20 02:32:21     48:24:11        [4,5]   [Carmen,Fred]   [[8,10]]        [91,75,21,95]   1.000000        a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a13
5       Dan     2       False   True    20      4.800000        1950-07-23      2031-11-30 12:25:30     10 years 5 months 13:00:00.000024       [1,9]   [Wolfeschlegelstein,Daniel]     [[7,4],[8,8],[9]]        [76,88,99,89]   1.300000        a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a14
7       Elizabeth       1       False   True    20      4.700000        1980-10-26      1976-12-23 11:21:42     48:24:11        [2]     [Ein]   [[6],[7],[8]]   [96,59,65,88]   1.463000        a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a15
8       Farooq  2       True    False   25      4.500000        1980-10-26      1972-07-31 13:22:30.678559      00:18:00.024    [3,4,5,6,7]     [Fesdwe]        [[8]]   [80,78,34,83]   1.510000a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a16
9       Greg    2       False   False   40      4.900000        1980-10-26      1976-12-23 04:41:42     10 years 5 months 13:00:00.000024       [1]     [Grad]  [[10]]  [43,83,67,43]   1.600000a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a17
10      Hubert Blaine Wolfeschlegelsteinhausenbergerdorff       2       False   True    83      4.900000        1990-11-27      2023-02-21 13:25:30     3 years 2 days 13:02:00 [10,11,12,3,4,5,6,7]     [Ad,De,Hi,Kye,Orlan]    [[7],[10],[6,7]]        [77,64,100,54]  1.323000        a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a18

Trash:

kuzu> :mode trash
mode set as trash
kuzu> match (p:person) return p.*;

Fixes #3876

Contributor agreement

Copy link

Benchmark Result

Master commit hash: 2f1cdf6a33511b893c988ae7028ad74277268397
Branch commit hash: f1c5e5c9de5019cbab0eb04fdd5d4f3ea31c6643

Query Group Query Name Mean Time - Commit (ms) Mean Time - Master (ms) Diff
aggregation q24 684.01 685.66 -1.65 (-0.24%)
aggregation q28 11635.14 12172.11 -536.97 (-4.41%)
filter q14 159.63 158.50 1.13 (0.71%)
filter q15 161.25 160.82 0.42 (0.26%)
filter q16 333.82 332.17 1.65 (0.50%)
filter q17 481.73 480.64 1.10 (0.23%)
filter q18 1945.26 1943.35 1.91 (0.10%)
fixed_size_expr_evaluator q07 570.02 577.13 -7.10 (-1.23%)
fixed_size_expr_evaluator q08 786.19 788.98 -2.79 (-0.35%)
fixed_size_expr_evaluator q09 780.69 784.64 -3.95 (-0.50%)
fixed_size_expr_evaluator q10 272.94 281.22 -8.28 (-2.94%)
fixed_size_expr_evaluator q11 267.50 274.39 -6.89 (-2.51%)
fixed_size_expr_evaluator q12 264.98 274.56 -9.58 (-3.49%)
fixed_size_expr_evaluator q13 1489.78 1499.75 -9.98 (-0.67%)
fixed_size_seq_scan q23 152.49 152.17 0.32 (0.21%)
join q31 13.42 12.79 0.64 (4.97%)
ldbc_snb_ic q35 784.25 752.81 31.44 (4.18%)
ldbc_snb_ic q36 49.69 50.34 -0.65 (-1.29%)
ldbc_snb_is q32 9.28 10.68 -1.40 (-13.14%)
ldbc_snb_is q33 19.77 19.70 0.07 (0.34%)
ldbc_snb_is q34 9.13 8.88 0.26 (2.90%)
multi-rel multi-rel-large-scan 2806.09 2847.88 -41.78 (-1.47%)
multi-rel multi-rel-lookup 67.76 81.08 -13.32 (-16.43%)
multi-rel multi-rel-small-scan 64.07 65.52 -1.44 (-2.20%)
order_by q25 164.60 161.02 3.58 (2.23%)
order_by q26 484.87 486.29 -1.42 (-0.29%)
order_by q27 1438.05 1428.97 9.08 (0.64%)
scan_after_filter q01 206.17 206.26 -0.10 (-0.05%)
scan_after_filter q02 194.31 195.15 -0.84 (-0.43%)
shortest_path_ldbc100 q39 155.33 156.39 -1.06 (-0.68%)
var_size_expr_evaluator q03 2084.35 2077.44 6.91 (0.33%)
var_size_expr_evaluator q04 2277.44 2272.56 4.88 (0.21%)
var_size_expr_evaluator q05 2690.42 2682.86 7.56 (0.28%)
var_size_expr_evaluator q06 1340.47 1343.03 -2.56 (-0.19%)
var_size_seq_scan q19 1486.55 1486.25 0.29 (0.02%)
var_size_seq_scan q20 3165.82 3156.57 9.25 (0.29%)
var_size_seq_scan q21 2438.04 2421.23 16.82 (0.69%)
var_size_seq_scan q22 134.77 134.35 0.42 (0.31%)

Copy link

codecov bot commented Aug 10, 2024

Codecov Report

Attention: Patch coverage is 0% with 390 lines in your changes missing coverage. Please review.

Project coverage is 84.51%. Comparing base (93a3cd3) to head (e156f1f).

Files Patch % Lines
tools/shell/embedded_shell.cpp 0.00% 274 Missing ⚠️
tools/shell/include/output.h 0.00% 82 Missing ⚠️
tools/shell/shell_runner.cpp 0.00% 33 Missing ⚠️
tools/shell/include/embedded_shell.h 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4053      +/-   ##
==========================================
- Coverage   85.10%   84.51%   -0.60%     
==========================================
  Files        1297     1299       +2     
  Lines       50663    51018     +355     
  Branches     6985     7052      +67     
==========================================
+ Hits        43119    43120       +1     
- Misses       7405     7759     +354     
  Partials      139      139              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

Benchmark Result

Master commit hash: 2f1cdf6a33511b893c988ae7028ad74277268397
Branch commit hash: 4f4f7804232ed9ecec1371def13834408b54d681

Query Group Query Name Mean Time - Commit (ms) Mean Time - Master (ms) Diff
aggregation q24 686.13 685.66 0.47 (0.07%)
aggregation q28 11740.95 12172.11 -431.16 (-3.54%)
filter q14 160.39 158.50 1.89 (1.19%)
filter q15 161.11 160.82 0.29 (0.18%)
filter q16 332.58 332.17 0.40 (0.12%)
filter q17 480.35 480.64 -0.28 (-0.06%)
filter q18 1914.02 1943.35 -29.33 (-1.51%)
fixed_size_expr_evaluator q07 575.59 577.13 -1.54 (-0.27%)
fixed_size_expr_evaluator q08 785.93 788.98 -3.06 (-0.39%)
fixed_size_expr_evaluator q09 785.58 784.64 0.94 (0.12%)
fixed_size_expr_evaluator q10 273.18 281.22 -8.03 (-2.86%)
fixed_size_expr_evaluator q11 267.24 274.39 -7.15 (-2.61%)
fixed_size_expr_evaluator q12 267.00 274.56 -7.56 (-2.75%)
fixed_size_expr_evaluator q13 1493.38 1499.75 -6.37 (-0.42%)
fixed_size_seq_scan q23 151.80 152.17 -0.37 (-0.24%)
join q31 13.15 12.79 0.36 (2.81%)
ldbc_snb_ic q35 771.53 752.81 18.72 (2.49%)
ldbc_snb_ic q36 50.07 50.34 -0.27 (-0.53%)
ldbc_snb_is q32 8.66 10.68 -2.02 (-18.91%)
ldbc_snb_is q33 17.16 19.70 -2.54 (-12.89%)
ldbc_snb_is q34 8.31 8.88 -0.57 (-6.40%)
multi-rel multi-rel-large-scan 2794.15 2847.88 -53.73 (-1.89%)
multi-rel multi-rel-lookup 47.43 81.08 -33.65 (-41.51%)
multi-rel multi-rel-small-scan 58.01 65.52 -7.51 (-11.46%)
order_by q25 160.97 161.02 -0.05 (-0.03%)
order_by q26 487.34 486.29 1.05 (0.22%)
order_by q27 1432.97 1428.97 3.99 (0.28%)
scan_after_filter q01 208.12 206.26 1.85 (0.90%)
scan_after_filter q02 195.76 195.15 0.61 (0.31%)
shortest_path_ldbc100 q39 173.01 156.39 16.62 (10.63%)
var_size_expr_evaluator q03 2082.20 2077.44 4.77 (0.23%)
var_size_expr_evaluator q04 2275.60 2272.56 3.04 (0.13%)
var_size_expr_evaluator q05 2690.84 2682.86 7.99 (0.30%)
var_size_expr_evaluator q06 1343.38 1343.03 0.35 (0.03%)
var_size_seq_scan q19 1489.38 1486.25 3.13 (0.21%)
var_size_seq_scan q20 3167.02 3156.57 10.46 (0.33%)
var_size_seq_scan q21 2399.64 2421.23 -21.59 (-0.89%)
var_size_seq_scan q22 133.80 134.35 -0.55 (-0.41%)

@MSebanc MSebanc marked this pull request as ready for review August 10, 2024 05:34
Copy link
Contributor

@andyfengHKU andyfengHKU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh cool. We just need to make sure there are basic tests to test each mode. Other than that everything looks good to me.

Copy link

Benchmark Result

Master commit hash: 93a3cd306c0958373382a955c89fb5e13960383a
Branch commit hash: 90801d654c2e2e38f3bc2e9c4e744a4c412bd4bc

Query Group Query Name Mean Time - Commit (ms) Mean Time - Master (ms) Diff
aggregation q24 672.70 673.30 -0.61 (-0.09%)
aggregation q28 11698.97 11683.05 15.92 (0.14%)
filter q14 145.84 146.19 -0.35 (-0.24%)
filter q15 144.90 144.28 0.62 (0.43%)
filter q16 326.60 322.90 3.70 (1.15%)
filter q17 466.35 464.77 1.57 (0.34%)
filter q18 1913.01 1939.56 -26.55 (-1.37%)
fixed_size_expr_evaluator q07 562.99 556.80 6.18 (1.11%)
fixed_size_expr_evaluator q08 777.86 762.77 15.09 (1.98%)
fixed_size_expr_evaluator q09 776.94 762.72 14.22 (1.86%)
fixed_size_expr_evaluator q10 274.50 257.69 16.81 (6.52%)
fixed_size_expr_evaluator q11 254.09 252.30 1.79 (0.71%)
fixed_size_expr_evaluator q12 250.14 251.70 -1.56 (-0.62%)
fixed_size_expr_evaluator q13 1490.55 1485.25 5.31 (0.36%)
fixed_size_seq_scan q23 136.99 134.99 2.00 (1.48%)
join q31 12.53 12.26 0.27 (2.17%)
ldbc_snb_ic q35 824.55 805.08 19.47 (2.42%)
ldbc_snb_ic q36 48.32 47.36 0.96 (2.03%)
ldbc_snb_is q32 8.97 8.17 0.79 (9.72%)
ldbc_snb_is q33 18.87 15.98 2.89 (18.07%)
ldbc_snb_is q34 8.55 8.17 0.37 (4.58%)
multi-rel multi-rel-large-scan 3828.37 3014.12 814.25 (27.01%)
multi-rel multi-rel-lookup 73.38 71.47 1.92 (2.68%)
multi-rel multi-rel-small-scan 64.03 68.36 -4.33 (-6.33%)
order_by q25 147.78 150.26 -2.48 (-1.65%)
order_by q26 475.39 481.08 -5.70 (-1.18%)
order_by q27 1410.15 1412.38 -2.23 (-0.16%)
scan_after_filter q01 190.31 190.64 -0.33 (-0.17%)
scan_after_filter q02 180.82 180.00 0.82 (0.46%)
shortest_path_ldbc100 q39 156.55 157.66 -1.11 (-0.70%)
var_size_expr_evaluator q03 2068.19 2078.20 -10.02 (-0.48%)
var_size_expr_evaluator q04 2246.19 2235.81 10.38 (0.46%)
var_size_expr_evaluator q05 2552.05 2550.46 1.59 (0.06%)
var_size_expr_evaluator q06 1342.68 1343.58 -0.90 (-0.07%)
var_size_seq_scan q19 1470.37 1474.23 -3.86 (-0.26%)
var_size_seq_scan q20 3188.79 3192.24 -3.45 (-0.11%)
var_size_seq_scan q21 2431.42 2456.38 -24.96 (-1.02%)
var_size_seq_scan q22 129.11 128.72 0.39 (0.31%)

@MSebanc MSebanc merged commit 95d338e into master Aug 12, 2024
22 of 23 checks passed
@MSebanc MSebanc deleted the cli-output branch August 12, 2024 21:55
ted-wq-x pushed a commit to ted-wq-x/kuzu that referenced this pull request Nov 14, 2024
Co-authored-by: CI Bot <MSebanc@users.noreply.github.com>

(cherry picked from commit 95d338e)
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

Successfully merging this pull request may close these issues.

Feature: In CLI get output of query in a bash script friendly format.
2 participants