Skip to content
Advertisement

Ignite: Failed to run reduce query locally

Ignite version:2.7.0

Here are the expressions I use:

I got such a mistake:

I tried the same SQL in other databases, such as MySQL, and it worked.

In Oracle, I must add A1 in GROUP BY clause.

Then, I tried to add GROUP BY clause to SQL.Oracle can execute, but Ignite still returns the same error.

Actually, I don’t know what the mistake is.

Advertisement

Answer

It doesn’t seem to like the SUM inside the CASE statement. This works, though:

I’m not familiar with the SQL spec so I’m not sure whether this is a bug, though clearly it could do with better error messages.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement