Sign in
apache
/
hive
/
6b095edc31a9baa0ae805e2b5aea88101284d84b
/
.
/
ql
/
src
/
test
/
queries
/
clientpositive
/
compute_stats_boolean.q
blob: cddb53f8f64f50e5988085ad22e9f86de441bb56 [
file
] [
log
] [
blame
]
create table tab_bool
(
a
boolean
);
--
insert some data
LOAD DATA LOCAL INPATH
"../../data/files/bool.txt"
INTO TABLE tab_bool
;
select
count
(*)
from
tab_bool
;
--
compute statistical summary of data
select
compute_stats
(
a
,
16
)
from
tab_bool
;