@@ -58,20 +58,22 @@ visibility = "0.1.1"
58
58
59
59
# Used in the sync engine
60
60
tempfile = { version = " 3" , optional = true }
61
+
62
+ # Arrow supported versions
63
+ # # 53
61
64
# Used in default engine
62
- arrow-buffer = { workspace = true , optional = true }
63
- arrow-array = { workspace = true , optional = true , features = [" chrono-tz" ] }
64
- arrow-select = { workspace = true , optional = true }
65
- arrow-arith = { workspace = true , optional = true }
66
- arrow-cast = { workspace = true , optional = true }
67
- arrow-json = { workspace = true , optional = true }
68
- arrow-ord = { workspace = true , optional = true }
69
- arrow-schema = { workspace = true , optional = true }
65
+ arrow_53 = { package = " arrow" , version = " 53" , features = [" chrono-tz" , " ffi" , " json" , " prettyprint" ], optional = true }
66
+ # Used in default and sync engine
67
+ parquet_53 = { package = " parquet" , version = " 53" , features = [" async" , " object_store" ] , optional = true }
68
+ # #####
69
+ # # 54
70
+ arrow_54 = { package = " arrow" , version = " 54" , features = [" chrono-tz" , " ffi" , " json" , " prettyprint" ], optional = true }
71
+ parquet_54 = { package = " parquet" , version = " 54" , features = [" async" , " object_store" ] , optional = true }
72
+ # #####
73
+
70
74
futures = { version = " 0.3" , optional = true }
71
75
object_store = { workspace = true , optional = true }
72
76
hdfs-native-object-store = { workspace = true , optional = true }
73
- # Used in default and sync engine
74
- parquet = { workspace = true , optional = true }
75
77
# Used for fetching direct urls (like pre-signed urls)
76
78
reqwest = { version = " 0.12.8" , default-features = false , optional = true }
77
79
strum = { version = " 0.26" , features = [" derive" ] }
@@ -85,14 +87,16 @@ hdfs-native = { workspace = true, optional = true }
85
87
walkdir = { workspace = true , optional = true }
86
88
87
89
[features ]
88
- arrow-conversion = [" arrow-schema" ]
89
- arrow-expression = [
90
- " arrow-arith" ,
91
- " arrow-array" ,
92
- " arrow-buffer" ,
93
- " arrow-ord" ,
94
- " arrow-schema" ,
95
- ]
90
+ # The default version to be expected
91
+ arrow = [" arrow_53" ]
92
+
93
+ arrow_53 = [" dep:arrow_53" , " dep:parquet_53" ]
94
+
95
+ arrow_54 = [" dep:arrow_54" , " dep:parquet_54" ]
96
+
97
+ arrow-conversion = []
98
+ arrow-expression = []
99
+
96
100
cloud = [
97
101
" object_store/aws" ,
98
102
" object_store/azure" ,
@@ -107,16 +111,8 @@ default = []
107
111
default-engine-base = [
108
112
" arrow-conversion" ,
109
113
" arrow-expression" ,
110
- " arrow-array" ,
111
- " arrow-buffer" ,
112
- " arrow-cast" ,
113
- " arrow-json" ,
114
- " arrow-schema" ,
115
- " arrow-select" ,
116
114
" futures" ,
117
115
" object_store" ,
118
- " parquet/async" ,
119
- " parquet/object_store" ,
120
116
" tokio" ,
121
117
" uuid/v4" ,
122
118
" uuid/fast-rng" ,
@@ -134,13 +130,6 @@ default-engine-rustls = [
134
130
135
131
developer-visibility = []
136
132
sync-engine = [
137
- " arrow-cast" ,
138
- " arrow-conversion" ,
139
- " arrow-expression" ,
140
- " arrow-array" ,
141
- " arrow-json" ,
142
- " arrow-select" ,
143
- " parquet" ,
144
133
" tempfile" ,
145
134
]
146
135
integration-test = [
@@ -156,8 +145,7 @@ version = "=0.5.9"
156
145
rustc_version = " 0.4.1"
157
146
158
147
[dev-dependencies ]
159
- arrow = { workspace = true , features = [" json" , " prettyprint" ] }
160
- delta_kernel = { path = " ." , features = [" default-engine" , " sync-engine" ] }
148
+ delta_kernel = { path = " ." , features = [" arrow" , " default-engine" , " sync-engine" ] }
161
149
test_utils = { path = " ../test-utils" }
162
150
paste = " 1.0"
163
151
test-log = { version = " 0.2" , default-features = false , features = [" trace" ] }
0 commit comments