Why extension changes to .gzip or .snappy on text file format using --compress but not with avro or any other format

sqoop
compression

#1

on compressing --as-textfile using --compress changes extension to .gzip
but when using --as-avrodatafile or any other file format extension of hdfs files remains as .avro and not converted to .gzip on compression


#2

@ArnavSood Can you share the command what you have tried?