s[3] /* literal */);
> /* 067 */ continue;
> /* 068 */ }
> /* 069 */
> /* 070 */ project_caseWhenResultState_0 = (byte)(false ? 1 : 0);
> /* 071 */ project_mutableStateArray_0[0] = ((UTF8String)
> references[4] /* literal */);
> /* 072 */
>
Yeikel
Sent: Wednesday, April 15, 2020 2:22
To: user@spark.apache.org
Subject: Re: How does spark sql evaluate case statements?
I do not know the answer to this question so I am also looking for it, but
@kant maybe the generated code can help with this.
--
Sent fro
I do not know the answer to this question so I am also looking for it, but
@kant maybe the generated code can help with this.
--
Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/
-
To unsubscribe e-mail:
Hi All,
I have the following query and I was wondering if spark sql evaluates the
same condition twice in the case statement below? I did .explain(true) and
all I get is a table scan so not sure if spark sql evaluates the same
condition twice? if it does, is there a way to return multiple values