datafusion_common::utils

Function quote_identifier

Source
pub fn quote_identifier(s: &str) -> Cow<'_, str>
Expand description

Wraps identifier string in double quotes, escaping any double quotes in the identifier by replacing it with two double quotes

e.g. identifier tab.le"name becomes "tab.le""name"