在使用impala建kudu表时,如果使用了impala的保留关键字,在查询时,需要对关键字字段加上“符号,所以尽量不要使用的关键字。
例如:
select timestamp from kudu_test; //会报错
select `timestamp` from kudu_test; //正常
impala 保留关键字:
http://impala.apache.org/docs/build3x/html/topics/impala_reserved_words.html
abs
acos
add
aggregate
all
allocate
alter
analytic
and
anti
any
api_version
are
array
array_agg
array_max_cardinality
as
asc
asensitive
asin
asymmetric
at
atan
atomic
authorization
avg
avro
backup
begin
begin_frame
begin_partition
between
bigint
binary
blob
block_size
boolean
both
break
browse
bulk
by
cache
cached
call
called
cardinality
cascade
cascaded
case
cast
ceil
ceiling
change
char
char_length
character
character_length
check
checkpoint
class
classifier
clob
close
close_fn
clustered
coalesce
collate
collect
column
columns
comment
commit
compression
compute
condition
conf
connect
constraint
contains
continue