Signed-off-by: junxiang Mu <1948535941@qq.com>
This commit is contained in:
junxiang Mu
2025-03-14 03:26:32 +00:00
parent 0b270bf0cc
commit 83e2c8f69f
17 changed files with 105 additions and 53 deletions
+6
View File
@@ -32,6 +32,12 @@ pub enum QueryError {
#[snafu(display("{}", source))]
Parser { source: ParserError },
#[snafu(display("Udf not exists, name:{}.", name))]
FunctionNotExists { name: String },
#[snafu(display("Udf already exists, name:{}.", name))]
FunctionExists { name: String },
}
impl From<DataFusionError> for QueryError {
+1 -1
View File
@@ -79,7 +79,7 @@ impl ObjectStore for EcObjectStore {
let stream = stream::unfold(reader.stream, |mut blob| async move {
match blob.next().await {
Some(Ok(chunk)) => {
let bytes = Bytes::from(chunk);
let bytes = chunk;
Some((Ok(bytes), blob))
}
_ => None,