Commit 5e32ada
authored
Add foreign table providers (#921)
* testing FFI for table provider
* Was able to get round trip schema from datafusion -> delta table -> datafusion
* Expand file structure
* WIP on execution plan
* Working through execution plan FFI
* Using datafusion-proto for execution plan properties
* Adding plan properties parsing from ffi
* Standardize naming for FFI structs
* Intermediate testing and troubleshooting
* Adding record batch stream ffi representation
* Mimimum viable product demonstrating foreign table provider
* Move ffi module to datafusion core
* Modifications need to compile against latest DF
* Set DF to 42.0.0
* Rebasing and pulling in a few changes for DF43.0
* Add wrapper for register table provider
* Suppress deprecation warning
* Add example for FFI table provider
* Add pytest for FFI module to CI
* Add license text
* Change the name of the FFI table provider test so it doesn't try to run during the first pass of pytest when the module hasn't been built
* Build example in build stage to be used during test stage
* Combine pytests into one stage
* Fix path for unit test
* Installing maturin for ffi test in test script
* Need to install the wheel for unit test
* Add online documentation about using custom table providers
* Raise an error if method is not implemented when it is expected1 parent 53cdb11 commit 5e32ada
File tree
16 files changed
+4078
-89
lines changed- .github/workflows
- docs/source/user-guide/io
- examples/ffi-table-provider
- .cargo
- python/tests
- src
- python
- datafusion
- tests
- src
16 files changed
+4078
-89
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
160 | 162 | | |
161 | 163 | | |
162 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
113 | 122 | | |
114 | 123 | | |
115 | 124 | | |
| |||
0 commit comments