Commit 1809824
feat: Set ffi_safe flag conditionally for native_iceberg_compat scans
For native_iceberg_compat scans that have no partition columns and no
missing columns, set arrow_ffi_safe=true on the Scan protobuf. In this
case all Arrow arrays come from parquet file data with non-reused
buffers, so a cheap clone suffices instead of a deep copy on the native
side.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent aa5afd6 commit 1809824
1 file changed
Lines changed: 24 additions & 0 deletions
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1904 | 1904 | | |
1905 | 1905 | | |
1906 | 1906 | | |
| 1907 | + | |
| 1908 | + | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
1907 | 1931 | | |
1908 | 1932 | | |
1909 | 1933 | | |
| |||
0 commit comments