Skip to main content

Module const_normalization

Module const_normalization 

Source

Structsยง

ConstNormalizationRewriter ๐Ÿ”’
ConstNormalizationRule
ConstNormalizationRule rewrites castable constants against their non-constant comparison operand ahead of filter pushdown.
NormalizationTarget ๐Ÿ”’

Enumsยง

CastInputKind ๐Ÿ”’
NormalizationKind ๐Ÿ”’
PatternMatchKind ๐Ÿ”’

Functionsยง

classify_normalization_kind ๐Ÿ”’
extract_cast_input ๐Ÿ”’
Returns the input expression and target type for CAST and TRY_CAST expressions.
extract_constant_scalar ๐Ÿ”’
Extracts a literal scalar from an expression, folding constant CAST and TRY_CAST nodes.
extract_constant_scalars ๐Ÿ”’
extract_normalization_target ๐Ÿ”’
Returns the non-constant side we should normalize against.
extract_rewrite_operands ๐Ÿ”’
finer_to_coarser_ratio ๐Ÿ”’
Returns the number of source-unit ticks in one target-unit tick for finer-to-coarser casts.
is_lossless_cast ๐Ÿ”’
Returns whether every value of source_type is representable in target_type.
lower_bound_for_ge ๐Ÿ”’
Returns the smallest source-unit timestamp whose downcast is greater than or equal to target_value.
rewrite_between_expr ๐Ÿ”’
rewrite_binary_expr ๐Ÿ”’
rewrite_binary_side ๐Ÿ”’
rewrite_expr_node ๐Ÿ”’
rewrite_in_list_expr ๐Ÿ”’
rewrite_like_expr ๐Ÿ”’
rewrite_plan_exprs ๐Ÿ”’
time_unit_rank ๐Ÿ”’
time_unit_scale ๐Ÿ”’
timestamp_scalar ๐Ÿ”’
timestamp_scalar_value ๐Ÿ”’