Helper function for compressing to a parquet file

.compress_table(table, file)

## Arguments

table the table to write to file the name of the file (without extension)

## Value

the extension of the file