Hi Team,

"store.parquet.block-size" can control the parquet block size in Drill.
When creating a table like this:

ALTER SESSION SET `store.format` = 'parquet';
ALTER SESSION SET `store.parquet.block-size` = 10485760;    --10MB block
size
CREATE TABLE dfs.root.`hao/parquet_tables/parq_10m` AS
(SELECT * FROM hive.`sometable`);

All resulting files are with size 10M(Same as parquet block size).

My question is:
Is there any way to create a parquet file with multiple parquet blocks?

Thanks,
Hao

Reply via email to