kosiew commented on code in PR #17021: URL: https://github.com/apache/datafusion/pull/17021#discussion_r2290666767
########## datafusion-cli/src/command.rs: ########## @@ -206,11 +240,30 @@ impl FromStr for Command { Self::OutputFormat(Some(subcommand.to_string())) } ("pset", None) => Self::OutputFormat(None), + ("memory_profiling", sub) => { + let sub = match sub { + Some(s) => Some(s.parse::<MemoryProfilingCommand>().map_err(|_| ())?), + None => None, + }; + Self::MemoryProfiling(sub) + } _ => return Err(()), }) } } +impl FromStr for MemoryProfilingCommand { Review Comment: Removed -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org