Hi Jeremy, Could you please share the use case behind this requirement? In the general case, it is not possible to link RelNode's attributes to specific identifiers. For this reason, an attempt to extract such identifier from any "rel" except for the RelRoot might indicate a design issue.
Regards, Vladimir. вт, 21 дек. 2021 г. в 20:34, Jeremy Dyer <[email protected]>: > Hello, > > Is it possible to get the original SQL identifier from an instance of > RexInputRef? For example given a simple query like > > SELECT id FROM employees WHERE fname = 'adam' > > Instead of the ordinal name generated by RexInputRef ($11, for example). I > would like to find the original SQL identifier (fname, for example) > > Thanks, > Jeremy Dyer >
