Hi, It would definitely help if you contribute the reproducer.
Have you profiled the case? Could the conversion be tuned? Frankly speaking, it looks like sqltorel cache is not something we would like to add. SQL parsing should be cached at PreparedStatement level or something like that. In other words, if you happen to see the same SqlNode, then you are likely to see the same SQL text. Vladimir
