The sqlparse.format() function with strip comments=True incorrectly strips SQL optimizer hints along with…
The sqlparse.format() function with strip comments=True incorrectly strips SQL optimizer hints along with…: a task in repo2rlenv-swe-gen (Harbor dataset). Actual behavior: All of the above hint-containing comments are removed when strip comments=True , breaking queries that rely on optimizer hints.
Part of FineEnvs/repo2rlenv-swe-gen.