[jira] [Created] (CALCITE-7090) Add RepeatUnion override for RelHomogeneousShuttle

2025-07-08 Thread Ian Bertolacci (Jira)
Ian Bertolacci created CALCITE-7090: --- Summary: Add RepeatUnion override for RelHomogeneousShuttle Key: CALCITE-7090 URL: https://issues.apache.org/jira/browse/CALCITE-7090 Project: Calcite

Re: unparse for NULL with a type

2025-07-08 Thread Mihai Budiu
This is related to https://issues.apache.org/jira/browse/CALCITE-5987 Casts for NULLs are meaningful, they should not be removed in general. Mihai From: Guillaume Masse Sent: Tuesday, July 8, 2025 10:06 AM To: dev@calcite.apache.org Subject: unparse for NULL wit

unparse for NULL with a type

2025-07-08 Thread Guillaume Masse
Hi, I'm having issues unparsing `NULL` with a certain type T. My goal is to have: `CAST(NULL AS T)` when I unparse my RexNode. If I create a null literal with: `rexBuilder.makeNullLiteral(myTypeT)`, `RelToSqlConverter` will simply drop the type and render NULL. If I explicitly create a cast nul

[jira] [Created] (CALCITE-7089) Implement a rule for converting a RIGHT JOIN to a LEFT JOIN

2025-07-08 Thread Zhen Chen (Jira)
Zhen Chen created CALCITE-7089: -- Summary: Implement a rule for converting a RIGHT JOIN to a LEFT JOIN Key: CALCITE-7089 URL: https://issues.apache.org/jira/browse/CALCITE-7089 Project: Calcite