Member since
11-17-2017
3
Posts
0
Kudos Received
0
Solutions
11-17-2017
04:15 AM
Hi All,
Can anybudy help me in the below.
While creating kudu table i am facing below syntax problem
i am currently using impala version:impalad version 2.3.0-cdh5.5.1 RELEASE
> CREATE TABLE foo1 ( > id INT PRIMARY KEY, > col1 STRING, > col2 STRING > ) > PARTITION BY HASH(id) PARTITIONS 3 > STORED AS KUDU; Query: create TABLE foo1 ( id INT PRIMARY KEY, col1 STRING, col2 STRING ) PARTITION BY HASH(id) PARTITIONS 3 STORED AS KUDU ERROR: AnalysisException: Syntax error in line 2: id INT PRIMARY KEY, ^ Encountered: IDENTIFIER Expected: COMMENT, INTERMEDIATE, LOCATION, COMMA
CAUSED BY: Exception: Syntax error
... View more
Labels:
- Labels:
-
Apache Impala
-
Apache Kudu