Re: Is it posible to change synthetic input names ($0, $1, etc) in explain plans?

2024-05-01 Thread Gonzalo Ortiz Jaureguizar
Thanks for your fast response. I've created https://issues.apache.org/jira/browse/CALCITE-6394 to discuss about that.

Re: Is it posible to change synthetic input names ($0, $1, etc) in explain plans?

2024-04-30 Thread Julian Hyde
Gonzalo, I think the implementation is fairly straightforward. You’d write a new implementation of RelWriter. But, as Alessandro says, the specification is the hard part. What *exactly* would you want instead of $0? (Those fields have names, and most of the time they are the same as the user

Re: Is it posible to change synthetic input names ($0, $1, etc) in explain plans?

2024-04-30 Thread Alessandro Solimando
Hi Gonzalo, what would you expect when $i points to a complex expression from the input relation(s)? It's easier to brainstorm around a concrete running example, would you have one to share? (existing vs sought behavior) Best regards, Alessandro On Tue, 30 Apr 2024 at 12:39, Gonzalo Ortiz

Is it posible to change synthetic input names ($0, $1, etc) in explain plans?

2024-04-30 Thread Gonzalo Ortiz Jaureguizar
Hi community, I'm trying to improve explain plans in Apache Pinot and one of the main complaints of our customers is how difficult it is to read the explain plans having to transform the synthetic input names into the corresponding logical field. Is there a way to improve that? Ideally these