pub(crate) fn info_input(
stmt: &EvalStmt,
args: &[Box<Expr>],
) -> Result<InfoInput>Expand description
Splits the arguments of info into the selector of its info series and the kernel’s selector.
The compiler binds the selector as the call’s last input and the planner prepares a scan for it
at the same position, so both read it here. One info metric is one table, so the name has to be
target_info (no name matcher) or one __name__="...": a regular expression or a negative
matcher can select several tables. __field__, __schema__ and __database__ choose what a
selector reads rather than match a label, which Prometheus would read them as, so they are
refused too.