Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [hostname:21000] > create table pqtest2 (id string) stored as parquet;
- Query: create table pqtest2 (id string) stored as parquet
- Fetched 0 row(s) in 0.17s
- [hostname:21000] > insert into pqtest2 values 'a';
- Query: insert into pqtest2 values 'a'
- ERROR: AnalysisException: Syntax error in line 1:
- insert into pqtest2 values 'a'
- ^
- Encountered: STRING LITERAL
- Expected: (
- CAUSED BY: Exception: Syntax error
- [hostname:21000] > insert into pqtest2 values ('a');
- Query: insert into pqtest2 values ('a')
- Inserted 1 row(s) in 1.31s
- [hostname:21000] > insert into pqtest2 values ('b');
- Query: insert into pqtest2 values ('b')
- Inserted 1 row(s) in 0.22s
- [hostname:21000] > select * from pqtest2;
- Query: select * from pqtest2
- +----+
- | id |
- +----+
- | a |
- | b |
- +----+
- Fetched 2 row(s) in 0.20s
- [hostname:21000] > compute stats pqtest2;
- Query: compute stats pqtest2
- +-----------------------------------------+
- | summary |
- +-----------------------------------------+
- | Updated 1 partition(s) and 1 column(s). |
- +-----------------------------------------+
- Fetched 1 row(s) in 1.21s
- [hostname:21000] > describe pqtest2;
- Query: describe pqtest2
- ERROR: AnalysisException: Failed to load metadata for table: default.pqtest2
- CAUSED BY: TableLoadingException: Failed to load metadata for table: pqtest2
- CAUSED BY: TTransportException: null
- [hostname:21000] > show create table pqtest2;
- Query: show create table pqtest2
- ERROR: AnalysisException: Failed to load metadata for table: default.pqtest2
- CAUSED BY: TableLoadingException: Failed to load metadata for table: pqtest2
- CAUSED BY: TTransportException: null
- [hostname:21000] > drop table pqtest2;
- Query: drop table pqtest2
- ERROR: AnalysisException: Failed to load metadata for table: default.pqtest2
- CAUSED BY: TableLoadingException: Fail
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement