Skip to content
Advertisement

impala how to create view from temp table?

I would like to create a view based on multiple temporary tables, I tried:

ParseException: Syntax error in line 21:undefined: CREATE VIEW myotherdb…. ^ Encountered: CREATE Expected: INSERT, SELECT, UPSERT, VALUES, COMMA CAUSED BY: Exception: Syntax error

I can rule out permission errors as this works:

There must be some peculiar syntax that I missing when using temporary tables.

Advertisement

Answer

This one probably should work:

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