Beeline command to extract in fixed width .dat format

114 Views Asked by At

I have a hive/hadoop table loaded as below with 3 columns, name (10 bytes), age (3 bytes) and marks (5 bytes).

enter image description here

What could be the beeline command to extract this data into a fixed width .dat file as below ? or is there ay other way to achieve this ?

enter image description here

0

There are 0 best solutions below