Enum mz_sql::query_model::QGMError
source · pub enum QGMError {
UnsupportedHirRelationExpr(UnsupportedHirRelationExpr),
UnsupportedHirScalarExpr(UnsupportedHirScalarExpr),
UnsupportedBoxType(UnsupportedBoxType),
UnsupportedBoxScalarExpr(UnsupportedBoxScalarExpr),
UnsupportedQuantifierType(UnsupportedQuantifierType),
UnsupportedDecorrelation(UnsupportedDecorrelation),
Internal(Internal),
}
Expand description
Errors that can occur while handling a QGM model.
A bunch of the error types exist because our support for HIR ⇒ QGM conversion and QGM ⇒ MIR conversion is currently incomplete. They will be removed once these limitations are addressed.
Variants§
UnsupportedHirRelationExpr(UnsupportedHirRelationExpr)
Indicates HIR ⇒ QGM conversion failure due to unsupported HirRelationExpr
.
UnsupportedHirScalarExpr(UnsupportedHirScalarExpr)
Indicates HIR ⇒ QGM conversion failure due to unsupported HirScalarExpr
.
UnsupportedBoxType(UnsupportedBoxType)
Indicates QGM ⇒ MIR conversion failure due to unsupported box type.
UnsupportedBoxScalarExpr(UnsupportedBoxScalarExpr)
Indicates QGM ⇒ MIR conversion failure due to unsupported scalar expression.
UnsupportedQuantifierType(UnsupportedQuantifierType)
Indicates QGM ⇒ MIR conversion failure due to unsupported quantifier type.
UnsupportedDecorrelation(UnsupportedDecorrelation)
Indicates QGM ⇒ MIR conversion failure due to lack of support for decorrelation.
Internal(Internal)
An unstructured error.
Trait Implementations§
source§impl Error for QGMError
impl Error for QGMError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl RefUnwindSafe for QGMError
impl Send for QGMError
impl Sync for QGMError
impl Unpin for QGMError
impl UnwindSafe for QGMError
Blanket Implementations§
source§impl<T> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
impl<T> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
fn clone_storage(&self) -> Box<dyn CloneDebuggableStorage + 'static, Global>
source§impl<T> CloneableStorage for Twhere
T: Any + Send + Sync + Clone,
impl<T> CloneableStorage for Twhere
T: Any + Send + Sync + Clone,
fn clone_storage(&self) -> Box<dyn CloneableStorage + 'static, Global>
source§impl<T> DisplayExt for Twhere
T: Display,
impl<T> DisplayExt for Twhere
T: Display,
source§fn to_string_alt(&self) -> String
fn to_string_alt(&self) -> String
Formats an object with the “alternative” format (
{:#}
) and returns it.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto
.