Repository navigation
Commit 22cfe08
fix(client): Client.bind accepts secrets and at_unit/at_value
bind() hard-coded secrets=None and had no time-travel parameters, though
_make_bind_request supports all three and table_function passes them. A
caller discovering a function's output schema could therefore not bind a
secret-backed function, nor see a versioned table's historical schema.
bind() now takes secrets, at_unit and at_value and forwards them.
Found by vgi-polars (time-travel scans skipped filter pushdown when the
live bind's schema differed from the versioned one).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent f12422e commit 22cfe08
2 files changed
Lines changed: 46 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2757 | 2757 | | |
2758 | 2758 | | |
2759 | 2759 | | |
| 2760 | + | |
2760 | 2761 | | |
| 2762 | + | |
| 2763 | + | |
2761 | 2764 | | |
2762 | 2765 | | |
2763 | 2766 | | |
| |||
2789 | 2792 | | |
2790 | 2793 | | |
2791 | 2794 | | |
| 2795 | + | |
| 2796 | + | |
| 2797 | + | |
2792 | 2798 | | |
2793 | 2799 | | |
| 2800 | + | |
| 2801 | + | |
| 2802 | + | |
| 2803 | + | |
| 2804 | + | |
2794 | 2805 | | |
2795 | 2806 | | |
2796 | 2807 | | |
| |||
2814 | 2825 | | |
2815 | 2826 | | |
2816 | 2827 | | |
2817 | | - | |
| 2828 | + | |
2818 | 2829 | | |
| 2830 | + | |
| 2831 | + | |
2819 | 2832 | | |
2820 | 2833 | | |
2821 | 2834 | | |
| |||
0 commit comments