Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1456 commits
Select commit Hold shift + click to select a range
7f11bc5
Adding more tests, updating extension-ci-tools
Dtenwolde Jan 28, 2025
52d5e6d
Merge branch 'main' into issue/199-segmentation-fault-when-match-used…
Dtenwolde Jan 28, 2025
8ab2538
Add match inside subquery inside cte test
Dtenwolde Jan 28, 2025
f2680d5
Merge pull request #202 from cwida/issue/200-segmentation-fault-on-we…
Dtenwolde Jan 28, 2025
92856fd
Merge pull request #201 from cwida/issue/199-segmentation-fault-when-…
Dtenwolde Jan 28, 2025
7e2c6e1
Improve template bootstraper script
hatamiarash7 Jan 31, 2025
ef8cfd8
Updating availability in readme
Dtenwolde Feb 3, 2025
655dc15
return column ref expression
dentiny Feb 4, 2025
8de232b
Merge with v1.2.0.
Dtenwolde Feb 4, 2025
19208b5
Update grammar
Dtenwolde Feb 4, 2025
033dc3c
Add test for all properties and local_clustering_coefficient.test
Dtenwolde Feb 5, 2025
0abbbf9
Update ready for duckdb v1.2.0
Dtenwolde Feb 5, 2025
e417ca3
Removed unnamed_graphtable and instead use unnamed_subquery to align …
Dtenwolde Feb 5, 2025
a83e8e7
Fix segfault in transform show when stmt.set was null
Dtenwolde Feb 5, 2025
725da98
Updating to duckdb v1.2.0
Dtenwolde Feb 5, 2025
ce2c034
Updating extension-ci-tools for v1.2.0
Dtenwolde Feb 5, 2025
ef2409a
Update yml files for v1.2.0
Dtenwolde Feb 5, 2025
b9b3ac1
Fix csr v function
Dtenwolde Feb 7, 2025
c3e9848
Update e function
Dtenwolde Feb 7, 2025
8a9a7d4
Also fix the w function
Dtenwolde Feb 7, 2025
4fcf915
Update test to not have hardcoded path
Dtenwolde Feb 7, 2025
0245fb4
Merge pull request #207 from cwida/issue/206-segmentation-fault-for-g…
Dtenwolde Feb 7, 2025
9b32b18
Clear the csr to delete after every query as well
Dtenwolde Feb 7, 2025
852d1a0
Mark csr for deletion in bind phase. Since we dont always get into th…
Dtenwolde Feb 7, 2025
bd7cbc7
Merge pull request #106 from hatamiarash7/main
samansmink Feb 11, 2025
aadd10c
fix star expression for edge tables
dentiny Feb 12, 2025
fcd123e
fix test indentation with tab
dentiny Feb 12, 2025
41acd27
Find table across all schemas for v entry
Dtenwolde Feb 14, 2025
4c1e319
Now works for edge table as well
Dtenwolde Feb 14, 2025
1f36012
Remove unused semicolons
vhiairrassary Feb 16, 2025
a8c6896
Merge pull request #108 from vhiairrassary/vhiairrassary/remove-unuse…
samansmink Feb 17, 2025
5510caa
Simplifying catalog and schema logic
Dtenwolde Feb 19, 2025
97a56e0
Merge pull request #101 from NiclasHaderer/niclas/linked-format-files
samansmink Feb 19, 2025
a68e6d1
changed link to new doc in README.md
hpvd Feb 19, 2025
72112ef
Merge pull request #212 from hpvd/main
Dtenwolde Feb 20, 2025
ab89196
Enable all tests
Dtenwolde Feb 20, 2025
f0610a5
Adjust error message and test case to show schema instead of catalog
Dtenwolde Feb 20, 2025
4ea6ccd
Get correct table
Dtenwolde Feb 20, 2025
2061598
Works for vertex tables again
Dtenwolde Feb 20, 2025
eb86252
Fixed issue with ambigious catalog or schema
Dtenwolde Feb 20, 2025
e575daa
Update test results
Dtenwolde Feb 20, 2025
14f25c4
add test for attach on nonexisting schema
Dtenwolde Feb 21, 2025
2c02c17
Improve error handling, binding catalog or schema and writing to __du…
Dtenwolde Feb 21, 2025
3fecd36
Add more test cases
Dtenwolde Feb 21, 2025
dbe4e36
Test with pk-fk and schemas
Dtenwolde Feb 21, 2025
ddc91c4
Add test cases of the issue back in. Fixes #211
Dtenwolde Feb 21, 2025
0d0a449
Add match statements to make sure that goes correct as well
Dtenwolde Feb 21, 2025
1570e88
Bump CI
Dtenwolde Feb 21, 2025
3caf6f7
Bump CI once more
Dtenwolde Feb 21, 2025
7c64891
Revert to v1.2.0 for extension-ci-tools
Dtenwolde Feb 21, 2025
eec8e90
Merge pull request #214 from cwida/issue/211-impossible-to-use-tables…
Dtenwolde Feb 25, 2025
e100fb5
Merge pull request #193 from dentiny/hjiang/fix-star-expression-bind
Dtenwolde Feb 25, 2025
9a7ea31
bump to v1.2.0
samansmink Feb 26, 2025
1d1dd79
Fixes #209. Fix properties not properly being stored and initialized …
Dtenwolde Feb 26, 2025
5bf56f3
Merge pull request #109 from samansmink/bump-to-v1.2.0
samansmink Feb 26, 2025
8d1df15
Merge pull request #215 from cwida/issue/209-property-not-defined-aft…
Dtenwolde Feb 26, 2025
2601add
replace distribution extension yaml
dentiny Mar 1, 2025
2a239de
bump to v1.2.1
samansmink Mar 6, 2025
c87385e
Merge pull request #110 from dentiny/hjiang/replace-distribution-exte…
samansmink Mar 6, 2025
89e78c1
Update description on how to activate the custom-toolchain-script (#1)
arnenator Mar 7, 2025
b2e555e
Remove the custom toolchain setup script (#2)
arnenator Mar 7, 2025
c20f2b3
Remove references to custom toolchain script
arnenator Mar 7, 2025
947eb8d
Updating to v1.2.1
Dtenwolde Mar 7, 2025
f6d2eca
Update extension template vcpkg commit and remaining v1.1.3
Dtenwolde Mar 7, 2025
7468f5d
Fix vcpkg commit to `5e5d0e1cd7785623065e77eff011afdeec1a3574`
carlopi Mar 7, 2025
f991a21
Merge pull request #112 from arnenator/main
samansmink Mar 7, 2025
5035804
Write tests to __TEST_DIR__
Dtenwolde Mar 10, 2025
f473a62
Don't skip edge tables for star expression. If (un)quantified path pa…
Dtenwolde Mar 10, 2025
22f98c3
Merge pull request #221 from cwida/return-all-columns
Dtenwolde Mar 10, 2025
4d5a26c
Merge pull request #111 from samansmink/bump-to-v1.2.1
samansmink Mar 13, 2025
47ad587
Merge pull request #113 from carlopi/patch-1
samansmink Mar 13, 2025
a6e4488
[CI] Remember the truthy value, most important rule of yml
carlopi Mar 13, 2025
4e3219b
Exempt reproduced label to stale bot
Dtenwolde Mar 17, 2025
550b83a
Adding first implementation of create vertex table pragma
Dtenwolde Mar 18, 2025
4e1522c
Fix incorrect query, add test file
Dtenwolde Mar 18, 2025
a4377d2
Add tests
Dtenwolde Mar 21, 2025
ed47279
Merge pull request #223 from cwida/issue/pragma-create-vertex-table
Dtenwolde Mar 24, 2025
ee042ca
Missing parameter for `create_vertex_table` pragma
dbeatty10 Mar 24, 2025
6cf7338
Merge pull request #225 from dbeatty10/issue/224-missing-parameter-name
Dtenwolde Mar 24, 2025
a71fed3
Remove stale bot for now
Dtenwolde Mar 27, 2025
8984242
Merge pull request #227 from Dtenwolde/main
Dtenwolde Mar 27, 2025
f2efaa9
Add extension load info
dentiny Apr 6, 2025
f7e553a
Merge pull request #230 from dentiny/hjiang/extension-load-info
Dtenwolde Apr 7, 2025
519288b
Merge with v1.2.2
Dtenwolde Apr 9, 2025
4b44107
Update extension-ci-tools
Dtenwolde Apr 9, 2025
4076dc6
Point extension-ci-tools to origin main instead of own fork
Dtenwolde Apr 9, 2025
c0e858a
Point yml files to 1.2.2 as well
Dtenwolde Apr 9, 2025
3b23e62
Keep 1.2.1 if 1.2.2 does not exist
Dtenwolde Apr 9, 2025
2acf159
Try setting ci tools version back to v1.2.1
Dtenwolde Apr 9, 2025
97a0c65
Merge pull request #232 from Dtenwolde/main
Dtenwolde Apr 9, 2025
452c651
Add release checker
Dtenwolde Apr 10, 2025
19403bd
Merge branch 'cwida:main' into duckdb-release-bot
Dtenwolde Apr 10, 2025
ccb38c0
Add on push to test
Dtenwolde Apr 10, 2025
5c0fc86
Open issue in cwida/duckpgq-extension rather than fork
Dtenwolde Apr 10, 2025
f720b5e
Use pat token
Dtenwolde Apr 10, 2025
a16feab
Fix headers
Dtenwolde Apr 10, 2025
f036772
Bump
Dtenwolde Apr 10, 2025
a224114
Update logic to avoid duplicate issues
Dtenwolde Apr 10, 2025
24edcb2
Merge pull request #234 from Dtenwolde/duckdb-release-bot
Dtenwolde Apr 10, 2025
2af4ade
Update availability s3
Dtenwolde Apr 10, 2025
f37c04e
Merge pull request #235 from Dtenwolde/update-availability
Dtenwolde Apr 10, 2025
18acccd
Fixes #228. Restore functionality of being able to return entire tabl…
Dtenwolde Apr 15, 2025
4ec7b2d
Fixes #228. Also work with starexpressions
Dtenwolde Apr 15, 2025
3671fb4
Make result of test deterministic
Dtenwolde Apr 16, 2025
cd01626
Add last release file
Dtenwolde Apr 16, 2025
e6f4e99
Merge pull request #239 from Dtenwolde/add-last-release-file
Dtenwolde Apr 16, 2025
6ad171c
Merge pull request #114 from carlopi/fix_concurrency
carlopi Apr 19, 2025
d043eef
bump extension-ci-tools to v1.2.2
c-herrewijn Apr 25, 2025
97cbd64
bump MainDistributionPipeline.yml to v1.2.2
c-herrewijn Apr 28, 2025
fab5488
bump duckdb submodule to v1.2.2
c-herrewijn Apr 28, 2025
5eae047
Remove duckdb issue creator bot
Dtenwolde Apr 28, 2025
750a21d
Merge pull request #117 from c-herrewijn/bump-extension-ci-tools-to-v…
carlopi Apr 28, 2025
86fc512
fix vcpkg-configuration
c-herrewijn Apr 28, 2025
8455ad8
Done setting up the grammar
Dtenwolde Apr 28, 2025
2e2fdf0
Revert parser changes for now
Dtenwolde Apr 30, 2025
244924d
Started on bindreplace for summarize
Dtenwolde Apr 30, 2025
3a17774
Add more stats
Dtenwolde Apr 30, 2025
ded3080
Add isolated node statistics
Dtenwolde Apr 30, 2025
feaf8f8
Add avg, min, max in/out degree
Dtenwolde Apr 30, 2025
efd6069
Add quantile statistics as well
Dtenwolde Apr 30, 2025
65ba6bb
Reorder columns
Dtenwolde Apr 30, 2025
d02902e
Add order by and fix ordering of columns
Dtenwolde May 1, 2025
f1a5148
Add a larger property graph
Dtenwolde May 1, 2025
902da01
Add nullptr check
Dtenwolde May 1, 2025
d017549
Merge pull request #242 from Dtenwolde/duckdb-issue-creator
Dtenwolde May 1, 2025
f4fa81a
Rework to move functions to cte
Dtenwolde May 1, 2025
70035b0
Add todo and remove print
Dtenwolde May 1, 2025
ce46b4f
Add test with single vertex table
Dtenwolde May 1, 2025
3167b95
Point to main duckdb because we reverted parser changes
Dtenwolde May 1, 2025
f0cda51
Code cleanup and format fix
Dtenwolde May 6, 2025
22a1db4
Format fix this one as well
Dtenwolde May 6, 2025
f65f3db
Move to extension-ci-tools provided vcpkg_ports
carlopi May 6, 2025
2b25a5e
Merge pull request #245 from Dtenwolde/issue/243-summarize-property-g…
Dtenwolde May 6, 2025
5a5bbec
Merge pull request #120 from carlopi/extension_ci_tools_provided_ports
samansmink May 6, 2025
6899d11
Remove non-deterministic columns test
Dtenwolde May 6, 2025
22cd0bb
Merge pull request #237 from Dtenwolde/issue/228-in-12x-a-property-mu…
Dtenwolde May 7, 2025
f0e29c1
bump to v1.3.0
samansmink May 22, 2025
3505cd7
fix: Imporve error msg, this error was also thrown when edge tables r…
aszenz May 25, 2025
cb1e548
Merge pull request #122 from samansmink/bump-to-v1.3.0
samansmink May 30, 2025
594e8b4
Add code-quality as workflow
Dtenwolde Jun 11, 2025
c8743a9
Add code quality to extension template
Dtenwolde Jun 11, 2025
4b539e7
Add duckdb and ci-tools version
Dtenwolde Jun 11, 2025
5b5c6f3
Point to branch
Dtenwolde Jun 11, 2025
0de5466
Point to branch
Dtenwolde Jun 11, 2025
0d996cd
Change to workflow-call. Remove enum check
Dtenwolde Jun 11, 2025
608536d
Add extension name
Dtenwolde Jun 11, 2025
cf14192
Add all other variables as well
Dtenwolde Jun 11, 2025
ad5e416
Temp disable this restriction
Dtenwolde Jun 11, 2025
1df98b9
Add override repository
Dtenwolde Jun 11, 2025
12258b8
Revert repo link
Dtenwolde Jun 11, 2025
1b219ef
Make less stuff required
Dtenwolde Jun 11, 2025
e9f4b73
Make less stuff required
Dtenwolde Jun 11, 2025
c0d9ce6
Dont be silent
Dtenwolde Jun 11, 2025
4ca2c03
Checkout ci-tools
Dtenwolde Jun 11, 2025
13a6031
Add debug ls
Dtenwolde Jun 11, 2025
5ffc9ea
debug prints
Dtenwolde Jun 11, 2025
a806774
Debug
Dtenwolde Jun 11, 2025
a4a54a9
Try with ''
Dtenwolde Jun 11, 2025
3c026d3
Without path
Dtenwolde Jun 11, 2025
eeffcc5
Readd ls
Dtenwolde Jun 11, 2025
ba4d98c
Check whats inside extension-ci-tools
Dtenwolde Jun 11, 2025
4a5fd40
Add default ci tools repo
Dtenwolde Jun 11, 2025
b307b7a
Add default ci tools repo
Dtenwolde Jun 11, 2025
3932ce5
Check what's in the current repo
Dtenwolde Jun 11, 2025
d9cc6dd
Try this
Dtenwolde Jun 11, 2025
b511b83
Add override repository
Dtenwolde Jun 11, 2025
4fc14eb
Add some debug statements
Dtenwolde Jun 11, 2025
e57dfbc
Add right path
Dtenwolde Jun 11, 2025
57f5ceb
Add setup for tidy check
Dtenwolde Jun 11, 2025
2dc1263
Remove need for format-check to run
Dtenwolde Jun 11, 2025
9c6eb6a
Remove diff
Dtenwolde Jun 11, 2025
22f1c8c
Remove debug prints for format check
Dtenwolde Jun 11, 2025
c42c193
Make format-fix
Dtenwolde Jun 11, 2025
839ba6b
Remove generate files from main duckdb makefile
Dtenwolde Jun 11, 2025
b7e201f
Add option to either enable or disable format and tidy
Dtenwolde Jun 11, 2025
45c8d9a
Make not required
Dtenwolde Jun 11, 2025
8640597
Remove save cache
Dtenwolde Jun 11, 2025
faae12f
Change dtenwolde to duckdb
Dtenwolde Jun 11, 2025
44b71c6
Double check if this actually disables the workflow
Dtenwolde Jun 11, 2025
116f91b
Should it be here?
Dtenwolde Jun 11, 2025
e8f4960
Should it be here?
Dtenwolde Jun 11, 2025
2ef4de3
Disable both
Dtenwolde Jun 11, 2025
1163e8a
Re-enable both
Dtenwolde Jun 11, 2025
50ed31c
Point to duckdb
Dtenwolde Jun 11, 2025
c4389e0
Skip building vs main
carlopi Jun 11, 2025
8b5b660
bump to v1.3.1
c-herrewijn Jun 18, 2025
24d54a4
Merge with v1.3.0, fix parser errors
Dtenwolde Jun 19, 2025
ca23591
Fix parser error with colon and rework how loading is done to avoid c…
Dtenwolde Jun 19, 2025
f1ab3ce
remove time column
Dtenwolde Jun 19, 2025
f42cef0
Update expected columns
Dtenwolde Jun 19, 2025
25ddefd
Add order by
Dtenwolde Jun 19, 2025
29748bf
Merge pull request #254 from Dtenwolde/merge-v1.3.0
Dtenwolde Jun 20, 2025
65c3e6e
Update duckdb ref
Dtenwolde Jun 20, 2025
2b12186
Merge branch 'main' of github.com:cwida/duckpgq-extension
Dtenwolde Jun 20, 2025
07c9a0d
Merge pull request #128 from c-herrewijn/bump-to-v131
samansmink Jun 20, 2025
0a3abbb
bump to v1.3.2
hmeriann Jul 8, 2025
c7d9ef3
Merge pull request #129 from hmeriann/bump-to-v132
samansmink Jul 9, 2025
b3528ef
Disable build on windows
Dtenwolde Jul 14, 2025
2d9c78d
Merge pull request #258 from Dtenwolde/main
Dtenwolde Jul 15, 2025
376f3d3
Don't disable windows build
Dtenwolde Jul 15, 2025
dafd7e3
Merge pull request #259 from Dtenwolde/disable-windows
Dtenwolde Jul 15, 2025
3cb8763
Update duckdb versions
Dtenwolde Jul 15, 2025
09726c5
Merge pull request #260 from Dtenwolde/disable-windows
Dtenwolde Jul 15, 2025
bc58647
Update workflow version
Dtenwolde Jul 15, 2025
9630586
Point to v1.3.1
Dtenwolde Jul 15, 2025
ba7170d
Merge pull request #262 from Dtenwolde/updatev1.3.1
Dtenwolde Jul 15, 2025
4b36254
Merge pull request #251 from aszenz/chore/improve-constraint-error-msg
Dtenwolde Jul 15, 2025
8d67059
Point to v1.3.2
Dtenwolde Jul 15, 2025
f8cd023
Update with template
Dtenwolde Jul 15, 2025
65e2410
Remove left over from merge
Dtenwolde Jul 15, 2025
adef8ae
Format fix
Dtenwolde Jul 15, 2025
230cd53
Format fix again
Dtenwolde Jul 15, 2025
13f9122
Dont use namespace duckdb
Dtenwolde Jul 15, 2025
bc4f199
Format fix and tidy fixes
Dtenwolde Jul 16, 2025
ee17b45
More tidy fixes
Dtenwolde Jul 16, 2025
4fe3679
Format fix
Dtenwolde Jul 16, 2025
176d680
Tidy fixes
Dtenwolde Jul 21, 2025
d50f3fe
More tidyyy
Dtenwolde Jul 21, 2025
abbdb0c
Make functions const
Dtenwolde Jul 21, 2025
1b33051
More fixes
Dtenwolde Jul 21, 2025
08cce05
Tidy fixes
Dtenwolde Jul 21, 2025
57304ef
Tidy checksss
Dtenwolde Jul 22, 2025
a266028
Remove unused include
Dtenwolde Jul 22, 2025
159bd89
Tidy
Dtenwolde Jul 22, 2025
57f2903
Moar tidy checks
Dtenwolde Jul 22, 2025
6799151
Revert std::next change
Dtenwolde Jul 22, 2025
f499252
Final tidy fix surely
Dtenwolde Jul 22, 2025
7577e72
Format fix...update-v1.3.2
Dtenwolde Jul 22, 2025
db6b250
Fix merge with main
Dtenwolde Jul 22, 2025
55df4c3
Format fix
Dtenwolde Jul 22, 2025
942455f
Merge pull request #265 from Dtenwolde/update-v1.3.2
Dtenwolde Jul 22, 2025
9dace1d
Merge with v1.4.0
Dtenwolde Sep 30, 2025
3ff4a62
Update grammar
Dtenwolde Sep 30, 2025
2a60d5a
Builds
Dtenwolde Sep 30, 2025
2479857
Update extension-ci-tools
Dtenwolde Oct 13, 2025
a243176
Update tests basic match
Dtenwolde Oct 13, 2025
b1edaff
Remove comment
Dtenwolde Oct 13, 2025
07230c7
Fix up node being nullptr and changed test results
Dtenwolde Oct 14, 2025
c0bd329
Revert "Remove comment"
Dtenwolde Oct 14, 2025
ab097f0
Merge with v1.4.1
Dtenwolde Oct 14, 2025
9a1cbce
Union nodes now have children. Fix up tests and workflow files
Dtenwolde Oct 14, 2025
a0456e3
Merge pull request #270 from Dtenwolde/main
Dtenwolde Oct 14, 2025
79f1975
Updating set tag script
Dtenwolde Oct 14, 2025
f451844
Invalid workflow fix
Dtenwolde Oct 14, 2025
08a19cd
Merge pull request #271 from Dtenwolde/main
Dtenwolde Oct 14, 2025
f00b6ff
Add a v
Dtenwolde Oct 14, 2025
f27ae41
Merge pull request #272 from Dtenwolde/main
Dtenwolde Oct 14, 2025
5d4dd41
Format fix
Dtenwolde Oct 14, 2025
db304f5
Merge pull request #273 from Dtenwolde/main
Dtenwolde Oct 14, 2025
c874cfc
Add support for prepared statements (issue #75)
nicolas-geysse Jan 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .clang-format
1 change: 1 addition & 0 deletions .clang-tidy
1 change: 1 addition & 0 deletions .editorconfig
122 changes: 122 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
name: Bug report
description: Create a report to help us improve
labels:
- needs triage
body:
- type: markdown
attributes:
value: |
**Disclaimer:** Please note that this is a research project.
While I am committed to improving the project, responses to issues and bug fixes might take longer than expected.
I appreciate your patience and understanding as I work to address issues. Thank you for helping make this project better!


- type: textarea
attributes:
label: What happens?
description: A short, clear and concise description of what the bug is.
validations:
required: true

- type: textarea
attributes:
label: To Reproduce
description: |
Please provide steps to reproduce the behavior, preferably a [minimal reproducible example](https://en.wikipedia.org/wiki/Minimal_reproducible_example). Please adhere the following guidelines:

* Format the code and the output as [code blocks](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks) using triple backticks:

````
```
CODE HERE
```
````
* Add all required imports for scripts, e.g., `import duckdb`, `import pandas as pd`.
* Remove all prompts from the scripts. This include DuckDB's 'D' prompt and Python's `>>>` prompt. Removing these prompts makes reproduction attempts quicker.
* Make sure that the script and its outputs are provided in separate code blocks.
* If applicable, please check whether the issue is reproducible via running plain SQL queries from the DuckDB CLI client.
validations:
required: true

- type: markdown
attributes:
value: "# Environment (please complete the following information):"
- type: input
attributes:
label: "OS:"
placeholder: e.g., iOS
description: Please include operating system version and architecture (e.g., aarch64, x86, x64, etc)
validations:
required: true
- type: input
attributes:
label: "DuckDB Version:"
placeholder: e.g., 22
validations:
required: true
- type: input
attributes:
label: "DuckDB Client:"
placeholder: e.g., Python
validations:
required: true

- type: markdown
attributes:
value: "# Identity Disclosure:"
- type: input
attributes:
label: "Full Name:"
placeholder: e.g., John Doe
validations:
required: true
- type: input
attributes:
label: "Affiliation:"
placeholder: e.g., Acme Corporation
validations:
required: true

- type: markdown
attributes:
value: |
If the above is not given and is not obvious from your GitHub profile page, we might close your issue without further review. Please refer to the [reasoning behind this rule](https://berthub.eu/articles/posts/anonymous-help/) if you have questions.

# Before Submitting:

- type: dropdown
attributes:
label: How did you load the extension?
description: |
Visit [Loading DuckPGQ](https://duckpgq.notion.site/Loading-DuckPGQ-29eda93a97b140e1861614cce1f5498c) and [Building DuckPGQ](https://www.notion.so/duckpgq/Building-DuckPGQ-619783a5af604efbb7c93f09811d996f) for more information.
options:
- Community extension version
- Latest version
- Built from source
validations:
required: true

- type: dropdown
attributes:
label: Did you include all relevant data sets for reproducing the issue?
options:
- "No - Other reason (please specify in the issue body)"
- "No - I cannot share the data sets because they are confidential"
- "No - I cannot easily share my data sets due to their large size"
- "Not applicable - the reproduction does not require a data set"
- "Yes"
default: 0
validations:
required: true

- type: checkboxes
attributes:
label: Did you include all code required to reproduce the issue?
options:
- label: Yes, I have

- type: checkboxes
attributes:
label: Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?
options:
- label: Yes, I have
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
blank_issues_enabled: false
contact_links:
- name: Feature Request
# manual template until discussion templates are GA
url: https://github.com/cwida/duckpgq-extension/discussions/new?category=ideas&title=Feature%20Request:%20...&labels=feature&body=Why%20do%20you%20want%20this%20feature%3F
about: Submit feature requests here
- name: Discussions
url: https://github.com/cwida/duckpgq-extension/discussions
about: Please ask and answer general questions here.
162 changes: 162 additions & 0 deletions .github/workflows/ExtensionTemplate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
#
# NOTE: this workflow is for testing the extension template itself,
# this workflow will be removed when scripts/bootstrap-template.py is run
#
name: Extension Template
on: [push, pull_request,repository_dispatch]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }}
cancel-in-progress: true

jobs:
linux:
name: Linux
if: ${{ vars.RUN_RENAME_TEST == 'true' || github.repository == 'duckdb/extension-template' }}
runs-on: ubuntu-latest
strategy:
matrix:
# Add commits/tags to build against other DuckDB versions
duckdb_version: [ 'v1.4.1' ]
env:
VCPKG_TOOLCHAIN_PATH: ${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake
VCPKG_TARGET_TRIPLET: 'x64-linux'
GEN: ninja
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
defaults:
run:
shell: bash

steps:
- name: Install Ninja
shell: bash
run: sudo apt-get update -y -qq && sudo apt-get install -y -qq ninja-build

- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'true'

- name: Checkout DuckDB to version
if: ${{ matrix.duckdb_version != '<submodule_version>'}}
run: |
cd duckdb
git checkout ${{ matrix.duckdb_version }}

- name: Setup vcpkg
uses: lukka/run-vcpkg@v11.1
with:
vcpkgGitCommitId: 5e5d0e1cd7785623065e77eff011afdeec1a3574

- name: Rename extension
run: |
python3 scripts/bootstrap-template.py ext_1_a_123b_b11

- name: Build
run: |
make

- name: Test
run: |
make test

macos:
name: MacOS
if: ${{ vars.RUN_RENAME_TEST == 'true' || github.repository == 'duckdb/extension-template' }}
runs-on: macos-latest
strategy:
matrix:
# Add commits/tags to build against other DuckDB versions
duckdb_version: [ 'v1.4.1']
env:
VCPKG_TOOLCHAIN_PATH: ${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake
VCPKG_TARGET_TRIPLET: 'x64-osx'
OSX_BUILD_ARCH: 'x86_64'
GEN: ninja
defaults:
run:
shell: bash

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'true'

- name: Install Ninja
run: brew install ninja

- uses: actions/setup-python@v2
with:
python-version: '3.11'

- name: Checkout DuckDB to version
if: ${{ matrix.duckdb_version != '<submodule_version>'}}
run: |
cd duckdb
git checkout ${{ matrix.duckdb_version }}

- name: Setup vcpkg
uses: lukka/run-vcpkg@v11.1
with:
vcpkgGitCommitId: 5e5d0e1cd7785623065e77eff011afdeec1a3574

- name: Rename extension
run: |
python scripts/bootstrap-template.py ext_1_a_123b_b11

- name: Build
run: |
make

- name: Test
run: |
make test

windows:
name: Windows
if: ${{ vars.RUN_RENAME_TEST == 'true' || github.repository == 'duckdb/extension-template' }}
runs-on: windows-latest
strategy:
matrix:
# Add commits/tags to build against other DuckDB versions
duckdb_version: [ '1.4.1' ]
env:
VCPKG_TOOLCHAIN_PATH: ${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake
VCPKG_TARGET_TRIPLET: 'x64-windows-static-md'
defaults:
run:
shell: bash

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'true'

- uses: actions/setup-python@v2
with:
python-version: '3.7'

- name: Checkout DuckDB to version
# Add commits/tags to build against other DuckDB versions
if: ${{ matrix.duckdb_version != '<submodule_version>'}}
run: |
cd duckdb
git checkout ${{ matrix.duckdb_version }}

- name: Setup vcpkg
uses: lukka/run-vcpkg@v11.1
with:
vcpkgGitCommitId: 5e5d0e1cd7785623065e77eff011afdeec1a3574

- name: Rename extension
run: |
python scripts/bootstrap-template.py ext_1_a_123b_b11

- name: Build
run: |
make

- name: Test extension
run: |
build/release/test/Release/unittest.exe
Loading