osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (CALCITE-2685) Bridge cases in which Calcite's type resolution is more stricter than Hive.


Zoltan Haindrich created CALCITE-2685:
-----------------------------------------

             Summary: Bridge cases in which Calcite's type resolution is more stricter than Hive.
                 Key: CALCITE-2685
                 URL: https://issues.apache.org/jira/browse/CALCITE-2685
             Project: Calcite
          Issue Type: Bug
            Reporter: Zoltan Haindrich
            Assignee: Zoltan Haindrich


Calcite is more stricter w.r.t common types than Hive.

For example in case a CASE with different types on the branches is not something Calcite likes:
{code}
CASE
  WHEN cond1 THEN booleanCol
  WHEN cond2 THEN stringCol
  WHEN cond3 THEN floatCol
  ELSE doubleCol
END
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)