Commit e4a5ce2
committed
Add typed Protocols for FFI capsule exports (part of #1577)
Adds TableFunctionExportable, ExtensionOptionsExportable, and
TaskContextProviderExportable Protocol classes describing the
PyCapsule dunder methods DataFusion's Rust side already expects,
following the existing TableProviderExportable pattern. No runtime
behavior changes.1 parent cc2ec5c commit e4a5ce2
2 files changed
Lines changed: 41 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
148 | 171 | | |
149 | 172 | | |
150 | 173 | | |
| |||
337 | 360 | | |
338 | 361 | | |
339 | 362 | | |
340 | | - | |
| 363 | + | |
341 | 364 | | |
342 | 365 | | |
343 | 366 | | |
344 | 367 | | |
345 | | - | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
346 | 371 | | |
347 | 372 | | |
348 | 373 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1121 | 1121 | | |
1122 | 1122 | | |
1123 | 1123 | | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
1124 | 1133 | | |
1125 | 1134 | | |
1126 | 1135 | | |
| |||
1131 | 1140 | | |
1132 | 1141 | | |
1133 | 1142 | | |
1134 | | - | |
| 1143 | + | |
1135 | 1144 | | |
1136 | 1145 | | |
1137 | 1146 | | |
| |||
1190 | 1199 | | |
1191 | 1200 | | |
1192 | 1201 | | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
1193 | 1206 | | |
1194 | 1207 | | |
1195 | 1208 | | |
| |||
0 commit comments