make_stub_package

Macro make_stub_package 

Source
macro_rules! make_stub_package {
    ($name:ident, $feature:literal) => { ... };
}
Expand description

Macro creates a sub module if the feature is not enabled

The rationale for providing stub functions is to help users to configure datafusion properly (so they get an error telling them why a function is not available) instead of getting a cryptic “no function found” message at runtime.