0

i'm copy/pasting a tutorial and trying to understand what's going on behind it, this one looked fairly straight forward, but for some reason it doesn't work. It seems to take issue with the closing parenthesis around the column name when doing a Partitioned By. I've tried removing the brackets, restructuring the query, checking there are no weird characters in notepad++, etc. What's gone wrong here?

Screenshot showing the error

1 Answer 1

3

Missing a USING clause, e.g.

CREATE TABLE rectangles
  USING PARQUET
  PARTITIONED BY (width)
  CLUSTERED BY (length) INTO 8 buckets
  AS SELECT * FROM boxes
Sign up to request clarification or add additional context in comments.

3 Comments

Aha! Reading the docs, i thought this was optional. This fixes it, thanks a lot!
NP, can happen to the best of us
I am in Corona time also certifying, I noted a whole lot of errors in the courses, some basics as well. @AlexOtt

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.