Re: Expression push down from Join Node to below node.

2025-05-22 Thread Andy Fan
Shubhankar Anand Kulkarni writes: Hi, > SELECT sensitive_data1, column1 FROM benchmark_encytion AS t1 LEFT JOIN ( > SELECT aes256_cbc_decrypt( c1, '\x1234' :: > bytea, '\x5678' :: bytea ) AS column1 FROM cipher ) AS t2 ON > t1.sensitive_data1 = t2.column1; > > As you can see in the above Que

Expression push down from Join Node to below node.

2025-05-22 Thread Shubhankar Anand Kulkarni
Hi Hackers,   While dealing with a few queries, I noticed that when the join expression (join clause) is used in projection as well, the expression will be computed twice. For a better understanding, please take reference from the following example: SELECT sensitive_data1, column1 FROM benchmark