Thank you for your valuable work!
About Equivalence
Could you explain how LLM-R2 ensures that the rewritten SQL is equivalent to the original SQL? We have observed that Calcite sometimes produces non-equivalent outcomes for MySQL. I am unfamiliar with its performance on PostgreSQL.
About rewritten results
LLM-R2 shows impressive improvements on TPCH, IMDB, and DSB benchmarks, yet the rewritten SQLs seem absent from the repository. Could you please upload the rewritten SQLs for the TPCH benchmarks? Your assistance would be highly appreciated.