We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f2341c commit ecbc9afCopy full SHA for ecbc9af
src/config_extension_ext.rs
@@ -162,10 +162,11 @@ impl ConfigExtensionExt for SessionConfig {
162
let mut found_some = false;
163
for (k, v) in flight_metadata.0.iter() {
164
let key = k.as_str().trim_start_matches(FLIGHT_METADATA_CONFIG_PREFIX);
165
- if key.starts_with(T::PREFIX) {
+ let prefix = format!("{}.", T::PREFIX);
166
+ if key.starts_with(&prefix) {
167
found_some = true;
168
result.set(
- &key.trim_start_matches(T::PREFIX).trim_start_matches("."),
169
+ &key.trim_start_matches(&prefix),
170
v.to_str().map_err(|err| {
171
internal_datafusion_err!("Cannot parse header value: {err}")
172
})?,
0 commit comments