Issue #22283:use metasql