-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #343 from EvgSkv/ti2023
Improve DuckDB support.
- Loading branch information
Showing
20 changed files
with
201 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
+-------+------+--------------+ | ||
| col0 | col1 | col2 | | ||
+-------+------+--------------+ | ||
| test1 | 1 | [1] | | ||
| test1 | 2 | [2] | | ||
| test1 | 3 | [3] | | ||
| test1 | 4 | [4] | | ||
| test2 | 1 | [1, 2, 3, 4] | | ||
| test2 | 2 | [1, 3, 4] | | ||
| test2 | 3 | [1, 2, 4] | | ||
| test2 | 4 | [1, 2, 3, 4] | | ||
+-------+------+--------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
+------+------+--------------------+ | ||
| col0 | col1 | logica_value | | ||
+------+------+--------------------+ | ||
| 0.0 | 1.0 | 2.9970000000000003 | | ||
| 0.0 | 4.0 | 9.994999999999997 | | ||
| 1.0 | 0.0 | 0.0 | | ||
| 1.0 | 2.0 | 0.0 | | ||
| 1.0 | 5.0 | 9.992999999999999 | | ||
| 2.0 | 1.0 | 6.995999999999998 | | ||
| 2.0 | 3.0 | 2.999 | | ||
| 2.0 | 4.0 | 0.0 | | ||
| 3.0 | 2.0 | 0.0 | | ||
| 3.0 | 5.0 | 0.0 | | ||
| 4.0 | 0.0 | 0.0 | | ||
| 4.0 | 2.0 | 9.994999999999997 | | ||
| 5.0 | 1.0 | 0.0 | | ||
| 5.0 | 3.0 | 9.992999999999999 | | ||
+------+------+--------------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
+------+---------------+ | ||
| col0 | col1 | | ||
+------+---------------+ | ||
| G1 | colorable | | ||
| G2 | not colorable | | ||
+------+---------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
+------------------------------------------------------------------------------------------------------------------------------+ | ||
| logica_value | | ||
+------------------------------------------------------------------------------------------------------------------------------+ | ||
| [{'word': 'sun', 'length': 3}, {'word': 'fire', 'length': 4}, {'word': 'wind', 'length': 4}, {'word': 'water', 'length': 5}] | | ||
+------------------------------------------------------------------------------------------------------------------------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
+-------------+---------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+ | ||
| purchase_id | items | expensive_items | buyer_id | | ||
+-------------+---------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+ | ||
| 1 | [{'item': 'Soap', 'quantity': 3, 'price': 20}] | [{'item': 'Soap', 'more_expensive_than': ['Bread', 'Coffee', 'Firewood', 'Milk']}] | 11 | | ||
| 2 | [{'item': 'Milk', 'quantity': 1, 'price': 10}] | [{'item': 'Milk', 'more_expensive_than': ['Bread', 'Coffee']}] | 12 | | ||
| 3 | [{'item': 'Bread', 'quantity': 2, 'price': 5}, {'item': 'Coffee', 'quantity': 1, 'price': 7}] | [{'item': 'Coffee', 'more_expensive_than': ['Bread']}] | 13 | | ||
| 4 | [{'item': 'Firewood', 'quantity': 5, 'price': 15}, {'item': 'Soap', 'quantity': 1, 'price': 20}] | [{'item': 'Firewood', 'more_expensive_than': ['Bread', 'Coffee', 'Milk']}, {'item': 'Soap', 'more_expensive_than': ['Bread', 'Coffee', 'Firewood', 'Milk']}] | 14 | | ||
| 5 | [{'item': 'Bread', 'quantity': 1, 'price': 5}, {'item': 'Coffee', 'quantity': 2, 'price': 7}, {'item': 'Milk', 'quantity': 4, 'price': 10}] | [{'item': 'Coffee', 'more_expensive_than': ['Bread']}, {'item': 'Milk', 'more_expensive_than': ['Bread', 'Coffee']}] | 12 | | ||
| 6 | [{'item': 'Firewood', 'quantity': 1, 'price': 15}, {'item': 'Soap', 'quantity': 3, 'price': 20}] | [{'item': 'Firewood', 'more_expensive_than': ['Bread', 'Coffee', 'Milk']}, {'item': 'Soap', 'more_expensive_than': ['Bread', 'Coffee', 'Firewood', 'Milk']}] | 13 | | ||
| 7 | [{'item': 'Bread', 'quantity': 2, 'price': 5}, {'item': 'Coffee', 'quantity': 1, 'price': 7}, {'item': 'Milk', 'quantity': 1, 'price': 10}] | [{'item': 'Coffee', 'more_expensive_than': ['Bread']}, {'item': 'Milk', 'more_expensive_than': ['Bread', 'Coffee']}] | 14 | | ||
| 8 | [{'item': 'Firewood', 'quantity': 5, 'price': 15}, {'item': 'Soap', 'quantity': 1, 'price': 20}] | [{'item': 'Firewood', 'more_expensive_than': ['Bread', 'Coffee', 'Milk']}, {'item': 'Soap', 'more_expensive_than': ['Bread', 'Coffee', 'Firewood', 'Milk']}] | 11 | | ||
+-------------+---------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
+--------+-----------+--------------------------------------------------------------------------------------------+ | ||
| vertex | component | distances | | ||
+--------+-----------+--------------------------------------------------------------------------------------------+ | ||
| 1 | 1 | [{'y': 5, 'd': 4}, {'y': 4, 'd': 3}, {'y': 3, 'd': 2}, {'y': 2, 'd': 1}, {'y': 1, 'd': 0}] | | ||
| 2 | 1 | [{'y': 5, 'd': 3}, {'y': 4, 'd': 2}, {'y': 3, 'd': 1}, {'y': 2, 'd': 0}, {'y': 1, 'd': 1}] | | ||
| 3 | 1 | [{'y': 5, 'd': 2}, {'y': 4, 'd': 1}, {'y': 3, 'd': 0}, {'y': 2, 'd': 1}, {'y': 1, 'd': 2}] | | ||
| 4 | 1 | [{'y': 5, 'd': 1}, {'y': 4, 'd': 0}, {'y': 3, 'd': 1}, {'y': 2, 'd': 2}, {'y': 1, 'd': 3}] | | ||
| 5 | 1 | [{'y': 5, 'd': 0}, {'y': 4, 'd': 1}, {'y': 3, 'd': 2}, {'y': 2, 'd': 3}, {'y': 1, 'd': 4}] | | ||
| 6 | 6 | [{'y': 8, 'd': 2}, {'y': 7, 'd': 1}, {'y': 6, 'd': 0}] | | ||
| 7 | 6 | [{'y': 8, 'd': 1}, {'y': 7, 'd': 0}, {'y': 6, 'd': 1}] | | ||
| 8 | 6 | [{'y': 8, 'd': 0}, {'y': 7, 'd': 1}, {'y': 6, 'd': 2}] | | ||
| 9 | 9 | [{'y': 11, 'd': 1}, {'y': 10, 'd': 1}, {'y': 9, 'd': 0}] | | ||
| 10 | 9 | [{'y': 11, 'd': 1}, {'y': 10, 'd': 0}, {'y': 9, 'd': 1}] | | ||
| 11 | 9 | [{'y': 11, 'd': 0}, {'y': 10, 'd': 1}, {'y': 9, 'd': 1}] | | ||
+--------+-----------+--------------------------------------------------------------------------------------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.