Skip to content

Commit

Permalink
Adjust specific query to make better sense within sample data
Browse files Browse the repository at this point in the history
  • Loading branch information
JetamZ committed Nov 10, 2024
1 parent a016ac5 commit 6084cf0
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 40 deletions.
8 changes: 4 additions & 4 deletions test/API/examples/actual/politician_comparisonCS_result.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[{'person.person_id': 'AdamKalous.1979', 'persName.forename': 'Adam', 'persName.surname': 'Kalous', 'total_speeches': 0}, {'person.person_id': 'AdamRykala.1986', 'persName.forename': 'Adam', 'persName.surname': 'Rykala', 'total_speeches': 0}]
[{'person.person_id': 'AndrejBabis.1954', 'persName.forename': 'Andrej', 'persName.surname': 'Babiš', 'total_speeches': 59}, {'person.person_id': 'VeraJourova.1964', 'persName.forename': 'Věra', 'persName.surname': 'Jourová', 'total_speeches': 2}]

Running time 7.3037109375 ms
Running time 5.59716796875 ms

+------------------+-------------------+------------------+----------------+
| person.person_id | persName.forename | persName.surname | total_speeches |
+------------------+-------------------+------------------+----------------+
| AdamKalous.1979 | Adam | Kalous | 0 |
| AdamRykala.1986 | Adam | Rykala | 0 |
| AndrejBabis.1954 | Andrej | Babiš | 59 |
| VeraJourova.1964 | Věra | Jourová | 2 |
+------------------+-------------------+------------------+----------------+
8 changes: 4 additions & 4 deletions test/API/examples/expected/politician_comparisonCS_result.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[{'person.person_id': 'AdamKalous.1979', 'persName.forename': 'Adam', 'persName.surname': 'Kalous', 'total_speeches': 0}, {'person.person_id': 'AdamRykala.1986', 'persName.forename': 'Adam', 'persName.surname': 'Rykala', 'total_speeches': 0}]
[{'person.person_id': 'AndrejBabis.1954', 'persName.forename': 'Andrej', 'persName.surname': 'Babiš', 'total_speeches': 59}, {'person.person_id': 'VeraJourova.1964', 'persName.forename': 'Věra', 'persName.surname': 'Jourová', 'total_speeches': 2}]

Running time 8.216552734375 ms
Running time 6.149658203125 ms

+------------------+-------------------+------------------+----------------+
| person.person_id | persName.forename | persName.surname | total_speeches |
+------------------+-------------------+------------------+----------------+
| AdamKalous.1979 | Adam | Kalous | 0 |
| AdamRykala.1986 | Adam | Rykala | 0 |
| AndrejBabis.1954 | Andrej | Babiš | 59 |
| VeraJourova.1964 | Věra | Jourová | 2 |
+------------------+-------------------+------------------+----------------+
2 changes: 1 addition & 1 deletion test/API/examples/inputs/politician_comparisonCS.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{
"column":"person.person_id",
"operator":" IN ",
"value":"('AdamKalous.1979', 'AdamRykala.1986')"
"value":"('AndrejBabis.1954', 'VeraJourova.1964')"
}
]
},
Expand Down
26 changes: 0 additions & 26 deletions test/API/examples/inputs/politician_comparisonLV.json

This file was deleted.

8 changes: 3 additions & 5 deletions test/sampleData/ParCzech.TEI.ana/ParCzech.ana.xml
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@

<xi:include href="ps2017-052-01-000-000.ana.xml"/>

<xi:include href="ps2017-053-01-001-001.ana.xml"/>
<xi:include href="ps2017-053-01-000-000.ana.xml"/>

<xi:include href="ps2017-054-01-000-000.ana.xml"/>

Expand Down Expand Up @@ -415,7 +415,7 @@

<xi:include href="ps2017-070-01-000-000.ana.xml"/>

<xi:include href="ps2017-067-01-001-001.ana.xml"/>
<xi:include href="ps2017-067-01-000-000.ana.xml"/>

<xi:include href="ps2017-073-01-000-000.ana.xml"/>

Expand All @@ -427,8 +427,6 @@

<xi:include href="ps2017-077-01-000-000.ana.xml"/>

<xi:include href="ps2017-072-05-000-000.ana.xml"/>

<xi:include href="ps2017-078-01-000-000.ana.xml"/>

<xi:include href="ps2017-079-01-000-000.ana.xml"/>
Expand Down Expand Up @@ -637,7 +635,7 @@

<xi:include href="ps2021-067-01-000-000.ana.xml"/>

<xi:include href="ps2021-066-02-000-000.ana.xml"/>
<xi:include href="ps2021-066-01-000-000.ana.xml"/>

<xi:include href="ps2021-068-01-000-000.ana.xml"/>

Expand Down

0 comments on commit 6084cf0

Please sign in to comment.