fn show_warnings(session: &SessionRef) -> RecordBatches
Build SHOW WARNINGS result from session’s warnings