chore: rename (#660)
parent
d4ac68d9f5
commit
99605b27d7
|
@ -1730,7 +1730,7 @@ mod tests {
|
|||
.expect("Created field_columns plan successfully");
|
||||
|
||||
let fieldlists = executor
|
||||
.to_fieldlist(plan)
|
||||
.to_field_list(plan)
|
||||
.await
|
||||
.expect("Running fieldlist plan");
|
||||
assert!(fieldlists.fields.is_empty());
|
||||
|
@ -1747,7 +1747,7 @@ mod tests {
|
|||
.expect("Created field_columns plan successfully");
|
||||
|
||||
let actual = executor
|
||||
.to_fieldlist(plan)
|
||||
.to_field_list(plan)
|
||||
.await
|
||||
.expect("Running fieldlist plan");
|
||||
|
||||
|
@ -1811,7 +1811,7 @@ mod tests {
|
|||
.expect("Created field_columns plan successfully");
|
||||
|
||||
let actual = executor
|
||||
.to_fieldlist(plan)
|
||||
.to_field_list(plan)
|
||||
.await
|
||||
.expect("Running fieldlist plan");
|
||||
|
||||
|
|
|
@ -253,7 +253,7 @@ impl Executor {
|
|||
}
|
||||
|
||||
/// Executes the embedded plans, each as separate tasks, sending
|
||||
/// the resulting `SeriesSet`s one by one to the `tx` chanel.
|
||||
/// the resulting `SeriesSet`s one by one to the `tx` channel.
|
||||
///
|
||||
/// The SeriesSets are guaranteed to come back ordered by table_name
|
||||
///
|
||||
|
@ -344,7 +344,7 @@ impl Executor {
|
|||
}
|
||||
|
||||
/// Executes `plan` and return the resulting FieldList
|
||||
pub async fn to_fieldlist(&self, plan: FieldListPlan) -> Result<FieldList> {
|
||||
pub async fn to_field_list(&self, plan: FieldListPlan) -> Result<FieldList> {
|
||||
match plan {
|
||||
FieldListPlan::Known(res) => res,
|
||||
FieldListPlan::Plans(plans) => {
|
||||
|
|
|
@ -1120,7 +1120,7 @@ where
|
|||
|
||||
let executor = db_store.executor();
|
||||
|
||||
let fieldlist_plan =
|
||||
let field_list_plan =
|
||||
db.field_column_names(predicate)
|
||||
.await
|
||||
.map_err(|e| Error::ListingFields {
|
||||
|
@ -1128,16 +1128,16 @@ where
|
|||
source: Box::new(e),
|
||||
})?;
|
||||
|
||||
let fieldlist =
|
||||
let field_list =
|
||||
executor
|
||||
.to_fieldlist(fieldlist_plan)
|
||||
.to_field_list(field_list_plan)
|
||||
.await
|
||||
.map_err(|e| Error::ListingFields {
|
||||
db_name: db_name.to_string(),
|
||||
source: Box::new(e),
|
||||
})?;
|
||||
|
||||
Ok(fieldlist)
|
||||
Ok(field_list)
|
||||
}
|
||||
|
||||
/// Instantiate a server listening on the specified address
|
||||
|
|
Loading…
Reference in New Issue