0

I was running the following query against the public dataset github_nested, and I got an error: "Unexpected. Please try again"

SELECT IF(payload.pages.action < 'a', 3, -3) test
FROM FLATTEN([publicdata:samples.github_nested], payload.pages)

But when I changed less than to greater than, i.e.,

SELECT IF(payload.pages.action > 'a', 3, -3) test
FROM FLATTEN([publicdata:samples.github_nested], payload.pages)

It returned me something.

What's wrong here?

Randy
  • 23
  • 4

1 Answers1

0

Looks like a bug. I've reported it internally, and we'll see if we can get it resolved. Thanks for the report!

Jeremy Condit
  • 6,766
  • 1
  • 28
  • 30