Skip to content

Commit

Permalink
feat(query) cnosdb#539: support convert filter expr to domains for Ta…
Browse files Browse the repository at this point in the history
…bleScan
  • Loading branch information
yukkit authored and roseboy-liu committed Aug 22, 2022
1 parent a007aed commit 5083f19
Show file tree
Hide file tree
Showing 8 changed files with 2,274 additions and 32 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/.idea/
/.vscode/
/dev/
/query/dev

# Cargo
**/target
Expand Down
7 changes: 7 additions & 0 deletions models/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,11 @@ pub enum Error {

#[snafu(display("Invalid serde message: {}", err))]
InvalidSerdeMessage { err: String },

#[snafu(display(
"Internal error: {}. This was likely caused by a bug in Cnosdb's \
code and we would welcome that you file an bug report in our issue tracker",
err
))]
Internal { err: String },
}
2 changes: 1 addition & 1 deletion models/src/field_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use crate::{

const FIELD_NAME_MAX_LEN: usize = 512;

#[derive(Serialize, Deserialize, Debug, PartialEq, Copy, Clone)]
#[derive(Serialize, Deserialize, Debug, PartialEq, Copy, Clone, Eq, Hash)]
pub enum ValueType {
Unknown,
Float,
Expand Down
Loading

0 comments on commit 5083f19

Please sign in to comment.