Repository navigation
Commit 6d4859f
authored
feat: add execute_sql_cached binding to CachingReader (#14)
* feat: add execute_sql_cached binding to CachingReader
Exposes the Rust CachingReader's compute surface (execute_sql_cached,
present since ggsql 0.5.2) to Python.
Setup statements that ggsql's derived SQL depends on must run on the
private cache connection where that SQL executes — e.g. INSTALL/LOAD of
DuckDB extensions such as spatial. Routing them through execute_sql
sends them to the primary instead, where locked-down connections reject
them and they take no effect on the cache.
This is needed by querychat's opt-in "maps" capability to prewarm the
DuckDB spatial extension on the compute surface
(posit-dev/querychat#323).
* docs: changelog entry for CachingReader.execute_sql_cached
* docs: reorder changelog entries1 parent c14eb16 commit 6d4859f
3 files changed
Lines changed: 46 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
744 | 771 | | |
745 | 772 | | |
746 | 773 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1062 | 1062 | | |
1063 | 1063 | | |
1064 | 1064 | | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
1065 | 1083 | | |
1066 | 1084 | | |
1067 | 1085 | | |
| |||
0 commit comments