Well, i can do the following without errors
1> SELECT * from (Query)
2> SELECT C0,C1, C2 from (Query)
But, when i try to do a SELECT C0, C1, AVG(C2) OVER (PARTITION BY C0,C1), it fails with Division by zero.
I might be wrong, but from the look of it, it tends to imply that for some reason AVG is causing the error.
May be i should open a ticket with GSC.
Sanjeev
Well, i can do the following without errors
1> SELECT * from (Query)
2> SELECT C0,C1, C2 from (Query)
But, when i try to do a SELECT C0, C1, AVG(C2) OVER (PARTITION BY C0,C1), it fails with Division by zero.
I might be wrong, but from the look of it, it tends to imply that for some reason AVG is causing the error.
May be i should open a ticket with GSC.
Sanjeev