Merge branch 'main' into dom/track-seq-num

pull/24376/head
Dom 2023-01-09 13:47:40 +00:00 committed by GitHub
commit d666bf6d22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 41 deletions

View File

@ -1,40 +0,0 @@
use async_trait::async_trait;
use data_types::{NamespaceId, TableId};
use observability_deps::tracing::*;
use trace::span::{Span, SpanRecorder};
use super::{QueryError, QueryExec};
use crate::query::response::QueryResponse;
#[derive(Debug)]
pub(crate) struct QueryRunner;
impl QueryRunner {
pub(crate) fn new() -> Self {
Self {}
}
}
#[async_trait]
impl QueryExec for QueryRunner {
type Response = QueryResponse;
async fn query_exec(
&self,
namespace_id: NamespaceId,
table_id: TableId,
columns: Vec<String>,
span: Option<Span>,
) -> Result<Self::Response, QueryError> {
let mut _span_recorder = SpanRecorder::new(span);
info!(
namespace_id=%namespace_id,
table_id=%table_id,
columns=?columns,
"executing query"
);
unimplemented!();
}
}

View File

@ -7,7 +7,7 @@ pub(crate) use r#trait::*;
pub(crate) mod partition_response;
pub(crate) mod response;
pub(crate) mod exec;
// Instrumentation
pub(crate) mod instrumentation;
pub(crate) mod tracing;