You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
It is interesting to know that Calcite's rewrite tool may produce non-equivalent outcomes for MySQL. We did not perform any experiments on MySQL and we would appreciate it if you could share some of such examples. By far in PostgreSQL we assume that Calcite will always provide equivalent rewrites and by far we did not observe any non-equivalent cases. I think this is also true for the Learned Rewrite paper [1].
For rewritten results, you may check out the 'data/data_llmr2/pools' folder. Some of our rewrite examples on all three datasets can be found there.
[1] Zhou et al., A Learned Query Rewrite System using Monte Carlo Tree Search, VLDB 2022
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.
The text was updated successfully, but these errors were encountered: