Skip to content

Commit 8035fce

Browse files
committed
feat: add chdb_arrow_scan, chdb_arrow_array_scan and chdb_arrow_unregister_table C APIs
1 parent f3694d7 commit 8035fce

34 files changed

+1877
-357
lines changed

.github/workflows/build_linux_arm64_wheels-gh.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ jobs:
138138
- name: Run libchdb stub in examples dir
139139
run: |
140140
bash -x ./examples/runStub.sh
141+
- name: Run Arrow functions test in examples dir
142+
run: |
143+
bash -x ./examples/runArrowTest.sh
141144
- name: Check ccache statistics
142145
run: |
143146
ccache -s

.github/workflows/build_linux_x86_wheels.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ jobs:
138138
- name: Run libchdb stub in examples dir
139139
run: |
140140
bash -x ./examples/runStub.sh
141+
- name: Run Arrow functions test in examples dir
142+
run: |
143+
bash -x ./examples/runArrowTest.sh
141144
- name: Check ccache statistics
142145
run: |
143146
ccache -s

.github/workflows/build_macos_arm64_wheels.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ jobs:
140140
- name: Run libchdb stub in examples dir
141141
run: |
142142
bash -x ./examples/runStub.sh
143+
- name: Run Arrow functions test in examples dir
144+
run: |
145+
bash -x ./examples/runArrowTest.sh
143146
- name: Keep killall ccache and wait for ccache to finish
144147
if: always()
145148
run: |

.github/workflows/build_macos_x86_wheels.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ jobs:
141141
- name: Run libchdb stub in examples dir
142142
run: |
143143
bash -x ./examples/runStub.sh
144+
- name: Run Arrow functions test in examples dir
145+
run: |
146+
bash -x ./examples/runArrowTest.sh
144147
- name: Keep killall ccache and wait for ccache to finish
145148
if: always()
146149
run: |

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -416,11 +416,7 @@ chDB automatically converts Python dictionary objects to ClickHouse JSON types f
416416
```
417417
- Columns are converted to `String` if sampling finds non-dictionary values.
418418

419-
2. **Arrow Table**
420-
- `struct` type columns are automatically mapped to JSON columns.
421-
- Nested structures preserve type information.
422-
423-
3. **chdb.PyReader**
419+
2. **chdb.PyReader**
424420
- Implement custom schema mapping in `get_schema()`:
425421
```python
426422
def get_schema(self):

0 commit comments

Comments
 (0)