我正在尝试你创建一个表,但不幸的是我收到了一个错误。 这是我正在运行的查询:
CREATE TABLE UpStreamParam (
macaddress CHAR(20),
datats BIGINT,
cmtstimestamp BIGINT,
modulation INT,
chnlidx INT,
severity BIGINT,
rxpower FLOAT,
sigqnoise FLOAT,
noisedeviation FLOAT,
prefecber FLOAT,
uncorrectables BIGINT)
STORED AS ORC tblproperties ("orc.compress"="SNAPPY", "orc.bloom.filter.columns"="macaddress")
LOCATION '/usr/hive/warehouse/UpStreamParam'
PARTITIONED BY(cmtsid CHAR(50), date int);
这是我得到的错误
ERROR: syntax error at or near "STORED"
LINE 21: STORED AS ORC tblproperties ("orc.compress"="SNAPPY", "orc.b...
知道怎么解决吗?
我的版本是8.4.20